Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-06 Thread Woodchuck
hihi Paul, i tried your suggestion but it still did not work. however, i finally found out why. the problem web application had the following code: try { System.setProperty(org.apache.commons.logging.Log, org.apache.commons.logging.impl.Log4JCategoryLog);

RE: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-06 Thread Woodchuck
both Tomcat and your web apps will use separate log4j configurations. Thanks, Seva From: Paul Austin [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 31, 2005 1:30 PM To: Tomcat Users List Subject: Re: Tomcat 5.5 classloader log4j vs JCL issue

RE: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-06 Thread Seva Popov
- From: Woodchuck [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 06, 2005 11:10 AM To: Tomcat Users List; Seva Popov Subject: RE: Tomcat 5.5 classloader log4j vs JCL issue hihi Seva, yes, your suggestion also works. i tried it to confirm, and it was my backup plan to do in case i couldn't

Tomcat 5.5 classloader log4j vs JCL issue

2005-09-02 Thread luc_boudreau
I'm having the same issue and after trying to follow the instructions given by Paul Austin, I've got stuck on the part that says to add a listener. There's no place for a listener in web.xml according to the dtd validation file. Am I wrong ? (I'm using Tomcat 5.5.9 with the struts framework)

Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-09-02 Thread Paul Austin
Luc, The listener element is only valid in the Servlet 2.3 web.xml file, if using a previous servlet version use the attached servlet set to load at startup before any of the other servlets. The jar containing my classes should be included in your WEB-INF/lib directory in each web application.

Tomcat 5.5 classloader log4j vs JCL issue

2005-08-31 Thread Woodchuck
hihi all, on my TC 5.5.9 installation i deployed several web applications that uses the default JCL logging. that is, i placed a simple logging.properties file into each web app's WEB-INF/classes folder and i have per web app logging. everything works beautifully. then i installed a new web

Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-08-31 Thread Paul Austin
Woodchuck, The following web page describes this situation and a solution to the problem. http://www.qos.ch/logging/sc.jsp I have attached the solution that I created this week based on the information above. To compile you will need servlet-api.jar and log4j.jar to compile. Include the jar

Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-08-31 Thread Wendy Smoak
From: Woodchuck [EMAIL PROTECTED] then i installed a new web app that forced me to place commons-logging.jar and log4j.jar into the ${Tomcat}/common/lib folder. as a result, all my previous per web app logging no longer works. does anyone have any suggestions on how i can have per web app

Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-08-31 Thread Woodchuck
hihi Paul, thanks so much for your help! i will definitely give this a try and post my results. woodchuck --- Paul Austin [EMAIL PROTECTED] wrote: Woodchuck, The following web page describes this situation and a solution to the problem. http://www.qos.ch/logging/sc.jsp I have

RE: Tomcat 5.5 classloader log4j vs JCL issue

2005-08-31 Thread Seva Popov
Subject: Re: Tomcat 5.5 classloader log4j vs JCL issue Woodchuck, The following web page describes this situation and a solution to the problem. http://www.qos.ch/logging/sc.jsp I have attached the solution that I created this week based on the information above. To compile you will need servlet

Re: Tomcat 5.5 classloader log4j vs JCL issue

2005-08-31 Thread Woodchuck
hihi Wendy, hehe. that also crossed my mind, i wish that was an option, but i can't unfortunately.:) woodchuck --- Wendy Smoak [EMAIL PROTECTED] wrote: Is giving the uncooperative webapp its own Tomcat instance an option? That's what I'd do. I have a third-party app that insists on