You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Mark W. Webb" <ma...@dolphtech.com> on 2003/05/05 21:05:14 UTC
FIXED - installing my own logger
Had to put my classes in a jar file and put the jar file in
$TOMCAT_HOME/server/lib.
Mark W. Webb wrote:
> I am trying to write a logger that will dump all output to syslog
> using Log4J. I am testing my logger by installing it as the logger
> for a context first, to get it working.
>
> I updated the classpath in catalina.sh, but am running into problems.
> I keep running into NoClassDefFound errors. All the classes that
> tomcat is complaining about are for classes that are found in
> $TOMCAT_HOME/server/lib.
> I have also tried setting the classpath in my environment with no
> luck. Is there somewhere else I should set my classpath?
> Could someone please help.
> Thanks in advance!!!
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
Re: FIXED - installing my own logger
Posted by Jacob Kjome <ho...@visi.com>.
You shouldn't put anything there. You should put stuff that both your apps
and Tomcat internals need to see in common/lib and stuff that your apps,
but not Tomcat internals need to see in shared/lib. If this functionality
is *only* for Tomcat internals, then you might be justified in putting your
library in server/lib.
Jake
At 03:05 PM 5/5/2003 -0400, you wrote:
>Had to put my classes in a jar file and put the jar file in
>$TOMCAT_HOME/server/lib.
>
>Mark W. Webb wrote:
>
>>I am trying to write a logger that will dump all output to syslog using
>>Log4J. I am testing my logger by installing it as the logger for a
>>context first, to get it working.
>>
>>I updated the classpath in catalina.sh, but am running into problems. I
>>keep running into NoClassDefFound errors. All the classes that tomcat is
>>complaining about are for classes that are found in
>>$TOMCAT_HOME/server/lib. I have also tried setting the classpath in my
>>environment with no luck. Is there somewhere else I should set my
>>classpath? Could someone please help.
>>Thanks in advance!!!
>>
>>
>>
>>
>>
>>---------------------------------------------------------------------
>>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