[jboss-jira] [JBoss JIRA] (WFLY-4970) After removing a resource through the CLI, one with the same name can not be added
Brian Stansberry (JIRA)
issues at jboss.org
Thu Nov 5 10:22:00 EST 2015
[ https://issues.jboss.org/browse/WFLY-4970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13126019#comment-13126019 ]
Brian Stansberry commented on WFLY-4970:
----------------------------------------
The CLI has a "reload" command. I believe the web console in 8.2 had a widget to do a reload as well; apologies, I don't have the console in front of me to confirm.
A reload stops almost all services, bringing the server process back to the point where it is very early in boot, basically to where it is just after any args passed on the command line are processed. Then it restarts all services from there. The config file is reparsed and the in-memory configuration and services are reestablished based on what's in the config file.
> After removing a resource through the CLI, one with the same name can not be added
> ----------------------------------------------------------------------------------
>
> Key: WFLY-4970
> URL: https://issues.jboss.org/browse/WFLY-4970
> Project: WildFly
> Issue Type: Bug
> Affects Versions: 8.2.0.Final
> Environment: Windows 7 64-bit, Java 7
> Reporter: David Frank
> Assignee: Brian Stansberry
>
> If a resource (tested with a datasource and a security domain) is removed using the CLI, a new resource (of the same type) with the same name can not be added. The CLI shows the resource as removed, but an error will always be returned to the caller indicating that the resource already exists. In the Wildfly server log, you see a DuplicateServiceException.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list