Websphere 6.1

Hi All
I am trying to integrate IntelliJ (build 5557) with websphere 6.1 on windows xp.
I've been able to define the appserver - the default attaches $/j2ee.jar. I needed to attach bootstrap.jar and many jars from the the websphere plugins lib as well (most significantly com.ibm.ws.runtime_6.1.0.jar)
In addition I also needed to add these jars to the $/plugins/webSphereIntegration/lib.
Then I created a runtime configuration to a local Websphere instance binding the debugger to port 7777.
The application is built using Ant only (since most of the project team use Eclipse which creates some custom websphere binding files which an IntelliJ build overwrites or ignores when creating the Ear file).
When I run the configuration , websphere starts up perfectly and works as expected, but when I startup in debug mode, I get this response in the console

cmd /c C:\Applications\WAS6.1\profiles\AppSrv02\bin\generated_websphere_server_start_script.cmd
Connected to the target VM, address: '127.0.0.1:7777', transport: 'socket'
java.lang.NoClassDefFoundError
at com.intellij.j2ee.webSphere.client.WebSphereClientFactoryImpl.createAdminClient(WebSphereClientFactoryImpl.java:35)
at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereInstanceImpl.refresh(WebSphereInstanceImpl.java:216)
at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereInstanceImpl$3.isReady(WebSphereInstanceImpl.java:133)
at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.ServerRequestingThreadImpl$WaitingOnConditionRequest.run(ServerRequestingThreadImpl.java:148)
at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.ServerRequestingThreadImpl.runRequest(ServerRequestingThreadImpl.java:125)
at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.ServerRequestingThreadImpl.run(ServerRequestingThreadImpl.java:100)

The debug session works ok, but this error still irks. The same problem existed on all previous builds I've tried as well (starting 5321)
Does anyone know where I might get more info on what class it can't find or how to properly configure the websphere plugin.

Regards
terry east

2 comments
Comment actions Permalink

Hello Terry,

IDEA supports only versions 5.1 and 6.0 now, version 6.1 is not supported
yet.
Please file a Jira issue.

Hi All

I am trying to integrate IntelliJ (build 5557) with websphere 6.1 on
windows xp.

I've been able to define the appserver - the default attaches
$/j2ee.jar. I needed to attach bootstrap.jar and many jars
from the the websphere plugins lib as well (most significantly
com.ibm.ws.runtime_6.1.0.jar)

In addition I also needed to add these jars to the
$/plugins/webSphereIntegration/lib.

Then I created a runtime configuration to a local Websphere instance
binding the debugger to port 7777.

The application is built using Ant only (since most of the project
team use Eclipse which creates some custom websphere binding files
which an IntelliJ build overwrites or ignores when creating the Ear
file).

When I run the configuration , websphere starts up perfectly and works
as expected, but when I startup in debug mode, I get this response in
the console

cmd /c
C:\Applications\WAS6.1\profiles\AppSrv02\bin\generated_websphere_serve
r_start_script.cmd
Connected to the target VM, address: '127.0.0.1:7777', transport:
'socket'
java.lang.NoClassDefFoundError
at
com.intellij.j2ee.webSphere.client.WebSphereClientFactoryImpl.createAd
minClient(WebSphereClientFactoryImpl.java:35)
at
com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereInst
anceImpl.refresh(WebSphereInstanceImpl.java:216)
at
com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereInst
anceImpl$3.isReady(WebSphereInstanceImpl.java:133)
at
com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.ServerRequest
ingThreadImpl$WaitingOnConditionRequest.run(ServerRequestingThreadImpl
.java:148)
at
com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.ServerRequest
ingThreadImpl.runRequest(ServerRequestingThreadImpl.java:125)
at
com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.ServerRequest
ingThreadImpl.run(ServerRequestingThreadImpl.java:100)
The debug session works ok, but this error still irks. The same
problem existed on all previous builds I've tried as well (starting
5321)

Does anyone know where I might get more info on what class it can't
find or how to properly configure the websphere plugin.

Regards
terry east



0
Comment actions Permalink

Will do
Thanks for the response

0

Please sign in to leave a comment.