[jbosscache-issues] [JBoss JIRA] (JBCACHE-1614) CacheLoader NonManagedConnectionFactory will not work with JTS transaction manager

Dennis Reed (JIRA) jira-events at lists.jboss.org
Mon Jun 4 15:06:19 EDT 2012


    [ https://issues.jboss.org/browse/JBCACHE-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12698579#comment-12698579 ] 

Dennis Reed commented on JBCACHE-1614:
--------------------------------------

Found while looking for similar issues to https://issues.jboss.org/browse/JBCACHE-1613.
                
> CacheLoader NonManagedConnectionFactory will not work with JTS transaction manager
> ----------------------------------------------------------------------------------
>
>                 Key: JBCACHE-1614
>                 URL: https://issues.jboss.org/browse/JBCACHE-1614
>             Project: JBoss Cache
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Cache loaders
>    Affects Versions: 3.2.8.GA
>            Reporter: Dennis Reed
>            Assignee: Dennis Reed
>
> org.jboss.cache.loader.NonManagedConnectionFactory uses a ThreadLocal to pass data between prepare() and commit().
> The JTS transaction manager can call prepare and commit from different threads when under load.
> This would cause the NonManagedConnectionFactory to mix up database connections between transactions.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosscache-issues mailing list