]
Tomaz Cerar commented on WFLY-5684:
-----------------------------------
Problem is not only when you are running client on 127.0.0.1 bigger one is when you are
trying to connect to remote machine.
But yeah we should probably move that to WFARQ
Injection of ArquillianResource URL fails in Wildfly 10 CR4
-----------------------------------------------------------
Key: WFLY-5684
URL:
https://issues.jboss.org/browse/WFLY-5684
Project: WildFly
Issue Type: Bug
Affects Versions: 1.1.0.Alpha2
Reporter: John Ament
Assignee: Jason Greene
I recently added injection of an ArquillianResource URL to a test. I also just tried
upgrading from WF9 to WF10.CR4. In CR4, it seems that this injection is working a bit
weird.
My injection is very simple
{code}
@ArquillianResource
private URL url;
{code}
However, I see this output when running (note that my HTTP listener is on 8082)
{code}
11:37:40,922 INFO [org.apache.http.impl.client.DefaultHttpClient] (default task-46) I/O
exception (java.net.SocketException) caught when connecting to {}->http://[::]:8082:
Network is unreachable
11:37:40,922 INFO [org.apache.http.impl.client.DefaultHttpClient] (default task-46)
Retrying connect to {}->http://[::]:8082
11:37:47,069 INFO [org.apache.http.impl.client.DefaultHttpClient] (default task-46) I/O
exception (java.net.SocketException) caught when connecting to {}->http://[::]:8082:
Network is unreachable
11:37:47,069 INFO [org.apache.http.impl.client.DefaultHttpClient] (default task-46)
Retrying connect to {}->http://[::]:8082 11:37:54,163 INFO
[org.apache.http.impl.client.DefaultHttpClient] (default task-46) I/O exception
(java.net.SocketException) caught when connecting to {}->http://[::]:8082: Network is
unreachable
11:37:54,163 INFO [org.apache.http.impl.client.DefaultHttpClient] (default task-46)
Retrying connect to {}->http://[::]:8082
{code}
It would appear that the host portion of the URL is being lost.