cache invalidation hangs
jriedesel Jul 14, 2003 2:04 PMI have one bean where cache invalidation appears to hang when I commit the transaction. Other beans so
far do not seem to exhibit this problem.
This is on two windows 2000 boxes, but other beans
appear to be working (no hanging at least).
Once I turn on cache invalidation for this bean, I get
the hanging.
I cannot seem to find any obvious answer... ideas?
Here is what appears to be the culprit thread.
-----
"PoolThread-9" prio=5 tid=0x0B6A4868 nid=0x784 in Object.wait() [c4df000..c4dfd8
c]
at java.lang.Object.wait(Native Method)
- waiting on <042E72A0> (a java.lang.Object)
at org.javagroups.blocks.GroupRequest.doExecute(GroupRequest.java:516)
at org.javagroups.blocks.GroupRequest.execute(GroupRequest.java:193)
- locked <042E72A0> (a java.lang.Object)
at org.javagroups.blocks.MessageDispatcher.castMessage(MessageDispatcher
.java:287)
at org.javagroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.j
ava:153)
at org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAP
artitionImpl.java:519)
at org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge._do_rp
c_batchInvalidate(JGCacheInvalidationBridge.java:361)
at org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.batchI
nvalidate(JGCacheInvalidationBridge.java:183)
at org.jboss.cache.invalidation.InvalidationManager$BridgeInvalidationSu
bscriptionImpl.bridgedBatchInvalidations(InvalidationManager.java:627)
at org.jboss.cache.invalidation.InvalidationManager.crossDomainBatchInva
lidate(InvalidationManager.java:286)
at org.jboss.cache.invalidation.InvalidationManager.batchInvalidate(Inva
lidationManager.java:117)
at org.jboss.cache.invalidation.InvalidationManager.batchInvalidate(Inva
lidationManager.java:109)
at org.jboss.cache.invalidation.InvalidatorSynchronization.sendBatchInva
lidations(InvalidationsTxGrouper.java:237)
at org.jboss.cache.invalidation.InvalidatorSynchronization.beforeComplet
ion(InvalidationsTxGrouper.java:180)
at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:
1297)
at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:338)
at org.jboss.tm.TxManager.commit(TxManager.java:141)
at org.jboss.tm.usertx.client.ServerVMClientUserTransaction.commit(Serve
rVMClientUserTransaction.java:126)
at com.jnana.client.user.JKSServlet.doGet(JKSServlet.java:197)
at com.jnana.client.user.JKSServlet.doPost(JKSServlet.java:152)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360
)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
58)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:507)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
at org.mortbay.http.HttpServer.service(HttpServer.java:863)
at org.jboss.jetty.Jetty.service(Jetty.java:460)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
201)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
-----