users@glassfish.java.net

Re: V3 b25 - apache logger not casting - different Classloader maybe...

From: <glassfish_at_javadesktop.org>
Date: Mon, 22 Sep 2008 06:24:59 PDT

Hi Sahoo,

I wasn't completely clear. I used the apache-commons-${version}.jar as well as others.

1) If I use a apache copy of commons-logging.jar that I was using with gfv3 tp2 which was working, the
[code]
 Caused by: java.lang.ClassCastException: org.apache.commons.logging.impl.LogFactoryImpl cannot be cast to org.apache.commons.logging.LogFactory
         at org.apache.commons.logging.LogFactory.newFactory(LogFactory.java:504)
[/code] occurs as well.

For tp2 I was successfully running the ejb 3.1's with a copy of commons-logging.jar from apache. Now with b25 the exception is occurring but over all more things are close to working.

I'll trying the latest commons-logging.jar release from apache to see what happens...
[Message sent by forum member 'rimartin7' (rimartin7)]

http://forums.java.net/jive/thread.jspa?messageID=300746