Problem with Weblogic 8.1 integration in RC4 #3430

Hi,

I have a J2EE app running on WLS 8.1 SP4 and was able to run/debug using
a Local configuration in IDEA 4.5.4. I'm trying to have the same setup
with IDEA 5.0 RC4 #3430 and get the following exception: (I change the
jmx.serial.form property to be 1.0 in the idea.properties file)

Help is appreciated. Thanks.

-


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(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
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)
at java.lang.Thread.startThreadFromVM(Unknown Source)
-


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)

6 comments
Comment actions Permalink

Unfortunately, the "jmx.serial.form" is broken, and doesn't work as advertised -- this is not JetBrains' fault, mind you. Right now, the only way to enjoy the Weblogic integration is running IDEA using JDK 1.4

0
Comment actions Permalink

I get this error too, but after the error, everything works fine. Granted,
mine is a relatively simple web app, but see if it works anyway.

Tobin


0
Comment actions Permalink

Tobin Juday wrote:

I get this error too, but after the error, everything works fine.
Granted, mine is a relatively simple web app, but see if it works anyway.

Tobin


Unfortunately it doesnt work for me. The app doesn't get deployed.

--Alex

0
Comment actions Permalink

Marcus Brito wrote:

Unfortunately, the "jmx.serial.form" is broken, and doesn't work as advertised -- this is not JetBrains' fault, mind you. Right now, the only way to enjoy the Weblogic integration is running IDEA using JDK 1.4


How can I make it use JDK 1.4?

0
Comment actions Permalink

Change your IDEA_JDK environment variable to point to your JDK 1.4.2 installation.

0
Comment actions Permalink

Marcus Brito wrote:

Change your IDEA_JDK environment variable to point to your JDK 1.4.2 installation.

Thanks

0

Please sign in to leave a comment.