tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject RE: Apache 2.0.45/jk2/TC4.1 mostly working, but...
Date Mon, 28 Apr 2003 10:33:52 GMT
I think that 2) and 3) are possibly related.

Are you shure that you set the vm entries in


and ${CATALINA_BASE} and ${CATALINA_HOME} are set to the right values ?

For your first question I just have a 'wild' guess:

Maybe tomcat doesn't start up fast enough s the first attempt of the 
connector fails ?

> -----Original Message-----
> From: Michael Gerdau []
> Sent: Sunday, April 27, 2003 4:11 PM
> To: Tomcat Users List
> Subject: Apache 2.0.45/jk2/TC4.1 mostly working, but...
> 2) My WebApp uses Log4J for errorlogging. The appropriate JAR is
>    in ${CATALINA_HOME}/shared/lib. That work fine with Tomcat
>    standalone. However when running inprocess with Apache2 my
>    WebApp does not deploy but gets this Exception:
>    java.lang.NoClassDefFoundError: org/apache/log4j/Layout 
>    I then copied log4j-1.2.8.jar into ${CATALINA_HOME}/common/lib
>    but to no avail.
>    For the time being I "solved" the problem by explicitly giving
>    java.class.path=${CATALINA_HOME}/shared/lib/log4j-1.2.8.jar as
>    option to Apache's JVM.
>    Why is that required, i.e. why is this change to the standalone
>    version required ?
> 3) Last and possibly the most annoying problem is that Tomcat
>    inprocess with Apache logs out tons of DEBUG-msgs that I don't
>    see when running standalone. Also my own log4j configuration
>    file appears to be ignored to the result that all logging that
>    should have been switched off is logged to the file.
>    How do I fine tune logging when running inprocess, i.e. where
>    do I find documentation ?
>    I suppose this problem is related to 2) above.
>    Any hints ?

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

View raw message