You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by lu...@sonynetservices.com on 2005/01/14 11:42:50 UTC

commons-logging 1.0.4 on bea weblogic 8.1 dependencies

Hello.

I just tried to upgrade to struts 1.2.6. This includes upgrading 
commons-logging from 1.0.3 to 1.0.4.
Having done that I found a dependency problem:

The Class org.apache.commons.logging.impl.Log4JCategoryLog is outdated and 
replaced with
org.apache.commons.logging.impl.Log4JLogger.

I have updated my configurations (commons-logging.properties) and sources 
to that and could
minimize the exceptions during deployment to one:

<14.01.2005 11:16 Uhr CET> <Error> <HTTP> <BEA-101216> <Servlet: "action" 
failed to preload on startup in Web application: "pma-backoffice-R2_0".
javax.servlet.ServletException: 
org.apache.log4j.Category.log(Ljava/lang/String;Lorg/apache/log4j/Level;Ljava/lang/Object;Ljava/lang/Throwable;)V
        at 
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:906)
        at 
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:842)
        at 
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:782)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3236)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3181)
        at 
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3154)
        at 
weblogic.servlet.internal.HttpServer.preloadResources(HttpServer.java:654)
        at 
weblogic.servlet.internal.WebService.preloadResources(WebService.java:483)
        at 
weblogic.servlet.internal.ServletInitService.resume(ServletInitService.java:30)
        at 
weblogic.t3.srvr.SubsystemManager.resume(SubsystemManager.java:131)
        at weblogic.t3.srvr.T3Srvr.resume(T3Srvr.java:964)
        at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:359)
        at weblogic.Server.main(Server.java:32)
>

However I could not find this to be sourcing in my code but it seemes to 
be bea weblogic's code that
tries to use the outdated class.

Can you tell me a solution to this problem or help me track down the cause 
in detail and
possibly how to fix it?

If there is none, could you tell me if struts 1.2.6 can work with 1.0.3 
instead?

Thanx in Advance,
Lukas Österreicher

Re: commons-logging 1.0.4 on bea weblogic 8.1 dependencies

Posted by lu...@sonynetservices.com.
Hi again.

I just noticed that the problem vanished.
The Exception still showed up due to the caching in bea.

Lukas