jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sriram Chavali <sriram.chav...@eds.com>
Subject ServletException
Date Fri, 25 Jan 2002 23:09:04 GMT
I am trying to use cactus 1.3 under Websphere 4.0. My Enterprise
application consists of 3 web apps. One of these webapps is cactus. I
have written a test case for a servlet in one of the other web apps (say
myApp1). When I try to invoke the test case, I see the following
exceptions. Do I need to have CactusRedirectorServlet deployed under
myApp1 ? The reason I had to deploy cactus in a separate web app is that
myApp1 uses an earlier version of log4j. I hit a bunch of
java.lang.NoSuchMethodException(s) in code from myApp1 thru possibly
deprecated log4j calls if I deploy them in the same web app.

Whats the solution to my problem ?

Sriram

javax.servlet.ServletException: Error finding class
[com.LM.accelis.servlet.LMSearchFormServletTest] in classpath. If you
are getting this message Cactus may not be able to see your test cases.

 Possible causes include:

 - Your webapp may not include your test classes,

 - The cactus.jar resides in a global location and your test classes
reside in a specific webapp,

 - Something else ... !

 at
org.apache.cactus.server.AbstractTestCaller.getTestClassClass(AbstractTestCaller.java:339)

 at
org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(AbstractTestCaller.java:298)

 at
org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller.java:128)

 at
org.apache.cactus.server.AbstractTestController.handleRequest$ajcPostAround7(LogAspect.java(1k):120)

 at
org.apache.cactus.server.AbstractTestController.handleRequest$ajcPostAround7$ajcVoidWrapper(LogAspect.java(1k))

 at
org.apache.cactus.server.AbstractTestController.handleRequest(LogAspect.java(1k):1135)

 at
org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10(LogAspect.java(1k):131)

 at
org.apache.cactus.server.ServletTestRedirector.doPost$ajcPostAround10$ajcVoidWrapper(LogAspect.java(1k))

 at
org.apache.cactus.server.ServletTestRedirector.doPost(LogAspect.java(1k):1135)

 at
org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6(LogAspect.java(1k):105)

 at
org.apache.cactus.server.ServletTestRedirector.doGet$ajcPostAround6$ajcVoidWrapper(LogAspect.java(1k))

 at
org.apache.cactus.server.ServletTestRedirector.doGet(LogAspect.java(1k):1135)

 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:827)

 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:159)

 at
com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:286)

 at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:106)

 at
com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)

 at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)

 at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)

 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:499)

 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:278)

 at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:105)

 at
com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:67)

 at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:123)

 at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)

 at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:106)

 at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:125)

 at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)

 at
com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)

 at
com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:313)

 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:242)

 at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)




--
To unsubscribe, e-mail:   <mailto:cactus-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:cactus-user-help@jakarta.apache.org>


Mime
View raw message