Uploaded image for project: '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

      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.

        Gliffy Diagrams

          Activity

          r.reimann Robert Reimann created issue -
          sbs-jira-plugin Jive JIRA Integration made changes -
          Field Original Value New Value
          Forum Reference https://community.jboss.org/message/722094#722094
          brian.stansberry Brian Stansberry made changes -
          Fix Version/s 7.1.2.Final [ 12319174 ]
          Assignee Alexey Loubyansky [ aloubyansky ] Stefano Maestri [ maeste ]
          Component/s Domain Management [ 12313804 ]
          Component/s JCA [ 12313808 ]
          Component/s CLI [ 12313802 ]
          Forum Reference https://community.jboss.org/message/722094#722094 https://community.jboss.org/message/722094#722094
          Hide
          maeste Stefano Maestri added a comment -

          Already fixed in last master

          Show
          maeste Stefano Maestri added a comment - Already fixed in last master
          maeste Stefano Maestri made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Out of Date [ 10 ]

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development