- This topic has 3 replies, 4 voices, and was last updated 16 years, 2 months ago by
Riyad Kalla.
-
AuthorPosts
-
dbar12345MemberHi.
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.
Scott AndersonParticipantIt’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.
sabirullaMemberHi,
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.
Riyad KallaMembersabirulla, 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.
-
AuthorPosts