Weblogic integration - simply does not work

I created a J2EE project and want to have it deployed on Weblogic.
I would like to run/debug it using integrated "Weblogic Instance".
I seem to have configured everything correctly, when I build my application in IDEA
it creates a proper ear file, which I can manually deploy in weblogic and it works fine.

When I try to run it form IDEA (3425) I get following stacktrace (see bottom).
Funny thing is that sometimes when I press the "Stop process" button whole Idea freeezes completely.
I have to kill weblogic process from the windows task manager,
than idea wakes up and shows that the process had been killed.

It was happening with IDEA 4.5.4, old project layout, Weblogic 8.1.2.
Now I have downoladed current EAP, configured it from scratch, recreated whole project,
installed Weblogic 8.1.4 and it still happens, exactly the same.

I think it was working in one point of time in the past in IDEA 4.5, but I cannot figure any changes that might break it.

What can I do now? How to fix it?
Best regards,
Adam

-- Current stacktrace:
cmd /c C:\bea\user_projects\domains\pps1\startWebLogic.cmd
.
CLASSPATH=C:\bea\JDK1421\lib\tools.jar;C:\bea\WEBLOG1\server\lib\weblogic_sp.jar;C:\bea\WEBLOG1\server\lib\weblogic.jar;C:\bea\WEBLOG1\common\eval\pointbase\lib\pbserver44.jar;C:\bea\WEBLOG1\common\eval\pointbase\lib\pbclient44.jar;C:\bea\JDK1421\jre\lib\rt.jar;C:\bea\WEBLOG~1\server\lib\webservices.jar;
.
PATH=C:\bea\WEBLOG1\server\bin;C:\bea\JDK1421\jre\bin;C:\bea\JDK1421\bin;c:\jdk1.5.0\bin;C:\oracle\ora92\bin;C:\WINDOWS\system32;C:\WINDOWS;c:\resource\apache-ant-1.6.2\bin;C:\bea\WEBLOG1\server\bin\oci920_8
.
***************************************************

  • To start WebLogic Server, use a username and *

  • password assigned to an admin-level user. For *

  • server administration, use the WebLogic Server *

  • console at http:
    :[port]\console *

***************************************************
<2005-07-27 13:13:34 CEST> <2005-07-27 13:13:34 CEST> <2005-07-27 13:13:34 CEST> <2005-07-27 13:13:36 CEST> <2005-07-27 13:13:36 CEST> <2005-07-27 13:13:37 CEST> <2005-07-27 13:13:41 CEST> <2005-07-27 13:13:41 CEST> <2005-07-27 13:13:41 CEST> ]]> <Thread "ListenThread.Default" listening on port 7001, ip address .>
<> <> <> <> ]]>
java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.StreamCorruptedException
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
at weblogic.management.internal.RemoteMBeanServerImpl_814_WLStub.getServerName(Unknown Source)
at com.intellij.j2ee.wrappers.RemoteMBeanServerWrapper.getServerName(RemoteMBeanServerWrapper.java:38)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.refreshStateImpl(WeblogicAbstractInstance.java:198)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$4.run(ServerPollThread.java:318)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at com.intellij.j2ee.wrappers.WeblogicLogin.runAs(WeblogicLogin.java:121)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.refreshState(ServerPollThread.java:315)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$1.run(ServerPollThread.java:102)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:289)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:255)
Caused by: java.io.StreamCorruptedException
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1301)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at weblogic.common.internal.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:120)
at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:120)
at weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:477)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:420)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:415)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
-


nested within: -


weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
[java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is:
java.io.StreamCorruptedException]
at weblogic.management.internal.RemoteMBeanServerImpl_814_WLStub.getServerName(Unknown Source)
at com.intellij.j2ee.wrappers.RemoteMBeanServerWrapper.getServerName(RemoteMBeanServerWrapper.java:38)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.refreshStateImpl(WeblogicAbstractInstance.java:198)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$4.run(ServerPollThread.java:318)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.security.Security.runAs(Security.java:41)
at com.intellij.j2ee.wrappers.WeblogicLogin.runAs(WeblogicLogin.java:121)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.refreshState(ServerPollThread.java:315)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$1.run(ServerPollThread.java:102)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:289)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:255)
]]> <Incoming message header or abbreviation processing failed
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = 1081892073854801359, local class serialVersionUID = -5467795090068647408
java.io.InvalidClassException: javax.management.ObjectName; local class incompatible: stream classdesc serialVersionUID = 1081892073854801359, local class serialVersionUID = -5467795090068647408
at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1264)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1686)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1644)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:210)
at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:235)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:735)
at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:760)
at weblogic.socket.NTSocketMuxer.processSockets(NTSocketMuxer.java:105)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

