[
https://issues.jboss.org/browse/WFCORE-1869?page=com.atlassian.jira.plugi...
]
Brian Stansberry updated WFCORE-1869:
-------------------------------------
Description:
When unregistering the submodel of a resource, if it targets an alias with children the
operation will fail like this:
java.lang.IllegalArgumentException: WFLYCTL0277: An alias is already registered at
location
'/subsystem=infinispan/cache-container=*/distributed-cache=*/file-store=FILE_STORE':
java.lang.IllegalArgumentException: WFLYCTL0277: An alias is already registered at
location
'/subsystem=infinispan/cache-container=*/distributed-cache=*/file-store=FILE_STORE'
at
org.jboss.as.controller.registry.AliasResourceRegistration.alreadyRegistered(AliasResourceRegistration.java:291)
at
org.jboss.as.controller.registry.AliasResourceRegistration.unregisterSubModel(AliasResourceRegistration.java:123)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.extension.ExtensionRegistry.removeExtension(ExtensionRegistry.java:341)
We should ignore the removal of the children of an alias resource registration.
was:
When unregistering the submodel of a resource, if it targets an alias with children the
operation will fail like this:
java.lang.IllegalArgumentException: WFLYCTL0277: An alias is already registered at
location
'/subsystem=infinispan/cache-container=*/distributed-cache=*/file-store=FILE_STORE':
java.lang.IllegalArgumentException: WFLYCTL0277: An alias is already registered at
location
'/subsystem=infinispan/cache-container=*/distributed-cache=*/file-store=FILE_STORE'
at
org.jboss.as.controller.registry.AliasResourceRegistration.alreadyRegistered(AliasResourceRegistration.java:291)
at
org.jboss.as.controller.registry.AliasResourceRegistration.unregisterSubModel(AliasResourceRegistration.java:123)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.extension.ExtensionRegistry.removeExtension(ExtensionRegistry.java:341)
We should ignore the removal of the children of an alias ressource
When unregistering a ressource in the MMR, if the address targets an
alias then we should just 'ignore' the unregistering of hte submodel
-----------------------------------------------------------------------------------------------------------------------------------------
Key: WFCORE-1869
URL:
https://issues.jboss.org/browse/WFCORE-1869
Project: WildFly Core
Issue Type: Bug
Components: Domain Management
Affects Versions: 3.0.0.Alpha9
Reporter: ehsavoie Hugonnet
Assignee: ehsavoie Hugonnet
When unregistering the submodel of a resource, if it targets an alias with children the
operation will fail like this:
java.lang.IllegalArgumentException: WFLYCTL0277: An alias is already registered at
location
'/subsystem=infinispan/cache-container=*/distributed-cache=*/file-store=FILE_STORE':
java.lang.IllegalArgumentException: WFLYCTL0277: An alias is already registered at
location
'/subsystem=infinispan/cache-container=*/distributed-cache=*/file-store=FILE_STORE'
at
org.jboss.as.controller.registry.AliasResourceRegistration.alreadyRegistered(AliasResourceRegistration.java:291)
at
org.jboss.as.controller.registry.AliasResourceRegistration.unregisterSubModel(AliasResourceRegistration.java:123)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.registry.ConcreteResourceRegistration.unregisterSubModel(ConcreteResourceRegistration.java:261)
at
org.jboss.as.controller.extension.ExtensionRegistry.removeExtension(ExtensionRegistry.java:341)
We should ignore the removal of the children of an alias resource registration.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)