[jboss-jira] [JBoss JIRA] (WFLY-4771) The WildFly Arquillian ManagementClient should not assume undertow is enabled

Tomaz Cerar (JIRA) issues at jboss.org
Thu Jun 18 17:03:02 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-4771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Cerar reopened WFLY-4771:
-------------------------------


After some discussion today I think we would need some better way of supporting non web deployments when there is no undertow/web subsystem to get info from.

We could just return null for webUri in case undertow subsystem is not present.
We just need to make sure this doesn't break anything.

> 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
>
> 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).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


More information about the jboss-jira mailing list