The WildFly Arquillian ManagementClient should not assume undertow is
enabled
-----------------------------------------------------------------------------
Key: WFLY-4771
URL:
https://issues.jboss.org/browse/WFLY-4771
Project: WildFly
Issue Type: Bug
Components: Test Suite
Reporter: Tristan Tarrant
Assignee: Tristan Tarrant
Fix For: 10.0.0.Alpha4
When using wildfly-arquillian with infinispan-server, the connection to the managed
server breaks with the following exception:
java.lang.RuntimeException:
org.jboss.as.arquillian.container.ManagementClient$UnSuccessfulOperationException:
"WFLYCTL0030: No resource definition is registered for address
[(\"subsystem\" => \"undertow\")]"
at
org.jboss.as.arquillian.container.ManagementClient.getWebUri(ManagementClient.java:143)
at
org.jboss.as.arquillian.container.ManagementClient.getProtocolMetaData(ManagementClient.java:160)
at
org.jboss.as.arquillian.container.CommonDeployableContainer.deploy(CommonDeployableContainer.java:145)
at
org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:161)
at
org.jboss.arquillian.container.impl.client.container.ContainerDeployController$3.call(ContainerDeployController.java:128)
at
org.jboss.arquillian.container.impl.client.container.ContainerDeployController.executeOperation(ContainerDeployController.java:271)
at
org.jboss.arquillian.container.impl.client.container.ContainerDeployController.deploy(ContainerDeployController.java:127)
This is because the client relies on the availability of the undertow subsystem, which
might not necessarily be available (as is the case with infinispan-server).