Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2572

"CacheException: Initial state transfer timed out for cache" reliably on AS7 testsuite

    XMLWordPrintable

Details

    Description

      While running AS7 testsuite with speedups implemented in my branch (https://github.com/jbossas/jboss-as/pull/3381) we are contantly seeing (log below) on Windows 2008.

      Run:
      http://teamcity.cafe-babe.org/viewLog.html?buildId=1689&tab=buildResultsDiv&buildTypeId=bt2

      16:34:46,092 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 13) MSC00001: Failed to start service jboss.infinispan.ejb.remote-connector-client-mappings: org.jboss.msc.service.StartException in service jboss.infinispan.ejb.remote-connector-client-mappings: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
          at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_32]
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_32]
          at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_32]
          at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.0.0.GA.jar:2.0.0.GA]
      Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
          at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
          at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponentRegistry.java:883)
          at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:654)
          at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:643)
          at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
          at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
          at org.infinispan.CacheImpl.start(CacheImpl.java:520)
          at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:690)
          at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:653)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:549)
          at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:563)
          at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:107)
          at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:98)
          at org.jboss.as.clustering.infinispan.subsystem.CacheService.start(CacheService.java:78)
          at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:82)
          ... 4 more
      Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache remote-connector-client-mappings on node-1/ejb
          at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:209)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_32]
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_32]
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_32]
          at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_32]
          at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
          ... 18 more
      

      Affected version – current master (say 7dc531002539b078e429418d8ef204e401beafd1).

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei
            rhn-engineering-rhusar Radoslav Husar
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: