[jboss-jira] [JBoss JIRA] (WFLY-5684) Injection of ArquillianResource URL fails in Wildfly 10 CR4
John Ament (JIRA)
issues at jboss.org
Mon Nov 16 09:49:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-5684?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13129267#comment-13129267 ]
John Ament commented on WFLY-5684:
----------------------------------
I'm not particularly good w/ CLI, but this command doesn't seem to work for me
{code}
You are disconnected at the moment. Type 'connect' to connect to the server or 'help' for the list of supported commands.
[disconnected /] connect
[standalone at localhost:9990 /] /socket-binding-group=/socket-binding=:read-resource
Can't reset to root in the middle of the path @22
[standalone at localhost:9990 /] cd socket-binding-group
[standalone at localhost:9990 socket-binding-group] ls
standard-sockets
[standalone at localhost:9990 socket-binding-group] cd standard-sockets
[standalone at localhost:9990 socket-binding-group=standard-sockets] read-resource
Unexpected command 'read-resource'. Type 'help --commands' for the list of supported commands.
[standalone at localhost:9990 socket-binding-group=standard-sockets] help --commands
Commands available in the current context:
batch connection-info echo-dmr jms-topic read-attribute try
cd data-source help ls read-operation undeploy
clear deploy history module reload unset
command deployment-info if patch run-batch version
connect deployment-overlay jdbc-driver-info pwd set xa-data-source
connection-factory echo jms-queue quit shutdown
To read a description of a specific command execute 'command_name --help'.
[standalone at localhost:9990 socket-binding-group=standard-sockets] read-attribute
Required argument --name is not specified.
[standalone at localhost:9990 socket-binding-group=standard-sockets]
{code}
> 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: 10.0.0.CR4
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list