By default, LRUQueryCache is loaded statically. It seems to me that in some cases this may cause erroneous behavior on the JBoss and Wildflay server.