Fabian,
You should be running the Application server with the war deployed in it The war should have the test classes in it and after that you should try Executing the test cases OK. Thanks and Regards Bhanuprakash Singh -----Original Message----- From: Fabian Hagen [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 16, 2007 2:18 PM To: cactus-user@jakarta.apache.org Subject: Connection refused: connect Hello, When I start my test, I have the following error: .E Time: 1.141 There was 1 error: 1) testCase1(com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest)java.net .ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:336) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:201) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:188) at java.net.Socket.connect(Socket.java:478) at java.net.Socket.connect(Socket.java:428) at java.net.Socket.<init>(Socket.java:335) at java.net.Socket.<init>(Socket.java:150) at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.crea teSocket(DefaultProtocolSocketFactory.java:86) at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:65 2) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:6 28) at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:5 26) at org.apache.cactus.internal.client.connector.http.HttpClientConnectionHel per.connect_aroundBody0(HttpClientConnectionHelper.java:142) at org.apache.cactus.internal.client.connector.http.HttpClientConnectionHel per.connect_aroundBody1$advice(HttpClientConnectionHelper.java:306) at org.apache.cactus.internal.client.connector.http.HttpClientConnectionHel per.connect(HttpClientConnectionHelper.java) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.callR unTest(DefaultHttpClient.java:162) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTes t_aroundBody0(DefaultHttpClient.java:80) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTes t_aroundBody1$advice(DefaultHttpClient.java:306) at org.apache.cactus.internal.client.connector.http.DefaultHttpClient.doTes t(DefaultHttpClient.java) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.run WebTest(HttpProtocolHandler.java:159) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.run Test_aroundBody0(HttpProtocolHandler.java:80) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.run Test_aroundBody1$advice(HttpProtocolHandler.java:306) at org.apache.cactus.internal.client.connector.http.HttpProtocolHandler.run Test(HttpProtocolHandler.java) at org.apache.cactus.internal.client.ClientTestCaseCaller.runTest(ClientTes tCaseCaller.java:144) at org.apache.cactus.internal.AbstractCactusTestCase.runBareClient(Abstract CactusTestCase.java:215) at org.apache.cactus.internal.AbstractCactusTestCase.runBare(AbstractCactus TestCase.java:133) at com.ubs.swidBOB.v5.batch.basel2.RealEstateServiceTest.main(RealEstateSer viceTest.java:102) FAILURES!!! Tests run: 1, Failures: 0, Errors: 1 Does anyone have the same error and can help me? - Thanks Regards Fabian _________________________________________________________________ Was halten Sie von einer Seite, die all Ihre Lieblingsthemen beinhaltet? http://ch.msn.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]