[jboss-jira] [JBoss JIRA] (WFLY-13633) Undeployed CMR resource JNDI names are not deregisted as needing to be treated as CMR

Ondrej Chaloupka (Jira) issues at jboss.org
Wed Jul 1 08:54:16 EDT 2020


    [ https://issues.redhat.com/browse/WFLY-13633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184598#comment-14184598 ] 

Ondrej Chaloupka commented on WFLY-13633:
-----------------------------------------

The {{:reload}} won't protect here as the {{:reload}} operation will have not impact on the internal Narayana map which is saved in the static variable.

> Undeployed CMR resource JNDI names are not deregisted as needing to be treated as CMR
> -------------------------------------------------------------------------------------
>
>                 Key: WFLY-13633
>                 URL: https://issues.redhat.com/browse/WFLY-13633
>             Project: WildFly
>          Issue Type: Bug
>          Components: Transactions
>            Reporter: Thomas Jenkinson
>            Assignee: Michael Musgrove
>            Priority: Blocker
>
> 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.



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list