jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Massol" <vmas...@pivolis.com>
Subject RE: cactus junit problem
Date Fri, 06 Jun 2003 21:57:08 GMT
Hi Satinder,

Several points:

1/ You're not subscribed to the cactus list so you normally never haved
received this email (but I have copied you once - You'll need to
subscribe if you want to continue the discussion). In order to
understand how mailing lists work, please read
http://jakarta.apache.org/site/mail.html

2/ Please do not spam the list. One mail is enough to get heard :-)

3/ Please help yourself by trying to fix the problem as suggested. I had
suggested something to you in my message below. Can you please update us
on whether it has worked or not.

Thank you
-Vincent

-----Original Message-----
From: Satinder Singh [mailto:satinderynr@yahoo.com] 
Sent: 03 June 2003 20:26
To: cactus-user@jakarta.apache.org
Subject: cactus junit problem

This is a cactus related issue, not a junit one so the cactus mailing
list would be more appropriate. That said, the error seems to be that
you are missing the cactus jar in your weapps's WEB-INF/lib directory.
Please continue the discussion on the cactus user mailing list.

Thanks
-Vincent

> -----Original Message-----
> From: Satinder Singh [mailto:satinderynr@yahoo.com]
> Sent: 02 June 2003 16:21
> To: junit@yahoogroups.com
> Subject: [junit] problem with junit
> 
> 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

Do you Yahoo!?
Free online calendar with sync to Outlook(TM).


Mime
View raw message