<> <> <> <> ]]>
weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:137)
at weblogic.management.internal.RemoteMBeanServerImpl_814_WLStub.addNotificationListener(Unknown Source)
at com.intellij.j2ee.wrappers.RemoteMBeanServerWrapper.addNotificationListener(RemoteMBeanServerWrapper.java:67)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.registerMBeansListener(ServerPollThread.java:136)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.access$500(ServerPollThread.java:42)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$1.run(ServerPollThread.java:104)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:289)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:255)
Caused by: java.io.EOFException
at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:874)
at weblogic.socket.SocketMuxer.deliverExceptionAndCleanup(SocketMuxer.java:583)
at weblogic.socket.SocketMuxer.deliverEndOfStream(SocketMuxer.java:533)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:691)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:638)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)
-


nested within: -


weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
[weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException]
at weblogic.management.internal.RemoteMBeanServerImpl_814_WLStub.addNotificationListener(Unknown Source)
at com.intellij.j2ee.wrappers.RemoteMBeanServerWrapper.addNotificationListener(RemoteMBeanServerWrapper.java:67)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.registerMBeansListener(ServerPollThread.java:136)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.access$500(ServerPollThread.java:42)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$1.run(ServerPollThread.java:104)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:289)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:255)
<> <> <> <> ]]>
java.rmi.ConnectException: Couldn't connect to weblogic.rjvm.RJVMImpl@b301ff - id: '-3331654115419165898S:145.245.6.254:[7001,7001,-1,-1,7001,-1,-1,0,0]:pps1:PPS' connect time: 'Wed Jul 27 13:13:42 CEST 2005' - it is likely that the connection has already been shut down
at weblogic.rjvm.ConnectionManager.getOutputStream(ConnectionManager.java:1597)
at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:392)
at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:551)
at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:683)
at weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:90)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:126)
at weblogic.management.internal.AdminMBeanHomeImpl_814_WLStub.getMBean(Unknown Source)
at com.intellij.j2ee.wrappers.WebLogicMBeanWrapper.getMBean(WebLogicMBeanWrapper.java:107)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.getDeploymentStatus(WeblogicAbstractInstance.java:416)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.access$400(WeblogicAbstractInstance.java:63)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance$2.run(WeblogicAbstractInstance.java:390)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$3.run(ServerPollThread.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at com.intellij.j2ee.wrappers.WeblogicLogin.runAs(WeblogicLogin.java:117)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:281)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:255)
-


nested within: -


weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with nested exception:
[java.rmi.ConnectException: Couldn't connect to weblogic.rjvm.RJVMImpl@b301ff - id: '-3331654115419165898S:145.245.6.254:[7001,7001,-1,-1,7001,-1,-1,0,0]:pps1:PPS' connect time: 'Wed Jul 27 13:13:42 CEST 2005' - it is likely that the connection has already been shut down]
at weblogic.management.internal.AdminMBeanHomeImpl_814_WLStub.getMBean(Unknown Source)
at com.intellij.j2ee.wrappers.WebLogicMBeanWrapper.getMBean(WebLogicMBeanWrapper.java:107)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.getDeploymentStatus(WeblogicAbstractInstance.java:416)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.access$400(WeblogicAbstractInstance.java:63)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance$2.run(WeblogicAbstractInstance.java:390)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$3.run(ServerPollThread.java:283)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
at weblogic.security.Security.runAs(Security.java:61)
at com.intellij.j2ee.wrappers.WeblogicLogin.runAs(WeblogicLogin.java:117)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:281)
at com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:255)
Connected to server

Please sign in to leave a comment.