tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark W. Webb" <m...@dolphtech.com>
Subject Re: How to debug servlets under tomcat?
Date Tue, 29 Apr 2003 12:45:41 GMT
so all I need to do is place a file called log4j.properties in 
WEB-INF/classes and tomcat is smart enough to see it and know what to do 
with it?  Wow!  I did not know that .  Cool.

Tim Funk wrote:

> I don't use a debugger. I use log4j. (Actually commons-logging)
>
> http://jakarta.apache.org/log4j/docs/manual.html
>
> Each webapp can be configured with its own log4j settings by dropping 
> a file called log4j.properties into WEB-INF/classes
>
> Short term - its a PITA, long term it makes things much easier to fix.
>
> -Tim
>
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message