[jboss-jira] [JBoss JIRA] (AS7-3447) IllegalStateException when Query Cache is enabled
Scott Marlow (JIRA)
jira-events at lists.jboss.org
Thu Jan 26 08:37:48 EST 2012
[ https://issues.jboss.org/browse/AS7-3447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662160#comment-12662160 ]
Scott Marlow commented on AS7-3447:
-----------------------------------
I'm waiting for the fix to be pulled.
Changing from:
{quote}
<local-cache name="local-query">
<transaction mode="NON_XA"/>
{quote}
To:
{quote}
<local-cache name="local-query">
<transaction mode="NONE"/>
{quote}
> 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: Clustering, JPA / Hibernate
> Affects Versions: 7.1.0.CR1b
> Reporter: Zbyněk Roubalík
> Assignee: Scott Marlow
> Labels: eap6_prd_req
> 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