logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SCOTT FARQUHAR" <SCOTT.FARQU...@sydneywater.com.au>
Subject Websphere class problem with log4j
Date Mon, 09 Apr 2001 22:48:00 GMT
I know that it is probably a Websphere problem, but I'm hoping that perhaps someone has come
across this before:

When using log4j from a jsp, I have no problems.  As soon as I use it from a servlet, I get
the following error:
java.lang.NoClassDefFoundError: org/apache/log4j/Category

Can anyone shed any light on why the jsp classloader has no problems, whilst the servlet one
does?

Thanks 

Scott

java.lang.NoClassDefFoundError: org/apache/log4j/Category
	at com.swc.cibs.edeveloper.LogTest.doGet(LogTest.java:47)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:626)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:160)
	at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:287)
	at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:105)
	at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:360)
	at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:775)
	at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:701)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:404)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:203)
	at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:107)
	at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:77)
	at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
	at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:155)
	at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:300)
	at com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(SQEventListenerImp.java:230)
	at com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(SQEventListenerImp.java:104)
	at com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(SQEventSource.java:212)
	at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.notifyService(SQWrapperEventSource.java:353)
	at com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRunnable.run(SQWrapperEventSource.java:220)
	at com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run(OutOfProcThread.java:248)
	at java.lang.Thread.run(Thread.java:481)






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


Mime
View raw message