[jboss-jira] [JBoss JIRA] (AS7-4055) Re-creating a resource adapter fails with message: "JBAS014749: Operation handler failed: Service jboss.resourceadapters.ra.MyAdapter is already registered"

Robert Reimann (JIRA) jira-events at lists.jboss.org
Tue Mar 6 10:27:37 EST 2012


Robert Reimann created AS7-4055:
-----------------------------------

             Summary: Re-creating a resource adapter fails with message: "JBAS014749: Operation handler failed: Service jboss.resourceadapters.ra.MyAdapter is already registered"
                 Key: AS7-4055
                 URL: https://issues.jboss.org/browse/AS7-4055
             Project: Application Server 7
          Issue Type: Bug
          Components: CLI
    Affects Versions: 7.1.0.Final
            Reporter: Robert Reimann
            Assignee: Alexey Loubyansky


Re-creating a resource adapter using (:add, :remove, :add) fails as shown below.

{noformat}
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=MyAdapter:add(archive=my-adapter.ear)
{"outcome" => "success"}
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=MyAdapter:remove  
{"outcome" => "success"}
[standalone at localhost:9999 /] /subsystem=resource-adapters/resource-adapter=MyAdapter:add(archive=my-adapter.ear)
{
    "outcome" => "failed",
    "failure-description" => "JBAS014749: Operation handler failed: Service jboss.resourceadapters.ra.MyAdapter is already registered",
    "rolled-back" => true
}
{noformat}

After a server restart the resource adapter can be added reusing the previously removed name.
 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list