Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3447

IllegalStateException when Query Cache is enabled

    XMLWordPrintable

Details

    Description

      I've updated AS7 sources from master branch, then enabled Query cache in SecondLevelCacheTestCase (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.

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            zroubali@redhat.com Zbyněk Roubalík (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: