facebook

Remote Debugger

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

    ls_toronto
    Member

    Hi;

    When I try to debug a tomcat instance started up remotely I get a “Failed to connect to remote JVM. Connection refused”.

    I have set the JPDA environmental variables:

    linux:/opt/tools/apache-tomcat-5.5.20/bin # echo $JPDA_ADDRESS
    8000
    linux:/opt/tools/apache-tomcat-5.5.20/bin # echo $JPDA_TRANSPORT
    dt_socket
    linux:/opt/tools/apache-tomcat-5.5.20/bin # ./startup.sh jpda
    Using CATALINA_BASE:   /opt/tools/apache-tomcat-5.5.20
    Using CATALINA_HOME:   /opt/tools/apache-tomcat-5.5.20
    Using CATALINA_TMPDIR: /opt/tools/apache-tomcat-5.5.20/temp
    Using JRE_HOME:       /opt/tools/jdk1.6.0/jre
    linux:/opt/tools/apache-tomcat-5.5.20/bin #

    And in myEclipse I am debugging with a remotely started application with the following settings:

    host: localhost
    port: 8000
    Allow termination of remote JVM checked.

    What am I missing?

    #270470 Reply

    Riyad Kalla
    Member

    Connection refused is a pretty classic response for computers protected by a firewall. Double check that you don’t have a firewall running on the machine with Tomcat on it. You might also just try any sort of connection to it (like port 8080) and see if that works.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Remote Debugger

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