log4j use in multiple tomcat web apps - properties file parsing errors

2002-06-05 Thread PGuimaraes
Hi, I am running tomcat 4.0.1 on Solaris with two web applications. I recently added log4j code to my applications, and after reading log4j's Short Manual, decided to set up my configuration to use an initialization servlet to initialize log4j, since that's the most flexible way to do it. I

Re: log4j use in multiple tomcat web apps - properties file parsing errors

2002-06-05 Thread Ceki Gülcü
This is quite similar to the problem reported by Chris Goodall a few hours ago. First, here are the standard questions: 1) Which version of the JDK are you using? 2) Which version of log4j? The warning message object is not an instance of declaring class is not very helpful. In order to get

Re: log4j use in multiple tomcat web apps - properties file parsing errors

2002-06-05 Thread PGuimaraes
Hi Ceki, This is quite similar to the problem reported by Chris Goodall a few hours ago. Since I just joined this mailing list, I didn't get a copy of Chris Goodall's message. I searched the archives, but could not find any messages sent by him recently. Could you forward his message and

Re: log4j use in multiple tomcat web apps - properties file parsing errors

2002-06-05 Thread PGuimaraes
Sorry, I forgot to attach the file. Are attachments preferred over inline text? Pat __ Hi Ceki, This is quite similar to the problem reported by Chris Goodall a few hours ago. Since I just joined this mailing list, I didn't get a copy of Chris Goodall's message. I

Re: log4j use in multiple tomcat web apps - properties file parsing errors

2002-06-05 Thread Ceki Gülcü
As far as I can tell, there is only one possible explanation. You have a copy of log4j-XXX.jar in both WEB-INF/lib of your web application as well as on the CLASSPATH or a copy of log4j-XXX.jar is in $JAVA_HOME/jre/lib/ext/ Remove log4j.jar from the CLASSPATH and from $JAVA_HOME/jre/lib/ext/ if

Re: log4j use in multiple tomcat web apps - properties file parsing errors

2002-06-05 Thread PGuimaraes
Ceki, Remove log4j.jar from the CLASSPATH and from $JAVA_HOME/jre/lib/ext/ if that is the case. If log4j.jar is not on the CLASSPATH or $JAVA_HOME/jre/lib/ext/ check also $CATALINA_HOME/common/lib and $CATALINA_HOME/lib. I checked my CLASSPATH and directories $JAVA_HOME/jre/lib/ext,