tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Funk <>
Subject Re: How to debug servlets under tomcat?
Date Tue, 29 Apr 2003 12:41:33 GMT
I don't use a debugger. I use log4j. (Actually commons-logging)

Each webapp can be configured with its own log4j settings by dropping a file 
called into WEB-INF/classes

Short term - its a PITA, long term it makes things much easier to fix.


torechia wrote:
> I am new to Tomcat and java servlets.  I am running latest tomcat standalone on windows/xp
and am having some problems doing transformations from xml to html in my java servlet.   How
can I debug this?  I would like to step over each line of code and see what is happening.
  I have a copy of Visual J++, but am not sure how to compile and debug  my servlets in this
environment since I am not running IIS.  Currently I am using ant to build and deploy my servlet.
   What is the best tool to debug servlets under tomcat and how can I get it started in the
debugger under tomcat?   Any help would be appreciated.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message