Created attachment 1027710 [details] cssDeployedOKonFastMachine.txt This issue can't be spot on our local machines that are parforming fast enough. Usually, server is started within 4 seconds and custom cache store deployment happens fast enough so it is DONE before cache starts. However, on slower machines, it turned out that caches "want to" be started before this opearation finishes: 07:19:03,721 INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010287: Registering Deployed Cache Store service for store 'org.infinispan.CustomExternalStore' Then we can see org.infinispan.commons.CacheException: Unable to start cache loaders because there is no cache store registered YET to be picked up by cache. It looks like we need to make sure that caches are started really AFTER all necessary cache store deployment processes happened and are OK. Please see 2 attached files for exact difference between starup on fast and slower machine. Find for the occurence of: [INFO [org.jboss.as.clustering.infinispan] (MSC service thread 1-2) JBAS010287: Registering Deployed Cache Store service for store 'org.infinispan.CustomExternalStore'] to see the difference.
Created attachment 1027711 [details] registeringCCSdeploymentPhaseOnSlowMachineNotOK
14:37:24,921 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC000001: Failed to start service jboss.infinispan.local.access: org.jboss.msc.service.StartException in service jboss.infinispan.local. access: Failed to start service at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1936) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_65] 14:37:25,907 INFO [org.jboss.as.server] (ServerService Thread Pool -- 17) JBAS015859: Deployed "infinispan-cache-store-access-1.0.0-SNAPSHOT.jar" (runtime-name : "infinispan-cache-store-access-1.0.0-SNAPSHOT.j ar") 14:37:25,917 INFO [org.jboss.as.controller] (Controller Boot Thread) JBAS014774: Service status report
Added to JDG 6.5.0 CR1
Added doc text.
PR: https://github.com/infinispan/jdg/pull/717
I was able to VERIFY this issue using the same environment where it has been spot earlier. Problems does not occur again with JDG 6.5.1.ER1 version. Thanks Sebastian for the fix!
Sebastian Łaskawiec <slaskawi> updated the status of jira ISPN-5595 to Resolved