Infinispan and hibernate are tightly bound. A error about infinispan happend when I did not use any 2nd level cache feature and any infinspan feature with hibernate, and solved when I edit the standalone.xml to force it use the correct version of infinispan. Perhaps envers cause the problem. The error happend after I add envers feature to jpa. I failed to reproduce this error in unit testing. But it is indeed solved in the production environment by the above workaround. |