Bug 927948 - CacheException: Initial state transfer timed out for cache
Summary: CacheException: Initial state transfer timed out for cache
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Clustering
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Paul Ferraro
QA Contact: Jitka Kozana
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-26 14:43 UTC by Ladislav Thon
Modified: 2014-06-09 11:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-12 15:03:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ladislav Thon 2013-03-26 14:43:40 UTC
During EAP 6.1.0.ER3 testing, I've seen the following exception during application deployment:

13:14:10,358 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 81) JBAS010281: Started dist cache from web container
13:14:10,359 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 85) JBAS010281: Started default-host/clusterbench-granular cache from web container
13:14:10,361 INFO  [org.jboss.as.clustering] (MSC service thread 1-1) JBAS010226: New cluster view for partition web: 11 (org.jboss.as.clustering.impl.CoreGroupCommunicationService$GroupView@7ffceefa delta: 0, merge: false)
13:14:10,369 INFO  [org.jboss.web] (ServerService Thread Pool -- 81) JBAS018210: Register web context: /clusterbench-granular
13:14:10,369 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-12) JBAS010281: Started org.jboss.test.clusterbench.ejb.stateful.LocalStatefulSB cache from ejb container
13:14:10,372 INFO  [org.jboss.as.clustering.infinispan] (MSC service thread 1-3) JBAS010281: Started org.jboss.test.clusterbench.ejb.stateful.RemoteStatefulSBImpl cache from ejb container
13:15:10,212 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 84) MSC000001: Failed to start service jboss.infinispan.web.default-host/clusterbench: org.jboss.msc.service.StartException in service jboss.infinispan.web.default-host/clusterbench: 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:895) [rt.jar:1.6.0_43]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918) [rt.jar:1.6.0_43]
	at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_43]
	at org.jboss.threads.JBossThread.run(JBossThread.java:122)
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:886)
	at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegistry.java:657)
	at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.java:646)
	at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:549)
	at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:217)
	at org.infinispan.CacheImpl.start(CacheImpl.java:582)
	at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:686)
	at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
	at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:559)
	at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:109)
	at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheManager.java:100)
	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 default-host/clusterbench on perf21/web
	at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(StateTransferManagerImpl.java:216)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_43]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_43]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar:1.6.0_43]
	at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_43]
	at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
	... 18 more

13:15:10,425 ERROR [org.jboss.as.server] (management-handler-thread - 2) JBAS015870: Deploy of deployment "clusterbench-ee6.ear" was rolled back with the following failure message: 
{"JBAS014671: Failed services" => {"jboss.infinispan.web.default-host/clusterbench" => "org.jboss.msc.service.StartException in service jboss.infinispan.web.default-host/clusterbench: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
    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
    Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache default-host/clusterbench on perf21/web"}}

Seen in https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap-6x-failover-http-session-undeploy-dist-sync/18/console-perf21/

Looks very similar to https://issues.jboss.org/browse/ISPN-2572 and some other JIRAs, but all of them are already resolved.

Comment 1 Ladislav Thon 2013-05-16 08:44:02 UTC
Update from EAP 6.1.0.ER8 testing cycle: This issue was not seen during this cycle.
This can mean that it was either fixed unintentionally (maybe as a by-product of the Infinispan upgrade to 5.2.6.Final) or this issue just became rarer.
Either way, we decided not to close this issue.

Comment 3 Paul Ferraro 2013-08-29 22:23:04 UTC
Seems to no longer be an issue.

Comment 4 Richard Janík 2013-12-09 12:21:34 UTC
Not seen during 6.2.0 either.

Comment 5 Radoslav Husar 2014-06-09 11:55:00 UTC
Clearing needinfo.


Note You need to log in before you can comment on or make changes to this bug.