24. Februar 2012 um 16:17 Uhr

Remote Debugging on Tomcat running as a Windows Service

Just in case someone else is having trouble with this:

If you try to do remote debugging with a Tomcat running as a service on a Windows box (ok, some of you might stop reading here, fair enough ;-)) using the configuration options

-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n

(see Tomcat Wiki Developing FAQ)
…and wondering, why you just can’t connect:

Make sure, every -X parameter entered on the Tomcat Service Configuration Panel is on its own line as shown in the screenshot.


Also, make sure that there is no blank at the end of each parameter line.
And the -X params come first, before the -D parameters.

Any questions? ;-)

Einen Kommentar schreiben

Gravatar unterstützt wird erstellt mit WordPress
Beiträge (RSS) und Kommentare (RSS)

(c) 2005 - 2015 Markus Schlichting