[jboss-jira] [JBoss JIRA] (AS7-3447) IllegalStateException when Query Cache is enabled
Zbyněk Roubalík (JIRA)
jira-events at lists.jboss.org
Wed Jan 25 08:07:50 EST 2012
Zbyněk Roubalík created AS7-3447:
------------------------------------
Summary: IllegalStateException when Query Cache is enabled
Key: AS7-3447
URL: https://issues.jboss.org/browse/AS7-3447
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 7.1.0.CR1b
Reporter: Zbyněk Roubalík
Assignee: Scott Marlow
Fix For: 7.1.0.Final
I've updated AS7 sources from master branch, then enabled Query cache in [SecondLevelCacheTestCase|https://github.com/jbossas/jboss-as/blob/master/testsuite/integration/basic/src/test/java/org/jboss/as/test/integration/jpa/hibernate/SecondLevelCacheTestCase.java] (put <property name="hibernate.cache.use_query_cache" value="true"/> in persistence.xml) and then got IllegalStateException. This tests passes but the exception can be found in server.log:
ERROR [org.infinispan.interceptors.InvocationContextInterceptor] (pool-4-thread-1) ISPN000136: Execution error: java.lang.IllegalStateException: Transaction TransactionImple < ac, BasicAction: 0:ffff7f000001:cbbd222:4f1f2b9a:8 status: ActionStatus.COMMITTED > is not in a valid state to be invoking cache operations on.
server output: http://pastebin.com/xMZEuMp1
When Query cache is disabled, everything is OK.
--
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 jboss-jira
mailing list