4 Replies Latest reply on Sep 17, 2003 9:48 PM by F Zemen

    cache invalidation hangs

    Joel Riedesel Newbie

      I 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)
      -----

        • 1. Re: cache invalidation hangs
          F Zemen Newbie

          I see the very same thing. Has anyone found a solution?

          • 2. Re: cache invalidation hangs
            Sacha Labourey Master

            I need the full stack thread dump (CTRL+BREAK on windows for example) and the jboss version.

            sacha

            • 3. Re: cache invalidation hangs
              F Zemen Newbie

              JBoss 3.2.1 w/Tomcat bundle

              "StandardManager[/argo]" daemon prio=5 tid=0x19a1b20 nid=0x6b in Object.wait() [a7080000..a7081994]
              at java.lang.Object.wait(Native Method)
              - waiting on <c998f110> (a java.lang.Object)
              at org.javagroups.blocks.GroupRequest.doExecute(GroupRequest.java:516)
              at org.javagroups.blocks.GroupRequest.execute(GroupRequest.java:193)
              - locked <c998f110> (a java.lang.Object)
              at org.javagroups.blocks.MessageDispatcher.castMessage(MessageDispatcher.java:287)
              at org.javagroups.blocks.RpcDispatcher.callRemoteMethods(RpcDispatcher.java:153)
              at org.jboss.ha.framework.server.HAPartitionImpl.callMethodOnCluster(HAPartitionImpl.java:519)
              at org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge._do_rpc_batchInvalidate(JGCacheInvalidationBridge.java:361)
              at org.jboss.cache.invalidation.bridges.JGCacheInvalidationBridge.batchInvalidate(JGCacheInvalidationBridge.java:183)
              at org.jboss.cache.invalidation.InvalidationManager$BridgeInvalidationSubscriptionImpl.bridgedBatchInvalidations(InvalidationManager.java:627)
              at org.jboss.cache.invalidation.InvalidationManager.crossDomainBatchInvalidate(InvalidationManager.java:286)
              at org.jboss.cache.invalidation.InvalidationManager.batchInvalidate(InvalidationManager.java:117)
              at org.jboss.cache.invalidation.InvalidationManager.batchInvalidate(InvalidationManager.java:109)
              at org.jboss.cache.invalidation.InvalidatorSynchronization.sendBatchInvalidations(InvalidationsTxGrouper.java:237)
              at org.jboss.cache.invalidation.InvalidatorSynchronization.beforeCompletion(InvalidationsTxGrouper.java:180)
              at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1297)
              at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:338)
              at org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:369)
              at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:253)
              at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
              at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
              at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
              at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
              at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
              at org.jboss.ejb.Container.invoke(Container.java:674)
              at sun.reflect.GeneratedMethodAccessor91.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:324)
              at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549)
              at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101)
              at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:83)
              at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
              at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45)
              at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:100)
              at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85)
              at $Proxy407.terminateUserSession(Unknown Source)
              at com.parago.common.web.SynergySessionBindingListener.sessionDestroyed(SynergySessionBindingListener.java:60)
              at org.apache.catalina.session.StandardSession.expire(StandardSession.java:659)
              at org.apache.catalina.session.StandardSession.expire(StandardSession.java:608)
              at org.apache.catalina.session.StandardManager.processExpires(StandardManager.java:793)
              at org.apache.catalina.session.StandardManager.run(StandardManager.java:870)
              at java.lang.Thread.run(Thread.java:536)

              • 4. Re: cache invalidation hangs
                F Zemen Newbie

                We are still seeing this.

                Is there a conclusion on this?