Thanks again, unfortunately I have the same problem. Maybe I am missing some other detail ? Any idea would be very welcome, thanks, marco
<>-----Original Message----- <>From: Larry Tambascio [mailto:[EMAIL PROTECTED]] <>Sent: Sunday, October 13, 2002 9:58 PM <>To: 'Cactus Users List' <>Subject: RE: java.lang.ClassCastException: <>org.apache.commons.logging.impl.LogFactoryImpl: cannot fix it <> <> <>Hi Marco, <> <>In your original message, you said that you had the commons-logging.jar in <>front of the log4j.jar file. I presume you meant in terms of order. <> <>In my environment, I have the log4j.jar file ahead of commons-logging.jar. <>Could it be that simple?? I noticed in the classpath "how to" on <>the cactus <>web site that log4j is listed after commons-logging. Not sure if that's <>intentional. <> <>Try moving the commons-logging.jar file after the log4j.jar file in your <>classpath. See if that works, and let's hope there's no strange <>compatibility issue between the commons-logging your project is using and <>the one distributed with cactus. <> <>Later, <>-Larry <> <>-----Original Message----- <>From: Marco Barcella [mailto:[EMAIL PROTECTED]] <>Sent: Sunday, October 13, 2002 2:35 PM <>To: Cactus Users List <>Subject: RE: java.lang.ClassCastException: <>org.apache.commons.logging.impl.LogFactoryImpl: cannot fix it <> <> <>Thanks, <> <>I got the new 4.1 .jar files and replaced the 1.4 ones <>in my tomcat/common/lib directory and in the application <>lib. I still get the same exception. Any new thoughts? <>thanks, <>marco <> <><>-----Original Message----- <><>From: Vincent Massol [mailto:[EMAIL PROTECTED]] <><>Sent: Saturday, October 12, 2002 3:59 PM <><>To: 'Cactus Users List' <><>Subject: RE: java.lang.ClassCastException: <><>org.apache.commons.logging.impl.LogFactoryImpl: cannot fix it <><> <><> <><>Hi Marco, <><> <><>Which version of Cactus are you running? I seem to remember there was an <><>issue with Cactus 1.4 that was fixed in 1.4.1 WRT to a commons logging <><>class cast exception. Could that be it? <><> <><>-Vincent <><> <><>> -----Original Message----- <><>> From: Marco Barcella [mailto:[EMAIL PROTECTED]] <><>> Sent: 11 October 2002 19:12 <><>> To: Cactus Users List <><>> Subject: java.lang.ClassCastException: <><>> org.apache.commons.logging.impl.LogFactoryImpl: cannot fix it <><>> <><>> Hi, <><>> <><>> I had everything running then the application I am testing added <><>> commons-logging.jar <><>> on top of <><>> log4j-1.2.6.jar <><>> I get: <><>> java.lang.ClassCastException: <><>> org.apache.commons.logging.impl.LogFactoryImpl <><>> <><>> I read that I should exclude the package from junit view, so I added <><>to <><>> excluded.properties in junit-3.7.jar the following: <><>> <><>> excluded.6=org.apache.commons.logging.* <><>> excluded.7=org.apache.commons.logging.LogFactory.* <><>> <><>> I renamed the file to junit.jar and I replaced junit-3.7.jar <><>everywhere: <><>> tomcat/common/lib <><>> tomcat-ant/lib <><>> application/lib <><>> <><>> I still get the same error!! <><>> <><>> What am I doing wrong, should I do something else? <><>> <><>> Thanks a lot in advance, <><>> marco <><>> <><>> <><>> -- <><>> To unsubscribe, e-mail: <mailto:cactus-user- <><>> [EMAIL PROTECTED]> <><>> For additional commands, e-mail: <mailto:cactus-user- <><>> [EMAIL PROTECTED]> <><> <><> <><> <><>-- <><>To unsubscribe, e-mail: <><><mailto:[EMAIL PROTECTED]> <><>For additional commands, e-mail: <><><mailto:[EMAIL PROTECTED]> <><> <><> <> <>-- <>To unsubscribe, e-mail: <><mailto:[EMAIL PROTECTED]> <>For additional commands, e-mail: <><mailto:[EMAIL PROTECTED]> <> <> <>-- <>To unsubscribe, e-mail: <><mailto:[EMAIL PROTECTED]> <>For additional commands, e-mail: <><mailto:[EMAIL PROTECTED]> <> <> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
