facebook

failed to connect to remote VM. connection timed out

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #256486 Reply

    dbar12345
    Member

    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.

    #256525 Reply

    Scott Anderson
    Participant

    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.

    #294854 Reply

    sabirulla
    Member

    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.

    #295018 Reply

    Riyad Kalla
    Member

    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.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: failed to connect to remote VM. connection timed out

You must be logged in to post in the forum log in