jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Satinder Singh <satinder...@yahoo.com>
Subject problem with cactus junit
Date Tue, 03 Jun 2003 18:23:45 GMT
I have experiencing the following Error when attempting to run
> TestSampleServlet.  I am using tomcat 3.2.1 as my
> servlet engine.
> 
> and when I type the following address
> 
> http://localhost:8080/test/ServletTestRunner?suite=TestSampleServlet
> 
> I get the following error.
> 
> 
> HTTP Status 500 -
> ---------------------------------
> 
> type Exception report
> 
> message
> 
> description The server encountered an internal error () that prevented
it
> from fulfilling this request.
> 
> exception
> javax.servlet.ServletException: Wrapper cannot find servlet class
> org.apache.cactus.server.runner.ServletTestRunner or a class it
depends on
>       at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:
> 891)      at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
68
> )      at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
> java:210)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
> java:191)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
>       at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:1
> 80)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lv
> e.java:171)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:641)      at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:1
> 72)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:641)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
> va:174)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:59
4)
>       at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
on
> nection(Http11Protocol.java:392)      at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
>       at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.j
> ava:619)      at java.lang.Thread.run(Thread.java:536)
> 
> 
> 
> root cause
> java.lang.ClassNotFoundException:
> org.apache.cactus.server.runner.ServletTestRunner      at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.j
> ava:1443)      at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader
.j
> ava:1289)      at
>
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.jav
a:
> 885)      at
>
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:6
68
> )      at
>
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.
> java:210)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv
e.
> java:191)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.catalina.core.StandardContext.invoke(StandardContext.java:241
5)
>       at
>
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:1
> 80)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lv
> e.java:171)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:641)      at
>
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:1
> 72)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:641)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.
ja
> va:174)      at
>
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nv
> okeNext(StandardPipeline.java:643)      at
>
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:4
80
> )      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at
>
org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at
>
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:59
4)
>       at
>
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processC
on
> nection(Http11Protocol.java:392)      at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:56
5)
>       at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool
.j
> ava:619)      at java.lang.Thread.run(Thread.java:536)




---------------------------------
Do you Yahoo!?
Free online calendar with sync to Outlook(TM).
Mime
View raw message