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

Undeployed CMR resource JNDI names are not deregisted as needing to be treated as CMR

    XMLWordPrintable

Details

    Description

      https://github.com/wildfly/wildfly/blob/master/transactions/src/main/java/org/jboss/as/txn/service/CMResourceService.java#L83 does not remove the JNDI name from the list of names that Narayana will treat as CMR resources as it is removed from a copy of the map: https://github.com/jbosstm/narayana/blob/48818111d12d2e51b52082a00bcb606040c36546/ArjunaJTA/jta/classes/com/arjuna/ats/jta/common/JTAEnvironmentBean.java#L1089

      This means that if Narayana encounters another resource at a later time with the same JNDI name it will consider it is a CMR resource.

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              thjenkin@redhat.com Tom Jenkinson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: