Bob,

Thanks. Unfortunately, I am running it on my laptop (Windows) where I
need to keep it for now as a dev environment. I run a small consulting
business, this is an "on the side" product that need to be run whenever
I can catch time.

I would love to be able to get Tomcat to tell me what it is doing, but I
am afraid that enabling logging in Tomcat itself might pollute the
environment and make the problem worse.

Ironically, Tomcat has neither log4j nor commons-logging in its
$TOMCAT_HOME/common/lib nor server/lib, which makes me wonder how it is
using commons-logging in its own classes at all....

Bob Hall wrote:

>--- Avi Deitcher <[EMAIL PROTECTED]> wrote:
>
>  
>
>>The simple classes (a JSF backing bean and a filter)
>>are set to use
>>either commons-logging or log4j directly (I tried
>>both). In either case,
>>the moment that I uncomment any category line and
>>one of my classes (the
>>filter or the bean) calls log.debug("some message"),
>>Tomcat freezes
>>entirely. This is true whether I use log4j directly
>>or commons-logging
>>in my classes, and whether or not I comment or
>>uncomment the first
>>log4j.rootCategory line in log4j.properties. I get
>>some output from the
>>appender matching the pattern, and then freeze. I
>>cannot access any
>>context; I cannot use the manager; the only thing I
>>can do is kill the
>>Tomcat process.
>>
>>I am at wit's end with this; it took literally days
>>to narrow down that
>>it was log4j's activation doing it.
>>
>>    
>>
>
>Avi,
>
>You didn't mention which OS you are using.  If
>it's *nix you may be able use 'truss' to get info
>on exactly what Tomcat is doing when it "freezes".
>BTW, a google search produced several hits for
>linux impl's of solaris' truss command.  My
>guess is that you'll find that Tomcat is stuck
>in a "loop".
>
>HTH,
>Bob
>
>__________________________________________________
>Do You Yahoo!?
>Tired of spam?  Yahoo! Mail has the best spam protection around 
>http://mail.yahoo.com 
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>  
>

-- 
______________________________
Avi Deitcher
[EMAIL PROTECTED]


Reply via email to