jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subramanian" <subramania...@mentorix.com>
Subject cactus-eclipse integration
Date Mon, 18 Aug 2003 12:23:11 GMT
From: Subramanian [mailto:subramanian.v@mentorix.com] 
Sent: 18 August 2003 14:02
To: vmassol@pivolis.com
Subject: cactus-eclipse integartion


hi ,

 I have been trying to run a testcase for a servlet from eclipse using cactus but the error
i get is the following:

 java.lang.NoSuchMethodError
 at org.apache.commons.httpclient.HttpState.toString(HttpState.java:503)
 at java.lang.String.valueOf(String.java:1947)
 at java.lang.StringBuffer.append(StringBuffer.java:370)
 at org.apache.cactus.util.CookieUtil.createHttpState(CookieUtil.java;org/apache/cactus/util/log/LogAspect.aj(1k):1190)
 at org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect$ajcPostAround9(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):169)
 at org.apache.cactus.client.connector.http.HttpClientConnectionHelper.connect(HttpClientConnectionHelper.java;org/apache/cactus/util/log/LogAspect.aj(1k):1222)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.callRunTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):200)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest$ajcPostAround7(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):119)
 at org.apache.cactus.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java;org/apache/cactus/util/log/LogAspect.aj(1k):1222)
 at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runWebTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj(1k):334)
 at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runGenericTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj(1k):282)
 at org.apache.cactus.internal.client.WebClientTestCaseDelegate.runTest(WebClientTestCaseDelegate.java;org/apache/cactus/util/log/LogAspect.aj(1k):257)
 at org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:289)
 at org.apache.cactus.ServletTestCase.runBare(ServletTestCase.java:251)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:392)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:276)
 at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:167)

I am able to run this test from the browser.

I searched in the groups and what i came to understand is there is probably cookie creation
error.

Thanks and regards

Subramanian.V


Mime
View raw message