]
Manik Surtani updated JBCACHE-1224:
-----------------------------------
Fix Version/s: 1.4.1.SP8
Wrong Connection in JDBCCacheLoader
-----------------------------------
Key: JBCACHE-1224
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1224
Project: JBoss Cache
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Cache loaders
Affects Versions: 1.4.1.SP5, 1.4.1.SP6
Environment: 2 TreeCaches, each having 1 JDBCCacheLoader (passivation) using a
different database
Reporter: Carsten Mjartan
Assigned To: Manik Surtani
Fix For: 1.4.1.SP8
I configured 2 JBossCaches as stated above. Both use CacheLoaders which use different
Database Backends (using hsqldb) and with table creation turned on. After Startup both
tables are created using the cached connection of the first cacheloader, so the second
cacheloader goes mad.
I solved this for me by copying JDBCCacheLoader and replacing the ThreadLocal
"connection" with a ThreadLocal Connection-Map using the url as the key, but I
don't know if this may cause other problems (open connections?).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: