Weblogic integration

When I start Weblogic from Idea 3394 it starts application but logs an
exception after server has been started.
Application works well, but when I try to stop Weblogic or import
datasources Idea hangs up.
I can kill Weblogic and then continue my work.
The same behaviour was under some previous builds. Under 3390 all works
fine.

Eception trace:
<000365> <000360> <000503> <> <> <> <> ]]>
weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException
at
weblogic.rmi.internal.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:109)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:127)
at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown
Source)
at
com.intellij.j2ee.wrappers.WebLogicMBeanWrapper.getMBean(WebLogicMBeanWrapper.java:96)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.refreshStateImpl(WeblogicAbstractInstance.java:221)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$4.run(ServerPollThread.java:307)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.security.Security.runAs(Security.java:41)
at com.intellij.j2ee.wrappers.WeblogicLogin.runAs(WeblogicLogin.java:110)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.refreshState(ServerPollThread.java:304)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$1.run(ServerPollThread.java:91)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:278)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:244)
Caused by: java.io.EOFException
at weblogic.rjvm.t3.T3JVMConnection.endOfStream(T3JVMConnection.java:804)
at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:363)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:23)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:234)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:210)
-


nested within: -


weblogic.rmi.extensions.RemoteRuntimeException: Unexpected Exception - with
nested exception:
[weblogic.rjvm.PeerGoneException: ; nested exception is:
java.io.EOFException]
at weblogic.management.internal.AdminMBeanHomeImpl_WLStub.getMBean(Unknown
Source)
at
com.intellij.j2ee.wrappers.WebLogicMBeanWrapper.getMBean(WebLogicMBeanWrapper.java:96)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.WeblogicAbstractInstance.refreshStateImpl(WeblogicAbstractInstance.java:221)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$4.run(ServerPollThread.java:307)
at
weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:685)
at weblogic.security.Security.runAs(Security.java:41)
at com.intellij.j2ee.wrappers.WeblogicLogin.runAs(WeblogicLogin.java:110)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.refreshState(ServerPollThread.java:304)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread$1.run(ServerPollThread.java:91)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.runRequest(ServerPollThread.java:278)
at
com.intellij.j2ee.weblogic.runDebug.weblogicServerInstances.ServerPollThread.run(ServerPollThread.java:244)
Connected to server
<000503> ]]>


3 comments
Comment actions Permalink

I don't recall if this was the same exception or not, but with IDEA running on 1.5 and
WebLogic running on 1.4 I had to modify the idea.properties file by adding the following:


#----


  1. Switch into JMX 1.0 compatible mode

#----


jmx.serial.form=1.0


This was suggested by Maxim in http://www.jetbrains.net/jira/browse/IDEA-1651

0
Comment actions Permalink

Thanks a lot! It works.

-- Andrei Kubarkou


0
Comment actions Permalink

Andrei Kubarkou wrote:

Thanks a lot! It works.

-- Andrei Kubarkou

No problem.

This really should be in the KnownIssues.txt file.
It does come up fairly regularly since IDEA started running under JDK 1.5.

0

Please sign in to leave a comment.