[jboss-jira] [JBoss JIRA] (WFCORE-1869) When unregistering a resource in the MMR, if the address targets an alias then we should just 'ignore' the unregistering of hte submodel

ehsavoie Hugonnet (JIRA) issues at jboss.org
Mon Oct 17 11:31:00 EDT 2016


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

ehsavoie Hugonnet updated WFCORE-1869:
--------------------------------------
    Summary: When unregistering a resource in the MMR, if the address targets an alias then we should just 'ignore' the unregistering of hte submodel  (was: When unregistering a ressource in the MMR, if the address targets an alias then we should just 'ignore' the unregistering of hte submodel)


> When unregistering a resource 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)



More information about the jboss-jira mailing list