axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tardif, Sebastien" <STAR...@anacomp.com>
Subject Test Suite fail with: java.net.ConnectException: Connection refused: connect when doing start-signature-signing-and-verification
Date Tue, 16 Nov 2004 18:41:55 GMT
Does anybody experimented this and found a solution?

start-signature-signing-and-verification:
     [java] Processing file C:\axis-src\ws-axis\java/samples/security/serversecuritydeploy.wsdd
     [java] Exception: AxisFault
     [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     [java]  faultSubcode:
     [java]  faultString: java.net.ConnectException: Connection refused: connect
     [java]  faultActor:
     [java]  faultNode:
     [java]  faultDetail:
     [java]     {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection
refused: connect
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
     [java]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
     [java]     at java.net.Socket.connect(Socket.java:452)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:324)
     [java]     at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:135)
     [java]     at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:99)
     [java]     at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:131)
     [java]     at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:370)
     [java]     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
     [java]     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
     [java]     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
     [java]     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
     [java]     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
     [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2702)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:1738)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:438)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:403)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:409)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
     [java]     at org.apache.axis.client.AdminClient.main(AdminClient.java:462)

     [java]     {http://xml.apache.org/axis/}hostname:stardif

     [java] Java Result: 1
     [java] Exception: AxisFault
     [java]  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
     [java]  faultSubcode:
     [java]  faultString: java.net.ConnectException: Connection refused: connect
     [java]  faultActor:
     [java]  faultNode:
     [java]  faultDetail:
     [java]     {http://xml.apache.org/axis/}stackTrace:java.net.ConnectException: Connection
refused: connect
     [java]     at java.net.PlainSocketImpl.socketConnect(Native Method)
     [java]     at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
     [java]     at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
     [java]     at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
     [java]     at java.net.Socket.connect(Socket.java:452)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:324)
     [java]     at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:135)
     [java]     at org.apache.axis.components.net.DefaultSocketFactory.create(DefaultSocketFactory.java:99)
     [java]     at org.apache.axis.transport.http.HTTPSender.getSocket(HTTPSender.java:131)
     [java]     at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:370)
     [java]     at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:88)
     [java]     at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
     [java]     at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
     [java]     at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
     [java]     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:147)
     [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2702)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:1738)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:438)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:403)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:409)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
     [java]     at org.apache.axis.client.AdminClient.main(AdminClient.java:462)

     [java]     {http://xml.apache.org/axis/}hostname:stardif

     [java] Java Result: 1
     [java] <?xml version="1.0" encoding="UTF-8"?>
     [java] <Admin>Done processing</Admin>

start-functional-test-http-server-secure:
     [echo] Starting test http server.
     [java] - starting up SimpleAxisServer on port 8080 (C:\axis-src\ws-axis\java\build)
     [java] <?xml version="1.0" encoding="UTF-8"?>
     [java] <Admin>Done processing</Admin>

junit-functional-secure:
    [junit] Running test.functional.TestBidBuySample
    [junit] - Testing bidbuy sample.
    [junit] - Testing deployment...
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 1.313 sec
     [java] - TCPListener received new connection: Socket[addr=/127.0.0.1,port=2482,localport=8088]
     [java] - AxisListener quitting.

stop-signature-signing-and-verification:
     [java] Processing file samples/security/serversecurityundeploy.wsdd
     [java] java.lang.IllegalAccessError: tried to access field org.apache.xpath.compiler.FunctionTable.m_functions
from class org.apache.xml.security.Init
     [java]     at org.apache.xml.security.Init.init(Unknown Source)
     [java]     at samples.security.ClientSigningHandler.<clinit>(ClientSigningHandler.java:34)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:219)
     [java]     at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
     [java]     at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
     [java]     at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:507)
     [java]     at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:264)
     [java]     at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:344)
     [java]     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:133)
     [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2702)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:1738)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:438)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:403)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:409)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:319)
     [java]     at org.apache.axis.client.AdminClient.main(AdminClient.java:462)
     [java] Exception in thread "main"
     [java] Java Result: 1
     [java] <?xml version="1.0" encoding="UTF-8"?>
     [java] <Admin>Done processing</Admin>

stop-functional-test-http-server-secure:
     [echo] Stopping test http server.
     [java] java.lang.IllegalAccessError: tried to access field org.apache.xpath.compiler.FunctionTable.m_functions
from class org.apache.xml.security.Init
     [java]     at org.apache.xml.security.Init.init(Unknown Source)
     [java]     at samples.security.ClientSigningHandler.<clinit>(ClientSigningHandler.java:34)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:219)
     [java]     at org.apache.axis.utils.ClassUtils$2.run(ClassUtils.java:176)
     [java]     at java.security.AccessController.doPrivileged(Native Method)
     [java]     at org.apache.axis.utils.ClassUtils.loadClass(ClassUtils.java:160)
     [java]     at org.apache.axis.utils.ClassUtils.forName(ClassUtils.java:100)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getJavaClass(WSDDDeployableItem.java:353)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:295)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
     [java]     at org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
     [java]     at org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:507)
     [java]     at org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:264)
     [java]     at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:344)
     [java]     at org.apache.axis.client.AxisClient.invoke(AxisClient.java:133)
     [java]     at org.apache.axis.client.Call.invokeEngine(Call.java:2719)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:2702)
     [java]     at org.apache.axis.client.Call.invoke(Call.java:1738)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:438)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:388)
     [java]     at org.apache.axis.client.AdminClient.quit(AdminClient.java:212)
     [java]     at org.apache.axis.client.AdminClient.quit(AdminClient.java:195)
     [java]     at org.apache.axis.client.AdminClient.process(AdminClient.java:302)
     [java]     at org.apache.axis.client.AdminClient.main(AdminClient.java:462)
     [java] Exception in thread "main"
     [java] Java Result: 1
[runaxisfunctionaltests] RunAxisFunctionalTestsTask.callStop successfully sent quit message.

BUILD FAILED
C:\axis-src\ws-axis\java\build.xml:339: The following error occurred while executing this
line:
C:\axis-src\ws-axis\java\buildTest.xml:252: The following error occurred while executing this
line:
C:\axis-src\ws-axis\java\buildTest.xml:266: The following error occurred while executing this
line:
C:\axis-src\ws-axis\java\buildTest.xml:222: Test test.functional.TestBidBuySample failed

Total time: 14 minutes 42 seconds

Mime
View raw message