JndiInfinispanRegionFactory creates region with a stopped cache, if region previously
existed
---------------------------------------------------------------------------------------------
Key: HHH-5563
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5563
Project: Hibernate Core
Issue Type: Bug
Components: caching (L2)
Affects Versions: 3.6.0.Beta4, 3.5.5
Reporter: Paul Ferraro
Attachments: patch.txt
Using JndiInfinispanRegionFactory, closing a hibernate session factory triggers the
destruction of all associated cache regions and stops the backing caches, though not the
cache manager itself (Due to HHH-5512). If the session factory is restarted (e.g. the
same application is redeployed), CacheManager.getCache(...) will return the already
existing cache, but with a TERMINATED status. Consequently, when determining the cache
instance for a given region, the region factory must always validate the status of the
cache, starting it if necessary.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira