MyEclipse: failed to connect to remote VM. connection timed out

dbar12345 - Aug 10, 2006 - 04:24 AM
Post subject: failed to connect to remote VM. connection timed out
Hi.
I'm getting this error message "failed to connect to remote VM. connection timed out" when I'm trying to use remote debugging from Eclipse.
I started Weblogic with options:
export _JAVA_OPTIONS="$_JAVA_OPTIONS -Xdebug -Xnoagent -Djava.compiler=none -Xrunjdwp:server=y,transport=dt_socket,address=16122,suspend=n"
and weblogic log shows "Picked........" message, which means it's listening.

I have this problem only with connecting to the server on UNIX mashine. I can remote debug standalone java application (remote JVM).
Also, everything is OK when I'm using Weblogic server installed on Windows.

The interesting part is that when I change suspend=y -----> I can connect to remote weblogic server.......

Is this an issue related to timeout settings?

Thanks.
support-scott - Aug 10, 2006 - 09:21 PM
Post subject:
It's likely caused by a small difference between the debugger implementations in JVM that's running Eclipse versus WebLogic. I'd recommend making sure that you're using the same release of JDK to run Eclipse as you are to run WebLogic.

BTW, I'm assuming you're using this method because WebLogic is running on a remote machine as described in our Remote Debugging quickstart. If you're debugging on your local machine then simply launching using the WebLogic connector we provide is much easier.
sabirulla - Feb 16, 2009 - 11:06 AM
Post subject: Failed to connect to remote VM. Connection timed out.
Hi,

I want to debug java remote application, if connect to debug, "Failed to connect to remote VM. Connection timed out".
this error is coming,If anybody face this problem please tell me the solution.
Sabirulla@gmail.com, i am using jboss server and linux os.
support-rkalla - Feb 19, 2009 - 04:16 AM
Post subject: RE: Failed to connect to remote VM. Connection timed out.
sabirulla, that could be a multitude of things... there could be a firewall between you and the server or the server wasn't launched with the correct debug arguments to open up the ports to listen for debug connections... if you are launching it from MyEclipse this is all done automatically and you don't need to try and connect at all.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits