]
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/...]
(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: