AnsweredAssumed Answered

Tomcat Remote Debugging

Question asked by falko.menge on Nov 10, 2010
Latest reply on Nov 23, 2010 by tombaeyens
Has anybody used remote debugging in Tomcat, recently?

The Ant target tomcat.enable.debug doesn't seem to work anymore. It patches Tomcat's script, but netstat shows that the server process is not listening on the configured port 8787 and none of the port it is listens on accepts connections from Eclipse.

I got it to work by changing the last line of from:
exec "$PRGDIR"/"$EXECUTABLE" start "$@"
exec "$PRGDIR"/"$EXECUTABLE" jpda start "$@"

With that Tomcat listens on port 8000 and Eclipse can connect to it.