Application Server 7
  1. Application Server 7
  2. AS7-4055

Re-creating a resource adapter fails with message: "JBAS014749: Operation handler failed: Service jboss.resourceadapters.ra.MyAdapter is already registered"

    Details

    • Similar Issues:
      Show 10 results 

      Description

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

      [standalone@localhost:9999 /] /subsystem=resource-adapters/resource-adapter=MyAdapter:add(archive=my-adapter.ear)
      {"outcome" => "success"}
      [standalone@localhost:9999 /] /subsystem=resource-adapters/resource-adapter=MyAdapter:remove  
      {"outcome" => "success"}
      [standalone@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
      }
      

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

        Activity

          People

          • Assignee:
            Stefano Maestri
            Reporter:
            Robert Reimann
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: