[
http://jira.jboss.com/jira/browse/JBCACHE-1100?page=comments#action_12369218 ]
Manik Surtani commented on JBCACHE-1100:
----------------------------------------
Regardless of local or remote calls, when the cache does not have CacheStatus of STARTED
it will throw an IllegalStateException.
The check is also done in the beforeCompletion and afterCompletion methods of the
Synchronizations so they barf as well if the cache is not STARTED. Committing a tx when
the cache is not in it's STARTED state will result in a RollbackException. Rolling
back a tx in such a state will result in no exception though, since the TransactionManager
deals with exceptions during rollback.
Cache states should be considered before any call is invoked,
rejecting calls if the cache state is not RUNNING.
----------------------------------------------------------------------------------------------------------------
Key: JBCACHE-1100
URL:
http://jira.jboss.com/jira/browse/JBCACHE-1100
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Affects Versions: 2.0.0.CR2
Reporter: Manik Surtani
Assigned To: Manik Surtani
Fix For: 2.0.0.GA
Needs thought:
1. How do we deal with local and remote calls coming in?
2. Deal with calls coming from the synchronisations registered with TMs?
--
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