jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "matts Sundin" <matts.sun...@hotmail.com>
Subject Failed to get the test results
Date Tue, 23 Jan 2007 16:38:29 GMT

Hello,

I am new in using cactus and have the following error, when I run my test:

.E
Time: 1.328
There was 1 error:
1) 
testCase1(org.apache.cactus.ServletTestCase)org.apache.cactus.util.ChainedRuntimeException:

Failed to get the test results at 
[http://localhost:8080/BOB_JUnitWebClient/ServletRedirector]
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:92)
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:306)
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
	at 
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
	at 
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
	at 
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
	at 
org.apache.cactus.internal.AbstractTestSuite.runTest(AbstractTestSuite.java:259)
	at 
org.apache.cactus.internal.AbstractTestSuite.run_aroundBody0(AbstractTestSuite.java:250)
	at 
org.apache.cactus.internal.AbstractTestSuite.run_aroundBody1$advice(AbstractTestSuite.java:224)
	at org.apache.cactus.internal.AbstractTestSuite.run(AbstractTestSuite.java)
	at 
com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(RealEstateServiceTest.java:102)
org.apache.cactus.internal.client.ParsingException: Not a valid response 
[500 Internal Server Error]
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callGetResult(DefaultHttpClient.java:211)
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody0(DefaultHttpClient.java:87)
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest_aroundBody1$advice(DefaultHttpClient.java:306)
	at 
org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTest(DefaultHttpClient.java)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runWebTest(HttpProtocolHandler.java:159)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody0(HttpProtocolHandler.java:80)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306)
	at 
org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.runTest(HttpProtocolHandler.java)
	at 
org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTestCaseCaller.java:144)
	at 
org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(AbstractCactusTestCase.java:215)
	at 
org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactusTestCase.java:133)
	at 
org.apache.cactus.internal.AbstractTestSuite.runTest(AbstractTestSuite.java:259)
	at 
org.apache.cactus.internal.AbstractTestSuite.run_aroundBody0(AbstractTestSuite.java:250)
	at 
org.apache.cactus.internal.AbstractTestSuite.run_aroundBody1$advice(AbstractTestSuite.java:224)
	at org.apache.cactus.internal.AbstractTestSuite.run(AbstractTestSuite.java)
	at 
com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(RealEstateServiceTest.java:102)

FAILURES!!!
Tests run: 1,  Failures: 0,  Errors: 1

I have absolutely no idea what to do.
The war is in the same EAR like my EJB.
Could anyone help me?

-Thanks

regards

Matts

_________________________________________________________________
Die MSN Homepage liefert Ihnen alle Infos zu Ihren Lieblingsthemen. 
http://ch.msn.com/


Mime
View raw message