jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <mgai...@hotmail.com>
Subject Re: Exception in constructor: testSaveToSessionOK
Date Mon, 05 Jan 2004 12:00:45 GMT
Try putting
commons-httpclient-rc2.jar in in your
TestCactus.ear/TestCactus.war/WEB-INF/lib.
-Martin

----- Original Message -----
From: "Pujari, Ashis" <ashis.pujari@cbm.com>
To: "Cactus Users List" <cactus-user@jakarta.apache.org>
Sent: Sunday, January 04, 2004 10:14 PM
Subject: RE: Exception in constructor: testSaveToSessionOK



After a lot of playing around, I overwrote the following files
[commons-httpclient.jar & commons-logging.jar] contained in JBoss with
the latest ones from Cactus. I got rid of the "Exception in constructor"
error but Now I get the following error :-(:


<?xml version="1.0" encoding="UTF-8" ?>
- <testsuites>
- <testsuite name="org.apache.cactus.TestSampleServlet" tests="1"
failures="0" errors="1" time="0.02">
- <testcase name="testSaveToSessionOK" time="0.01">
  <error message="null"
type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError at
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.conne
ct_aroundBody0(HttpClientConnectionHelper.java:143) at
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.conne
ct_aroundBody1$advice(HttpClientConnectionHelper.java:222) at
org.apache.cactus.client.connector.http.HttpClientConnectionHelper.conne
ct(HttpClientConnectionHelper.java) at
org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(De
faultHttpClient.java:201) at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundB
ody0(DefaultHttpClient.java:119) at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest_aroundB
ody1$advice(DefaultHttpClient.java:222) at
org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(Default
HttpClient.java) at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(W
ebClientTestCaseDelegate.java:333) at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTe
st(WebClientTestCaseDelegate.java:281) at
org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebC
lientTestCaseDelegate.java:257) at
org.apache.cactus.server.runner.ServletTestRunner.run(ServletTestRunner.
java:313) at
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody0(Serv
letTestRunner.java:209) at
org.apache.cactus.server.runner.ServletTestRunner.doGet_aroundBody1$advi
ce(ServletTestRunner.java:151) at
org.apache.cactus.server.runner.ServletTestRunner.doGet(ServletTestRunne
r.java) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica
tionFilterChain.java:247) at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt
erChain.java:193) at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv
e.java:256) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(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
nvokeNext(StandardPipeline.java:643) at
org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.ja
va:246) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(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.StandardContext.invoke(StandardContext.java:241
5) at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java
:180) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:643) at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherVa
lve.java:171) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641) at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java
:172) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(StandardPipeline.java:641) at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:509
) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(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.
java:174) at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.i
nvokeNext(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
onnection(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
java:619) at java.lang.Thread.run(Thread.java:479)</error>
  </testcase>
  </testsuite>
  </testsuites>

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



Mime
View raw message