How can I remotely debug tomcat 7.0 on windows?

There is no catalina.bat so I can't pass debugger port. Also its hard to find help on apache site. Any ideas?


you can pass JVM options using JvmOptions parameter:

tomcat.exe //TS// ++JvmOptions -Xdebug;-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044


tomcat.exe //RS// ++JvmOptions -Xdebug;-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=1044

I'm not sure that this entirely solves your problem, but the Apache Tomcat Windows Service HOWTO explains how to use Tomcat7.exe and Tomcat7w.exe, and what the command line parameters are.

Did you try to set the parameters in the tomcat monitor tray tool? There ist a configure dialog with a "Java" and a "Startup" tab where parameters can be passed to the service.

Need Your Help

Why do browsers insert tbody element into table elements?

html xhtml

I was playing around with some ideas using raw html and JQuery. One thing I did was to create an table element with a set of rows.