You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Frank Mundt <fr...@yahoo.com> on 2004/03/05 22:23:26 UTC

NoClassDefFound - Commons Logging - WebLogic 6.1 clustered

Has anyone seen the following in WebLogic 6.1 running
in a clustered environment? The application runs fine
in a non-clustered server. In a clustered environment
sometimes the second instance in the cluster fails
with:


<Mar 5, 2004 6:13:01 PM GMT> <Info> <HTTP> <Loading
servlet InitServlet into
WebAppServletContext(4313729,srp,/srp) context> 
<Mar 5, 2004 6:13:01 PM GMT> <Info> <HTTP>
<[WebAppServletContext(4313729,srp,/srp)] InitServlet:
init> 
Initializing application properties.
<Mar 5, 2004 6:13:01 PM GMT> <Error> <HTTP>
<[WebAppServletContext(4313729,srp,/srp)] Error
loading servlet: 'InitServlet'
java.lang.NoClassDefFoundError:
org/apache/commons/logging/LogFactory
        at
net.sf.hibernate.cfg.Configuration.<clinit>(Configuration.java:89)
        at
factory.DataFactory.instance(DataFactory.java:73)
        at
servlet.InitServlet.init(InitServlet.java:34)
        at
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:700)
        at
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:643)
        at
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:588)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2221)
        at
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2165)
        at
weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:475)
        at
weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)
        at
weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
        at java.lang.Thread.run(Thread.java:484)


__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Re: NoClassDefFound - Commons Logging - WebLogic 6.1 clustered

Posted by Jacob Kjome <ho...@visi.com>.
You are reporting a commons-logging issue, not a Log4j issue.  This is a 
Log4j list.  You won't find too many people here able (or willing) to 
provide advice on commons-logging.  Check with the jakarta-commons user 
list.  They might be able to help you more.

Jake

At 01:23 PM 3/5/2004 -0800, you wrote:
>Has anyone seen the following in WebLogic 6.1 running
>in a clustered environment? The application runs fine
>in a non-clustered server. In a clustered environment
>sometimes the second instance in the cluster fails
>with:
>
>
><Mar 5, 2004 6:13:01 PM GMT> <Info> <HTTP> <Loading
>servlet InitServlet into
>WebAppServletContext(4313729,srp,/srp) context>
><Mar 5, 2004 6:13:01 PM GMT> <Info> <HTTP>
><[WebAppServletContext(4313729,srp,/srp)] InitServlet:
>init>
>Initializing application properties.
><Mar 5, 2004 6:13:01 PM GMT> <Error> <HTTP>
><[WebAppServletContext(4313729,srp,/srp)] Error
>loading servlet: 'InitServlet'
>java.lang.NoClassDefFoundError:
>org/apache/commons/logging/LogFactory
>         at
>net.sf.hibernate.cfg.Configuration.<clinit>(Configuration.java:89)
>         at
>factory.DataFactory.instance(DataFactory.java:73)
>         at
>servlet.InitServlet.init(InitServlet.java:34)
>         at
>weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:700)
>         at
>weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:643)
>         at
>weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:588)
>         at
>weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:2221)
>         at
>weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:2165)
>         at
>weblogic.servlet.internal.HttpServer.preloadServlets(HttpServer.java:475)
>         at
>weblogic.servlet.internal.WebService.preloadServlets(WebService.java:450)
>         at
>weblogic.t3.srvr.ServletInitRunner.run(ServletInitRunner.java:49)
>         at java.lang.Thread.run(Thread.java:484)
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! Search - Find what you're looking for faster
>http://search.yahoo.com
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org