Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-2640

Unable to add cached-connection-manager after removing it once

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.0.0.Alpha1
    • 8.0.0.Beta1
    • JCA
    • None
    • Hide

      1. Start WildFly
      2. Execute the following CLI:

      /subsystem=jca/cached-connection-manager=cached-connection-manager:remove
      :reload
      /subsystem=jca/cached-connection-manager=cached-connection-manager:add  
      
      Show
      1. Start WildFly 2. Execute the following CLI: /subsystem=jca/cached-connection-manager=cached-connection-manager:remove :reload /subsystem=jca/cached-connection-manager=cached-connection-manager:add

    Description

      <cached-connection-manager> is enabled in jca subsystem by default:

          <subsystem xmlns="urn:jboss:domain:jca:1.1">
              ...
              <cached-connection-manager />
          </subsystem> 
      

      However, it is unable to re-enable <cached-connection-manager> once it is disabled. CLI command fails to add it due to duplicate resource.

      [standalone@localhost:9990 /] /subsystem=jca/cached-connection-manager=cached-connection-manager:remove
      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      [standalone@localhost:9990 /] :reload
      {
          "outcome" => "success",
          "result" => undefined
      }
      [standalone@localhost:9990 /] /subsystem=jca/cached-connection-manager=cached-connection-manager:add
      {
          "outcome" => "failed",
          "failure-description" => "JBAS014803: Duplicate resource [
          (\"subsystem\" => \"jca\"),
          (\"cached-connection-manager\" => \"cached-connection-manager\")
      ]",
          "rolled-back" => true
      }
      

      Attachments

        Issue Links

          Activity

            People

              rhn-support-iweiss Ingo Weiss
              rhn-support-mmiura Masafumi Miura
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: