ws-kandula-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <andreas.maierho...@bt.com>
Subject RE: Test suit Error
Date Wed, 18 Jan 2006 14:51:04 GMT
By default the client tries to connect to 8081, use axis' tcpmon to forward connections from
8081 to the port your tomcat is running on. 


-----Original Message-----
From: Ruben DF [mailto:rdocasalf@yahoo.es] 
Sent: 18 January 2006 14:47
To: Maierhofer,A,Andreas,CXR7A C; kandula-dev@ws.apache.org
Subject: RE: Test suit Error

I'm using 5.5.12 version TOMCAT and Axis 1.3. I think
is the newest version of TOMCAT. The content of my
TEST-TestSuite1PortTypeServiceTestCase.txt file is:

Testsuite: TestSuite1PortTypeServiceTestCase
Tests run: 1, Failures: 0, Errors: 1, Time elapsed:
8,292 sec

Testcase: test4TestSuite1TestPrepareCommit took 8,232
sec
	Caused an ERROR
; nested exception is: 
	java.net.ConnectException: Connection refused:
connect
AxisFault
 faultCode:
{http://schemas.xmlsoap.org/soap/envelope/}Server.userException
 faultSubcode: 
 faultString: java.net.ConnectException: Connection
refused: connect
 faultActor: 
 faultNode: 
 faultDetail: 

{http://xml.apache.org/axis/}stackTrace:java.net.ConnectException:
Connection refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native
Method)
	at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:507)
	at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
	at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
	at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
	at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
	at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
	at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
	at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	at org.apache.axis.client.Call.invoke(Call.java:2767)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at
TestSuite1SoapBindingStub.testPrepareCommit(Unknown
Source)
	at
TestSuite1PortTypeServiceTestCase.test4TestSuite1TestPrepareCommit(Unknown
Source)

	{http://xml.apache.org/axis/}hostname:rubendf

java.net.ConnectException: Connection refused: connect
	at
org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
	at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154)
	at
org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
	at
org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
	at
org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
	at
org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
	at
org.apache.axis.client.Call.invokeEngine(Call.java:2784)
	at org.apache.axis.client.Call.invoke(Call.java:2767)
	at org.apache.axis.client.Call.invoke(Call.java:2443)
	at org.apache.axis.client.Call.invoke(Call.java:2366)
	at org.apache.axis.client.Call.invoke(Call.java:1812)
	at
TestSuite1SoapBindingStub.testPrepareCommit(Unknown
Source)
	at
TestSuite1PortTypeServiceTestCase.test4TestSuite1TestPrepareCommit(Unknown
Source)
Caused by: java.net.ConnectException: Connection
refused: connect
	at java.net.PlainSocketImpl.socketConnect(Native
Method)
	at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
	at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
	at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
	at
java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
	at java.net.Socket.connect(Socket.java:507)
	at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:153)
	at
org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:120)
	at
org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:191)
	at
org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:404)
	at
org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
	... 40 more


I think you're right, Andreas, the error can be due to
the wrong installation (I can list the services but I
have the error I said you in the previous posting). I
will go on exploring what happens with that.

Thank you very much

regards




 --- andreas.maierhofer@bt.com escribió:

> 
> As far as I can tell you are running the test
> correctly, see
> TEST-TestSuite1PortTypeServiceTestCase.txt in the
> test-case1 dir
> for details of your error. 
> 
> If you still cannot list the installed services as
> mentioned in your previous posting something is
> wrong with your installation. 
> 
> If you followed the steps in README.1st you could
> try upgrading your tomcat installation, I remember
> having troubles with new axis versions and old
> tomcat installations. 
> 
> 
> -----Original Message-----
> From: Ruben DF [mailto:rdocasalf@yahoo.es] 
> Sent: 18 January 2006 13:54
> To: kandula kandula
> Subject: Test suit Error
> 
> Hi,
> 
> I've made Test-suite1 by the follow command:
> 
> "ant test"
> 
> The output shows me an error and I dont know why
> happen that. The output is:
> 
>
D:\misDatos\TFC\Kandula_1\src\samples\test-suite1>ant
> test
> Buildfile: build.xml
> 
> test:
>     [junit] Running
> TestSuite1PortTypeServiceTestCase
>     [junit] Tests run: 1, Failures: 0, Errors: 1,
> Time
> elapsed: 8,292 sec
>     [junit] Test TestSuite1PortTypeServiceTestCase
> FAILED
> 
> BUILD SUCCESSFUL
> Total time: 15 seconds
> 
> is it correct? Am I using the correct command? if
> not,
> how can I test the Test-Suite1? At README.1st file
> there is not how test it.
> 
> Thanks
> 
> Regards
> 
> 
> 		
> ______________________________________________ 
> LLama Gratis a cualquier PC del Mundo. 
> Llamadas a fijos y móviles desde 1 céntimo por
> minuto. 
> http://es.voice.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> kandula-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> kandula-dev-help@ws.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> kandula-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> kandula-dev-help@ws.apache.org
> 
> 



		
______________________________________________ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: kandula-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: kandula-dev-help@ws.apache.org


Mime
View raw message