Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes IDEs, Version Control and other tools and the fly likes Remote debugging with Jdeveloper/weblogic Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Remote debugging with Jdeveloper/weblogic" Watch "Remote debugging with Jdeveloper/weblogic" New topic
Author

Remote debugging with Jdeveloper/weblogic

Rebecca Hopper
Ranch Hand

Joined: Aug 19, 2001
Posts: 38

I am trying to debug some weblogic EJBs with this tool, and I can run my test program fine outside the Jdeveloper environment, or on regular debug, but when I try to run it in remote debug, it crashes the weblogic server. I attach, then go to a DOS window to run the test program, and crash. I get the following error messages. I have had everyone here look at it, and it does not appear to be a classpath problem, it's something in the Jdeveloper environment.
Error messages:
There was an exception in invoking a bean method; nested exception is:
weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read]
java.rmi.RemoteException: ; nested exception is:
weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read]
java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read
java.lang.Class java.net.URLClassLoader.findClass(java.lang.String)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class sun.misc.Launcher$AppClassLoader.loadClass(java.lang.String, boolean)
java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String)
void weblogic.common.T3Exception.<init>(java.lang.String, java.lang.Throwable)
void weblogic.rmi.RemoteException.<init>(java.lang.String, java.lang.Throwable)
void weblogic.rmi.UnmarshalException.<init>(java.lang.String, java.lang.Throwable)
void weblogic.rjvm.PeerGoneException.<init>(java.lang.String, java.lang.Throwable)
void weblogic.rjvm.RJVMImpl.gotExceptionReceiving(java.lang.Throwable)
void weblogic.rjvm.ConnectionManager.gotExceptionReceiving(weblogic.socket.JVMSocket, java.lang.Throwable)
void weblogic.socket.JVMAbbrevSocket.gotExceptionReceiving(weblogic.socket.JVMSocket, java.lang.Throwable)
void weblogic.socket.JVMSocketT3.hasException(java.lang.Throwable)
void weblogic.socket.JavaSocketMuxer.processSockets()
void weblogic.socket.SocketReaderRequest.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
--------------- nested within: ------------------
weblogic.rjvm.PeerGoneException:
- with nested exception:
[java.net.SocketException: Connection reset by peer: JVM_recv in socket input stream read]
aces.rulesEngine.util.Case aces.rulesEngine.cascader.CascaderBeanEOImpl_ServiceStub.determineSingleProgramEligibility(long, java.lang.String, java.util.
Date)
void aces.util.RulesEngineTest.run()
void aces.util.RulesEngineTest.main(java.lang.String[])


SCJP 1.4
Rebecca Hopper
Ranch Hand

Joined: Aug 19, 2001
Posts: 38

I am answering my own question for the benefit of those who have this problem. I had to add the -classic option with the other options for remote debugging in the startweblogic.cmd file. I think this is because I am running Windows 2000. I also have to use the -classic option when I debug non-remotely, but didn't know where to put the -classic for remote debug.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Remote debugging with Jdeveloper/weblogic
 
Similar Threads
Image transfer through sockets
Weblogic beanManaged example - gives crash
PeerGoneException
RemoteException
what does this Exception mean???thanx!@!!!