1 Reply Latest reply on Dec 22, 2011 1:09 AM by arik23

    socket connection error with jboss 6

    arik23

      hi,

      I have an issue similar to this one : http://community.jboss.org/wiki/WhyDoIGetASocketConnectionErrorWhenUsingRemoteJBossAS.

       

      I receive the following exception when tring to use arquillian (notice that I'm the only one that recieve this error in my work place, so it seems that there is something with my enviorment). this articale suggest to change my etc/hosts file and add some mapping to my local host (127.0.0.1) but it doesn't seems to help in my case.

       

      I'm using jboss 6

       

      thanks

       

      Caused by: org.jboss.arquillian.spi.DeploymentException: Failed to deploy test.war
         at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.deploy(JBossASRemoteContainer.java:169)
         at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:62)
         at org.jboss.arquillian.impl.handler.ContainerDeployer.callback(ContainerDeployer.java:50)
         at org.jboss.arquillian.impl.event.MapEventManager.fire(MapEventManager.java:63)
         ... 18 more
      Caused by: java.lang.RuntimeException: java.io.IOException: Can not get connection to server.
            Problem establishing socket connection for InvokerLocator [socket://myhost: 63209/]
         at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.transferDeployment(StreamingDeploymentTarget.java:286)
         at org.jboss.profileservice.management.client.upload.StreamingDeploymentTarget.distribute(StreamingDeploymentTarget.java:106)
         at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.distribute(DeploymentProgressImpl.java:178)
         at org.jboss.profileservice.management.client.upload.DeploymentProgressImpl.run(DeploymentProgressImpl.java:83)
         at org.jboss.arquillian.container.jbossas.remote_6.JBossASRemoteContainer.deploy(JBossASRemoteContainer.java:144)
         ... 21 more