struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ren Bitonio <>
Subject RE: Weblogic 5.1 + commons.logging - HERE'S THE ANSWER!
Date Fri, 21 Jun 2002 00:20:42 GMT

I believe you are talking about Struts version 1.1Beta1.  If so, then that
version of commons-logging.jar has a classloader problem issue, that does
not work smoothly with Weblogic 5.1.  I had this problem earlier with WLS61
SP2 and later resolved it.

You need to swap out your commons-logging.jar.  I believe the 5/9 nightly
build was the first edition to resolve this problem, as I checked its source
code to see if LogFactory class was fixed, regarding which classloader to
use and load the factory implementation.  It worked!  The latest ones should
work as well.

By the way, other than getting a newer jar file, there is another
workaround, which is placing the original jar file in the Weblogic's
globalclasspath, yet this is not the preferred route.  

Give it a try, and let me know how it works out.

Good luck,

-----Original Message-----
From: Chen, Dean (Zhun) [] 
Sent: Thursday, June 20, 2002 12:08 PM
To: 'Struts Users Mailing List'
Subject: Weblogic 5.1 + commons.logging


I'm migrating my Tomcat application to WebLogic 5.1, in doing so I am
getting this error:

Thu Jun 20 15:05:07 EDT 2002:<E> <WebAppServletContext-setshistory> Error
instantiating servlet:
        at org.apache.commons.logging.LogFactory.getLog(

I placed the commons-logging.jar into the WEB-INF/lib directory, however, it
still complains. Has anyone seen these types of error before? Is this a
weblogic problem or a commons-logging problem?


Dean Chen

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message