Hello,
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>
</protocol-->
<configuration>
<property name="managementAddress">${management.address}</property>
<property name="managementPort">${management.port}</property>
<property name="username">${admin.user.name}</property>
<property name="password">${password}</property>
</configuration>
</container>
</arquillian>
When management.address is localhost, or 127.0.0.1 or my local host IP address everything is okay as the server is started with -b=0.0.0.0 -bmanagement=0.0.0.0. But as soon as the management.address is the IP address on a different host on the same local network, started with -b=0.0.0.0 -bmanagement=0.0.0.0 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 http://0.0.0.0:8080/test/ArquillianServletRunner?
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,
Nicolas