Hi,

I want to debug servlets running under Tomcat 5.5.20 (freshly 
installed) on Windows XP, but I can't get the JVM to open the debug 
port in order that Eclipse can attach to it (as verified by running 
"netstat -a").

It seems to me that the documentation on how to enable debugging 
is outdated:

- the FAQ "How do I debug a Tomcat application?" tells me to modify 
2 environment variables JPDA_ADDRESS and JPDA_TRANSPORT, 
and then to start Tomcat via the catalina.bat script - but this script isn't 
supplied with the installation anymore. I added the environment variables 
anyway and restarted the service, but that didn't help. Starting the service 
as a console application didn't help either, btw..

- I tried adding "-Xdebug -Xrunjdwp:transport= 
dt_socket,address=1044,server=y,suspend=n" to the Java Options 
in the Monitor application tomcat5w.exe, but that didn't change 
anything.

- the "Windows service HOW-TO" gives no specific hint on how to 
enable debugging. Fiddling with different parameters without 
knowning what the correct default parameters are doesn't look very 
promising...

Now I'm running out of ideas - any help will be greatly appreciated !

Best regards, Heiko

---
Heiko Petzsch
GTS Systems & Consulting
Email [EMAIL PROTECTED]


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to