jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kumar_maniranjan" <Kumar_maniran...@infosys.com>
Subject Servlet Exception...
Date Sun, 04 Aug 2002 12:10:27 GMT
hi,

I m getting this error while trying to test my application on weblogic(Please see stack-trace).
Is it necessary to include test classes in the application's WAR and have cactus.jar in the
WEF-INF/lib directory? Cant we do without it? As it will simply mix-up test classes with the
actual project. 

Hoping for a fast reply,
regards,
Maniranjan Kumar 







Test Server Log File
-----------------------------
javax.servlet.ServletException: Error finding class [test.com.***.************.ejb.positions.Test*******SessionBean]
using both the Context classloader and the webapp classloader. Possible causes include:
	- Your webapp does not include your test classes,
	- The cactus.jar is not located in your WEB-INF/lib directory and your Container has not
set the Context classloader to point to the webapp one
	at org.apache.cactus.server.AbstractTestCaller.getTestClassClass(AbstractTestCaller.java:349)
	at org.apache.cactus.server.AbstractTestCaller.getTestClassInstance(AbstractTestCaller.java:298)
	at org.apache.cactus.server.AbstractTestCaller.doTest(AbstractTestCaller.java:142)
	at org.apache.cactus.server.AbstractTestController.dispatch79_handleRequest(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):123)
	at org.apache.cactus.server.AbstractTestController.around79_handleRequest(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):1140)
	at org.apache.cactus.server.AbstractTestController.handleRequest(AbstractTestController.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
	at org.apache.cactus.server.ServletTestRedirector.dispatch88_doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):132)
	at org.apache.cactus.server.ServletTestRedirector.around88_doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):1140)
	at org.apache.cactus.server.ServletTestRedirector.doPost(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):118)
	at org.apache.cactus.server.ServletTestRedirector.dispatch87_doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):105)
	at org.apache.cactus.server.ServletTestRedirector.around87_doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):1140)
	at org.apache.cactus.server.ServletTestRedirector.doGet(ServletTestRedirector.java;org/apache/cactus/util/log/LogAspect.java(1k):101)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
	at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:21)
	at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
	at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2464)
	at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2039)
	at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
	at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)

--
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