[jbossts-issues] [JBoss JIRA] Updated: (JBTM-326) TxImporter is not thread-safe and it is used in concurrent environment

Pavel Kadlec (JIRA) jira-events at lists.jboss.org
Fri Feb 15 08:31:28 EST 2008


     [ http://jira.jboss.com/jira/browse/JBTM-326?page=all ]

Pavel Kadlec updated JBTM-326:
------------------------------

    Description: com.arjuna.ats.internal.jta.transaction.arjunacore.jca.TxImporter is used by com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple. The field TxImporter._transactions is static and there can be more XATerminatorImple objects in JVM or there can more threads in one XATerminatorImple object. The access to that field is not synchronized. Type of the field is non-synchronized HashMap.  (was: TxImporter is used by com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple. The field TxImporter._transactions is static and there can be more XATerminatorImple objects in JVM or there can more threads in one XATerminatorImple object. The access to that field is not synchronized. Type of the field is non-synchronized HashMap.)

> TxImporter is not thread-safe and it is used in concurrent environment
> ----------------------------------------------------------------------
>
>                 Key: JBTM-326
>                 URL: http://jira.jboss.com/jira/browse/JBTM-326
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA Implementation
>    Affects Versions: 4.2.3.SP7
>         Environment: JBoss-4.2.1.GA
>            Reporter: Pavel Kadlec
>
> com.arjuna.ats.internal.jta.transaction.arjunacore.jca.TxImporter is used by com.arjuna.ats.internal.jta.transaction.arjunacore.jca.XATerminatorImple. The field TxImporter._transactions is static and there can be more XATerminatorImple objects in JVM or there can more threads in one XATerminatorImple object. The access to that field is not synchronized. Type of the field is non-synchronized HashMap.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossts-issues mailing list