This content has been marked as final. Show 2 replies
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">
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.