Discussion:
[jboss-user] [JBoss Cache] - Re: Intermittent cache invalidation failures
Heber Gentilin
2013-01-31 16:13:44 UTC
Permalink
Heber Gentilin [https://community.jboss.org/people/hebergentilin] created the discussion

"Re: Intermittent cache invalidation failures"

To view the discussion, visit: https://community.jboss.org/message/795436#795436

--------------------------------------------------------------
Idk if this will help u, but try uncomment the tag:

<Valve className="org.apache.catalina.valves.RequestDumperValve" />

in the server.xml file.
There are more valve tag that can help you. Try uncomment someone else.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/795436#795436]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
James Mason
2013-02-04 11:54:50 UTC
Permalink
James Mason [https://community.jboss.org/people/james-muso] created the discussion

"Re: Intermittent cache invalidation failures"

To view the discussion, visit: https://community.jboss.org/message/795896#795896

--------------------------------------------------------------
Thanks - I'll give that a try.

After adding some trace level logs, I discovered that the hibernate query cache was sending invalidate messages for all hibernate entites (not just my cached config data objects) and so this was causing a huge amount of invalidate messages to be sent. Deactivating this seems to have solved the problem - so it seems the problem was due to very high frequency of invalidate messages.

It seems odd that there aren't any error message being logged, so perhaps these errors are occuring at a higher level, in which case your suggestion of logging tomcat errors would have helped!

Cheers
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/795896#795896]

Start a new discussion in JBoss Cache at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2052]
Loading...