Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to start tomcat 5.5 in debug mode? (installed as service)

Status
Not open for further replies.

speccat

Programmer
Nov 18, 2006
3
US
Hi guys,

I installed tomcat 5.5 using the .exe installer and chose to have it as a service.

How do you start tomcat in debug mode?

I have tried various options using the tomcat GUI configurator tool, but nothing worked.

I read all over the web, but all solutions pertain to starting tomcat from a .bat file.

Thanks!
 
What debug information are you hoping to obtain ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Ok sorry, let me rephrase my question:
How do you configure Tomcat to support remote debugging?

I would like to remote debug an application installed on Tomcat through Eclipse.
 
I am not trying to get any debugging information from the tomcat server itself.

I am trying to "Remote debug" an application deployed into tomcat.
That is, I want to debug an application using my IDE (Eclipse) by attaching to the debug agent on tomcat.

Anyway, I got it working using the zip file install (not .exe install).
Instructions:
------------
1. Set system properties: JPDA_TRANSPORT=dt_socket and JPDA_ADDRESS=8000(or whichever port you desire).
2. start tomcat using: catalina jpda start
3. configure your IDE to attach

My initial question still stands:
How do you do the same thing I just described if you install tomcat using the windows .exe installer?

The .exe installer installs a tomcat monitor and configurator tool, which you use to configure tomcat.
There are no .bat files, if you use this installer.

I have tried passing various parameters in the configuration tool, but nothing worked.

I appreciate the help.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top