You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Peter Alvin <pa...@flexbase.com> on 2002/08/16 22:21:16 UTC

How do you debug Apache--to-->Tomcat?

How do you turn on trace on either the Apache or Tomcat side?

I believe I have everything installed and configured correctly.  This 
works great:

http://www.physiquetransformation.com:8080/examples/servlet/HelloWorld
Example

But going through Apache gives a 404:

http://www.physiquetransformation.com/examples/servlet/HelloWorldExamp
le

Setting verbosityLevel in Tomcat doesn't seem to help:

server.xml:
    ...
    <Logger name="servlet_log"
            path="logs/servlet.log"
            verbosityLevel = "DEBUG" />
    ...



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: How do you debug Apache--to-->Tomcat?

Posted by "Charles N. Harvey III" <ch...@alloy.com>.
Depends upon which connector you are using.  But there are still the apache
logs - which are different than the tomcat logs.

1) The Apache httpd server logs
   /apache/logs/access.log
   /apache/logs/error.log

2) The connector logs (mod_jk or mod_webapp), wherever you put them.
   /apache/logs/mod_jk.log
   /apache/logs/mod_webapp.log

If the request isn't getting to Tomcat at all then the Tomcat logs will
not help in the least.  But these other logs will.

Enjoy.

Charlie

> -----Original Message-----
> From: Peter Alvin [mailto:palvin@flexbase.com]
> Sent: Friday, August 16, 2002 4:21 PM
> To: Tomcat Users List
> Subject: How do you debug Apache--to-->Tomcat?
> 
> 
> How do you turn on trace on either the Apache or Tomcat side?
> 
> I believe I have everything installed and configured correctly.  This 
> works great:
> 
> http://www.physiquetransformation.com:8080/examples/servlet/HelloWorld
> Example
> 
> But going through Apache gives a 404:
> 
> http://www.physiquetransformation.com/examples/servlet/HelloWorldExamp
> le
> 
> Setting verbosityLevel in Tomcat doesn't seem to help:
> 
> server.xml:
>     ...
>     <Logger name="servlet_log"
>             path="logs/servlet.log"
>             verbosityLevel = "DEBUG" />
>     ...
> 
> 
> 
> --
> To unsubscribe, e-mail:   
> <ma...@jakarta.apache.org>
> For additional commands, e-mail: 
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>