logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Desai, Mehul P" <MPDe...@directv.com>
Subject RE: LoadManager Problem
Date Mon, 17 Nov 2003 18:06:49 GMT
Drake,

I am not sure it is a classloader problem. I can use log4j alright - I
get the noclassdeffounderror when calling LogManager.shutdown from my
Servlet
Context class when the app is shutting down.

Thanks,
Mehul.

-----Original Message-----
From: Tom Drake [mailto:Tom.Drake@tavant.com] 
Sent: Sunday, November 16, 2003 3:08 PM
To: 'Log4J Developers List'
Subject: RE: WELCOME to log4j-dev@jakarta.apache.org

Mehul:

You'll have better luck with questions if you read the posting
guidelines
first.

That being said, it looks like you're experiencing a classloader
problem.
The log4j manual and troubleshooting guide cover classloader related
problems. Have you read them?

Tom Drake


-----Original Message-----
From: Desai, Mehul P [mailto:MPDesai@directv.com]
Sent: Friday, November 14, 2003 6:28 PM
To: log4j-dev@jakarta.apache.org
Subject: RE: WELCOME to log4j-dev@jakarta.apache.org


I get the following error when I call LogManager.shutdown()

Any help is appreciated!

<Nov 14, 2003 6:12:18 PM PST> <Error> <HTTP> <BEA-101268>
<ServletContext(id=294
68299,name=DTVAPP,context-path=/DTVAPP): Failed while destroying
servlet: action
.
java.lang.NoClassDefFoundError: org/apache/log4j/helpers/NullEnumeration
        at org.apache.log4j.Category.getAllAppenders(Category.java:394)
        at
org.apache.log4j.Category.closeNestedAppenders(Category.java:207)
        at org.apache.log4j.Hierarchy.shutdown(Hierarchy.java:438)
        at org.apache.log4j.LogManager.shutdown(LogManager.java:250)
        at
com.directv.www.util.StartupActionServlet.destroy(StartupActionServle
t.java:333)
        at
weblogic.servlet.internal.ServletStubImpl$ServletDestroyAction.run(Se
rvletStubImpl.java:1086)
        at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authenticate
dSubject.java:317)
        at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:
118)
        at
weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubI
mpl.java:569)
        at
weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubI
mpl.java:596)
        at
weblogic.servlet.internal.ServletStubImpl.destroyServlet(ServletStubI
mpl.java:581)
        at
weblogic.servlet.internal.WebAppServletContext.destroyServlets(WebApp
ServletContext.java:5797)
        at
weblogic.servlet.internal.WebAppServletContext.destroy(WebAppServletC
ontext.java:5675)
        at
weblogic.servlet.internal.ServletContextManager.removeContext(Servlet
ContextManager.java:187)
        at
weblogic.servlet.internal.HttpServer.unloadWebApp(HttpServer.java:706
)
        at
weblogic.servlet.internal.WebAppModule.destroyContexts(WebAppModule.j
ava:764)
        at
weblogic.servlet.internal.WebAppModule.rollback(WebAppModule.java:742
)
        at
weblogic.j2ee.J2EEApplicationContainer.rollbackModule(J2EEApplication
Container.java:2942)
        at
weblogic.j2ee.J2EEApplicationContainer.rectifyClassLoaders(J2EEApplic
ationContainer.java:1429)
        at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1176)
        at
weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContain
er.java:1031)
        at
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.
prepareContainer(SlaveDeployer.java:2634)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createCon
tainer(SlaveDeployer.java:2584)
        at
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(S
laveDeployer.java:2506)
        at
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(Sla
veDeployer.java:833)
        at
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDepl
oyer.java:542)
        at
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDep
loyer.java:500)
        at
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHan
dler.java:25)
        at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
        at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>

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

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


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


Mime
View raw message