2 Replies Latest reply on Nov 30, 2016 3:36 PM by Dusan Strnal

    Can't run Arquillian tests on remote server on a different host

    nicolas duminil Master



      My Arquillian tests run correctly on a Wildfly 10 remote server, as far as this server is on the same host. This is my config file:


      <arquillian xmlns="http://jboss.org/schema/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">

        <defaultProtocol type="Servlet 3.0"/>

        <container qualifier="wildfly10" default="true">

          <!-- protocol type="Servlet 3.0">

            <property name="host">${management.address}</property>

            <property name="port">${management.port}</property>



            <property name="managementAddress">${management.address}</property>

            <property name="managementPort">${management.port}</property>

            <property name="username">${admin.user.name}</property>

            <property name="password">${password}</property>





      When management.address is localhost, or or my local host IP address everything is okay as the server is started with -b= -bmanagement= But as soon as the management.address is the IP address on a different host on the same local network, started with -b= -bmanagement= the test don't run any more raising the following exception:


      java.lang.IllegalStateException: Error launching test ...

      Caused by: java.lang.IllegalStateException: Error launching request at

      outputMode=serializedObject&className=...&methodName=.... No result returned


      I have googled around and found dozens of posts reporting the same issue but I didn't find any solution or the solutions mentioned didn't work for me.


      Many thanks in advance for any help.


      Kind regards,