0 Replies Latest reply on Jul 6, 2012 11:35 AM by stevenarmstrong

    Arquillian across domains - invalid hostname

    stevenarmstrong

      Hey,

       

      I am trying to use Arquillian with JSFUnit.  We have two domains example.qa and example.prod, my developer machine name is ARM_LAPTOP in the example.prod domain.  Our development JBoss server is jboss.example.qa.  When I try to run the JSFUnit tests by deploying to jboss.example.qa from my laptop I get an error stating that the machine name is an unknown host, the firewall rules allow the traffic, it is just that the domain name is missing.  Is there some kind of configuration for Arquillian that I need to change to have Arquillian send the machine name as "ARM_LAPTOP.example.prod"?  Or is this a change I need to make to the machines/domains?

       

      Caused by: java.net.UnknownHostException: ARM_LAPTOP: ARM_LAPTOP

                at java.net.InetAddress.getAllByName0(InetAddress.java:1270)

                at java.net.InetAddress.getAllByName(InetAddress.java:1197)

                at java.net.InetAddress.getAllByName(InetAddress.java:1119)

                at java.net.InetAddress.getByName(InetAddress.java:1069)

                at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getAddressByName(MicroSocketClientInvoker.java:1410)

                at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.setup(MicroSocketClientInvoker.java:538)

                at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.<init>(MicroSocketClientInvoker.java:292)

                at org.jboss.remoting.transport.socket.SocketClientInvoker.<init>(SocketClientInvoker.java:78)

                at org.jboss.remoting.transport.socket.TransportClientFactory.createClientInvoker(TransportClientFactory.java:39)

                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

                at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)

                at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

                at java.lang.reflect.Method.invoke(Method.java:611)

                at org.jboss.remoting.InvokerRegistry.loadClientInvoker(InvokerRegistry.java:460)

                at org.jboss.remoting.InvokerRegistry.createClientInvoker(InvokerRegistry.java:359)

                at org.jboss.remoting.Client$4.run(Client.java:651)

                at java.security.AccessController.doPrivileged(AccessController.java:251)

                at org.jboss.remoting.Client.connect(Client.java:647)

                at org.jboss.remoting.Client.connect(Client.java:595)

                at org.jboss.remoting.stream.StreamHandler.<init>(StreamHandler.java:77)

                at org.jboss.remoting.ServerInvoker.getStreamHandler(ServerInvoker.java:2113)

                at org.jboss.remoting.ServerInvoker.handleInternalInvocation(ServerInvoker.java:1804)

                at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:885)

                at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:791)

                at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:744)

                at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:548)

                at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:234)