Trying to run WebSphere in IntelliJ 10.5

I just upgraded from 8.0 to 10.5 and I can't get WebSphere to run, well IntelliJ doesn't think it's running.

When I start IntelliJ throws the following error immediately and disconnects but WebSphere still starts.  I have to manually kill the process to stop the server. Is there something different between IntelliJ 8 and 10 when it comes to WebSphere?

cmd /c C:\IBM\SDP70\runtimes\base_v61\profiles\idgate49\bin\generated_websphere_server_start_script.cmd
Connected to server
C:\IBM\SDP70\runtimes\base_v61\java\bin\java -Dfile.encoding=windows-1252 -classpath "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 10.5.1\plugins\webSphereIntegration\lib\webSphereClient.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 10.5.1\plugins\webSphereIntegration\lib\webSphereClientImpl.jar;C:\Program Files (x86)\JetBrains\IntelliJ IDEA 10.5.1\plugins\JavaEE\lib\javaee-impl.jar;C:\IBM\SDP70\runtimes\base_v61\runtimes\com.ibm.ws.admin.client_6.1.0.jar;C:\IBM\SDP70\runtimes\base_v61\plugins\com.ibm.ws.security.crypto_6.1.0.jar" com.intellij.j2ee.webSphere.client.process.IbmProcess 61722
Exception in thread "main" java.net.BindException: Address already in use: NET_Bind
    at java.net.PlainSocketImpl.socketBind(Native Method)
    at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:398)
    at java.net.Socket.bind(Socket.java:582)
    at java.net.Socket.<init>(Socket.java:392)
    at java.net.Socket.<init>(Socket.java:207)
    at com.intellij.j2ee.webSphere.client.process.IbmProcess.run(IbmProcess.java:40)
    at com.intellij.j2ee.webSphere.client.process.IbmProcess.main(IbmProcess.java:36)

Process finished with exit code 1
Disconnected from server
Connection error

Here is what I see in the IntelliJ log:

2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - SocketConnection was closed before response was received
com.intellij.javaee.process.JavaeeProcessConnectionException: SocketConnection was closed before response was received
    at com.intellij.javaee.process.JavaeeProcessConnection.requestAndWaitForResponse(JavaeeProcessConnection.java:54)
    at com.intellij.javaee.process.JavaeeProcessObjectBase$InvocationHandlerImpl.invoke(JavaeeProcessObjectBase.java:77)
    at $Proxy98.start(Unknown Source)
    at com.intellij.j2ee.webSphere.client.highLevel.WebSphereAdminProxy.start(WebSphereAdminProxy.java:116)
    at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereInstanceImpl.connect(WebSphereInstanceImpl.java:220)
    at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereLocalInstance.connect(WebSphereLocalInstance.java:50)
    at com.intellij.j2ee.webSphere.runDebug.serverInstance.impl.WebSphereAsyncInstanceBase$3.run(WebSphereAsyncInstanceBase.java:120)
    at com.intellij.javaee.util.SequentialTaskExecutor$1.run(SequentialTaskExecutor.java:32)
    at com.intellij.openapi.application.impl.ApplicationImpl$6.run(ApplicationImpl.java:375)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
    at com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:130)
2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - IntelliJ IDEA 10.5.1  Build #IU-107.322
2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - JDK: 1.6.0_22
2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - VM: Java HotSpot(TM) Client VM
2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - Vendor: Sun Microsystems Inc.
2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - OS: Windows 7
2011-08-25 17:47:17,631 [ 109395]  ERROR - mpl.WebSphereAsyncInstanceBase - Last Action: Run

Please sign in to leave a comment.