jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dimitri PISSARENKO <dimitri.pissare...@gmx.net>
Subject Testing EJBs with Cactus
Date Fri, 26 Jul 2002 22:18:32 GMT
Hello!

I'm new to Cactus and tried to test my EJBs on an app server by means
of cactus.

However, when running JUnit I get the following error:

java.net.ConnectException: Connection refused: no further information

	at java.net.PlainSocketImpl.socketConnect(Native Method)

	at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:312)

	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:125)

	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:112)

	at java.net.Socket.<init>(Socket.java:273)

	at java.net.Socket.<init>(Socket.java:100)

	at sun.net.NetworkClient.doConnect(NetworkClient.java:50)

	at sun.net.www.http.HttpClient.openServer(HttpClient.java:331)

	at sun.net.www.http.HttpClient.openServer(HttpClient.java:517)

	at sun.net.www.http.HttpClient.<init>(HttpClient.java:267)

	at sun.net.www.http.HttpClient.<init>(HttpClient.java:277)

	at sun.net.www.http.HttpClient.New(HttpClient.java:289)

	at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:379)

	at
org.apache.cactus.client.HttpClientHelper.dispatch22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):179)

	at
org.apache.cactus.client.HttpClientHelper.around22_connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)

	at
org.apache.cactus.client.HttpClientHelper.connect(HttpClientHelper.java;org/apache/cactus/util/log/LogAspect.java(1k):125)

	at
org.apache.cactus.client.AbstractHttpClient.callRunTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):188)

	at
org.apache.cactus.client.AbstractHttpClient.dispatch1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):120)

	at
org.apache.cactus.client.AbstractHttpClient.around1_doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):1221)

	at
org.apache.cactus.client.AbstractHttpClient.doTest(AbstractHttpClient.java;org/apache/cactus/util/log/LogAspect.java(1k):115)

	at
org.apache.cactus.AbstractTestCase.runGenericTest(AbstractTestCase.java:457)

	at
org.apache.cactus.ServletTestCase.runTest(ServletTestCase.java:133)

	at
org.apache.cactus.AbstractTestCase.runBare(AbstractTestCase.java:400)


How can I avoid this problem?

I'm using JBoss 3.0.0 (including Tomcat 4.0) as app server.

Thanks

Dimitri Pissarenko

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


Mime
View raw message