[
https://issues.jboss.org/browse/AS7-1702?page=com.atlassian.jira.plugin.s...
]
Shelly McGowan commented on AS7-1702:
-------------------------------------
With this recent commit:
https://github.com/jbossas/jboss-as/commit/26cf6decdc771760837ad2f6a3f2aa...
org.jboss.as.arquillian.container.ManagementClient.getBinding(socketBinding) throws an
IllegalArgumentException:
{code}
java.lang.IllegalArgumentException
at java.net.URI.create(URI.java:842)
at
org.jboss.as.arquillian.container.ManagementClient.getBinding(ManagementClient.java:181)
at
org.jboss.as.arquillian.container.ManagementClient.extractSubSystemURI(ManagementClient.java:148)
at
org.jboss.as.arquillian.container.ManagementClient.getSubSystemURI(ManagementClient.java:90)
at
org.jboss.as.arquillian.container.ManagementClient.getDeploymentMetaData(ManagementClient.java:96)
at
org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:98)
<snip>
Caused by: java.net.URISyntaxException: Illegal character in authority at index 7:
http://${jboss.bind.address.public:127.0.0.1}:8080
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.parseAuthority(URI.java:3147)
at java.net.URI$Parser.parseHierarchical(URI.java:3058)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:578)
at java.net.URI.create(URI.java:840)
{code}
related to determining the IP address using the getInterface(intf) method:
{code}
private String getInterface(String name) {
ModelNode node =
rootNode.get("interface").get(name).get("criteria").asList().get(0).get("inet-address");
return node.resolve().asString();
}
{code}
Accept <any-address/> in Jboss AS7 configuration
------------------------------------------------
Key: AS7-1702
URL:
https://issues.jboss.org/browse/AS7-1702
Project: Application Server 7
Issue Type: Bug
Components: Test Suite
Affects Versions: 7.0.1.Final
Environment: JBoss AS 7.0.1.Final
Reporter: Alexandre Gattiker
ERROR ArquillianServiceDeployer - Cannot deploy arquillian service
java.lang.IllegalArgumentException
at org.jboss.dmr.ModelValue.asList(ModelValue.java:128)
at org.jboss.dmr.ModelNode.asList(ModelNode.java:1096)
at
org.jboss.as.arquillian.container.ManagementClient.getInterface(ManagementClient.java:185)
at
org.jboss.as.arquillian.container.ManagementClient.getBinding(ManagementClient.java:177)
at
org.jboss.as.arquillian.container.ManagementClient.extractSubSystemURI(ManagementClient.java:148)
at
org.jboss.as.arquillian.container.ManagementClient.getSubSystemURI(ManagementClient.java:90)
at
org.jboss.as.arquillian.container.ManagementClient.getDeploymentMetaData(ManagementClient.java:96)
at
org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:98)
at
org.jboss.as.arquillian.protocol.jmx.ArquillianServiceDeployer.doServiceDeploy(ArquillianServiceDeployer.java:58)
After changing the JBoss AS 7 configuration from:
<interface name="public">
<inet-address value="127.0.0.1"/>
</interface>
to:
<interface name="public">
<any-address/>
</interface>
Presumed cause:
in org.jboss.as.arquillian.container.ManagementClient in
jboss-as-arquillian-common-7.0.1.Final.jar:
return
rootNode.get("interface").get(name).get("criteria").asList().get(0).get("inet-address").asString();
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira