Uploaded image for project: 'WildFly Arquillian'
  1. WildFly Arquillian
  2. WFARQ-4

Injection of ArquillianResource URL fails in Wildfly 10 CR4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.Beta1
    • 1.1.0.Beta1
    • None

      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

          @ArquillianResource
          private URL url;
      

      However, I see this output when running (note that my HTTP listener is on 8082)

      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
      

      It would appear that the host portion of the URL is being lost.

              Unassigned Unassigned
              meetoblivion_jira John Ament (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: