This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Remote debugging with Jdeveloper/weblogic

 
Rebecca Hopper
Ranch Hand
Posts: 38
Firefox Browser Hibernate IntelliJ IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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[])
 
Rebecca Hopper
Ranch Hand
Posts: 38
Firefox Browser Hibernate IntelliJ IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic