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 RE: Failed to get the test results
Date Fri, 02 Feb 2007 10:11:16 GMT
Hello,

I run my Tests with the Java Testrunner, nothing else...

The applictaion.xml looks like that:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE 
Application 1.3//EN" "http://java.sun.com/dtd/application_1_3.dtd">
<application id="Application_ID">
	<display-name>BOB_BatchProcessManager</display-name>
	<module id="EjbModule_1116586413414">
		<ejb>BOB_BatchProcessManagerEJB.jar</ejb>
	</module>
	<module id="WebModule_1170410967555">
		<web>
			<web-uri>BOB_JUnitWebClient.war</web-uri>
			<context-root>BOB_JUnitWebClient</context-root>
		</web>
	</module>
</application>


Regards
Matts


>From: "Magnus Grimsell" <magnus.grimsell@idainfront.se>
>Reply-To: "Cactus Users List" <cactus-user@jakarta.apache.org>
>To: "Cactus Users List" <cactus-user@jakarta.apache.org>
>Subject: RE: Failed to get the test results
>Date: Tue, 23 Jan 2007 17:57:08 +0100
>
>How do you run your tests? Could you submit an Ant-script or something like 
>that.
>
>What does the application.xml of your ear look like?
>
> > -----Original Message-----
> > From: matts Sundin [mailto:matts.sundin@hotmail.com]
> > Sent: Tuesday, January 23, 2007 5:38 PM
> > To: cactus-user@jakarta.apache.org
> > Subject: Failed to get the test results
> >
> >
> >
> > 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.DefaultHttpCl
> > ient.doTest_aroundBody0(DefaultHttpClient.java:92)
> > 	at
> > org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> > ient.doTest_aroundBody1$advice(DefaultHttpClient.java:306)
> > 	at
> > org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> > ient.doTest(DefaultHttpClient.java)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runWebTest(HttpProtocolHandler.java:159)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runTest_aroundBody0(HttpProtocolHandler.java:80)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runTest(HttpProtocolHandler.java)
> > 	at
> > org.apache.cactus.internal.client.ClientTestCaseCaller.runTest
> > (ClientTestCaseCaller.java:144)
> > 	at
> > org.apache.cactus.internal.AbstractCactusTestCase.runBareClien
> > t(AbstractCactusTestCase.java:215)
> > 	at
> > org.apache.cactus.internal.AbstractCactusTestCase.runBare(Abst
> > ractCactusTestCase.java:133)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.runTest(AbstractT
> > estSuite.java:259)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.run_aroundBody0(A
> > bstractTestSuite.java:250)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.run_aroundBody1$a
> > dvice(AbstractTestSuite.java:224)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.run(AbstractTestS
> > uite.java)
> > 	at
> > com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(Rea
> > lEstateServiceTest.java:102)
> > org.apache.cactus.internal.client.ParsingException: Not a
> > valid response
> > [500 Internal Server Error]
> > 	at
> > org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> > ient.callGetResult(DefaultHttpClient.java:211)
> > 	at
> > org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> > ient.doTest_aroundBody0(DefaultHttpClient.java:87)
> > 	at
> > org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> > ient.doTest_aroundBody1$advice(DefaultHttpClient.java:306)
> > 	at
> > org.apache.cactus.internal.client.connector.http.DefaultHttpCl
> > ient.doTest(DefaultHttpClient.java)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runWebTest(HttpProtocolHandler.java:159)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runTest_aroundBody0(HttpProtocolHandler.java:80)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runTest_aroundBody1$advice(HttpProtocolHandler.java:306)
> > 	at
> > org.apache.cactus.internal.client.connector.http.HttpProtocolH
> > andler.runTest(HttpProtocolHandler.java)
> > 	at
> > org.apache.cactus.internal.client.ClientTestCaseCaller.runTest
> > (ClientTestCaseCaller.java:144)
> > 	at
> > org.apache.cactus.internal.AbstractCactusTestCase.runBareClien
> > t(AbstractCactusTestCase.java:215)
> > 	at
> > org.apache.cactus.internal.AbstractCactusTestCase.runBare(Abst
> > ractCactusTestCase.java:133)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.runTest(AbstractT
> > estSuite.java:259)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.run_aroundBody0(A
> > bstractTestSuite.java:250)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.run_aroundBody1$a
> > dvice(AbstractTestSuite.java:224)
> > 	at
> > org.apache.cactus.internal.AbstractTestSuite.run(AbstractTestS
> > uite.java)
> > 	at
> > com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(Rea
> > lEstateServiceTest.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/
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: cactus-user-help@jakarta.apache.org
> >
> >
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: cactus-user-help@jakarta.apache.org
>

_________________________________________________________________
Die Vielfalt der Optionen lässt Sie im Internet erfolgreich recherchieren. 
http://search.msn.ch/


Mime
View raw message