I follow this good tutorial on remote debugging with eclipse
http://wso2.org/library/225
I am working with eclipse / tomcat / axis2 and I am trying to remotely debug an application that is hosted on localhost.
I set env-vars CATALINA_OPTS for
-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
and confirm that the port number is 8000. I do not have a firewall (as far as I know ..)
eclipse tells me that it was unable to connect. I checked netstat -a and I don't see anything listening on
port 8000. even after I started tomcat. (maybe this is a problem?)
although the service is listed in the section when I go to
http: // localhost : 8080 / axis2 / services / listServices
when I tried changing port to 8080 in eclipse, I got a timeout (but not an immediate failure)
What could it be?
Paul source
share