2 Replies Latest reply on Nov 26, 2013 3:25 AM by ohmygod

    unable to deploy cluster-demo.war

    ohmygod

      I am using EAP 6.1.0 Alpha1. I followed AS7 Cluster Howto - JBoss AS 7.2 - Project Documentation Editor and when I come to deploy cluster-demo.war, below error is happening. What could the problem be?

       

       

      [Server:server-three] 09:39:57,763 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting
      deployment of "cluster-demo.war" (runtime-name: "cluster-demo.war")
      [Server:server-three] 09:41:01,324 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service
      thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities
       will be passivated.
      [Server:server-three] 09:41:01,324 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service
      thread 1-3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities
       will be passivated.
      [Server:server-three] 09:41:01,357 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service
      thread 1-3) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities
       will be passivated.
      [Server:server-three] 09:41:01,357 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service
      thread 1-1) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities
       will be passivated.
      [Server:server-three] 09:41:01,358 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service
      thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities
       will be passivated.
      [Server:server-three] 09:41:01,368 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (MSC service
      thread 1-6) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities
       will be passivated.
      [Server:server-three] 09:41:02,369 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thr
      ead Pool -- 64) ISPN000078: Starting JGroups Channel
      [Server:server-three] 09:41:02,930 INFO  [stdout] (ServerService Thread Pool -- 64)
      [Server:server-three] 09:41:02,931 INFO  [stdout] (ServerService Thread Pool -- 64) ------------------------------------
      -------------------------------
      [Server:server-three] 09:41:02,939 INFO  [stdout] (ServerService Thread Pool -- 64) GMS: address=master:server-three/web
      , cluster=web, physical address=10.10.2.7:55450
      [Server:server-three] 09:41:02,939 INFO  [stdout] (ServerService Thread Pool -- 64) ------------------------------------
      -------------------------------
      [Server:server-three]
      [Server:server-three] 09:41:03,744 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thr
      ead Pool -- 64) ISPN000094: Received new cluster view: [slave:server-three-slave/web|1] [slave:server-three-slave/web, m
      aster:server-three/web]
      [Server:server-three] 09:41:04,547 INFO  [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thr
      ead Pool -- 64) ISPN000079: Cache local address is master:server-three/web, physical addresses are [10.10.2.7:55450]
      [Server:server-three] 09:41:04,643 INFO  [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -
      - 64) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.1.Final
      [Server:server-three] 09:41:05,671 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool
       -- 71) ISPN000161: Using a batchMode transaction manager
      [Server:server-three] 09:41:05,694 INFO  [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool
       -- 64) ISPN000161: Using a batchMode transaction manager
      [Server:server-three] 09:41:07,493 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 71) ISP
      N000031: MBeans were successfully registered to the platform MBean server.
      [Server:server-three] 09:41:07,559 INFO  [org.infinispan.jmx.CacheJmxRegistration] (ServerService Thread Pool -- 64) ISP
      N000031: MBeans were successfully registered to the platform MBean server.
      [Server:server-three] 09:42:08,107 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 71) MSC00001: Failed
       to start service jboss.infinispan.web.default-host/cluster-demo: org.jboss.msc.service.StartException in service jboss.
      infinispan.web.default-host/cluster-demo: org.infinispan.CacheException: Unable to invoke method public void org.infinis
      pan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException
       on object of type StateTransferManagerImpl
      [Server:server-three]   at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87) [jboss-as-
      clustering-common-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      [Server:server-three]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [rt.jar:1
      .6.0_07]
      [Server:server-three]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [rt.jar:1.6.0
      _07]
      [Server:server-three]   at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_07]
      [Server:server-three]   at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.
      Final]
      [Server:server-three] Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.state
      transfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on objec
      t of type StateTransferManagerImpl
      [Server:server-three]   at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponent
      Registry.java:883)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegist
      ry.java:654)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.ja
      va:643)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
      [Server:server-three]   at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
      [Server:server-three]   at org.infinispan.CacheImpl.start(CacheImpl.java:559)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:686)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:559)
      [Server:server-three]   at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheM
      anager.java:109)
      [Server:server-three]   at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheM
      anager.java:100)
      [Server:server-three]   at org.jboss.as.clustering.infinispan.subsystem.CacheService.start(CacheService.java:78)
      [Server:server-three]   at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:82) [jboss-as-
      clustering-common-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      [Server:server-three]   ... 4 more
      [Server:server-three] Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache default-host/
      cluster-demo on master:server-three/web
      [Server:server-three]   at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(S
      tateTransferManagerImpl.java:215)
      [Server:server-three]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_07]
      [Server:server-three]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_0
      7]
      [Server:server-three]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar
      :1.6.0_07]
      [Server:server-three]   at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_07]
      [Server:server-three]   at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      [Server:server-three]   ... 18 more
      [Server:server-three]
      [Server:server-three] 09:42:08,097 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 64) MSC00001: Failed
       to start service jboss.infinispan.web.repl: org.jboss.msc.service.StartException in service jboss.infinispan.web.repl:
      org.infinispan.CacheException: Unable to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl
      .waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on object of type StateTransferManagerImp
      l
      [Server:server-three]   at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87) [jboss-as-
      clustering-common-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      [Server:server-three]   at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) [rt.jar:1
      .6.0_07]
      [Server:server-three]   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) [rt.jar:1.6.0
      _07]
      [Server:server-three]   at java.lang.Thread.run(Thread.java:619) [rt.jar:1.6.0_07]
      [Server:server-three]   at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.
      Final]
      [Server:server-three] Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.state
      transfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on objec
      t of type StateTransferManagerImpl
      [Server:server-three]   at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:205)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry$PrioritizedMethod.invoke(AbstractComponent
      Registry.java:883)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry.invokeStartMethods(AbstractComponentRegist
      ry.java:654)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry.internalStart(AbstractComponentRegistry.ja
      va:643)
      [Server:server-three]   at org.infinispan.factories.AbstractComponentRegistry.start(AbstractComponentRegistry.java:546)
      [Server:server-three]   at org.infinispan.factories.ComponentRegistry.start(ComponentRegistry.java:199)
      [Server:server-three]   at org.infinispan.CacheImpl.start(CacheImpl.java:559)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:686)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.createCache(DefaultCacheManager.java:649)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:545)
      [Server:server-three]   at org.infinispan.manager.DefaultCacheManager.getCache(DefaultCacheManager.java:559)
      [Server:server-three]   at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheM
      anager.java:109)
      [Server:server-three]   at org.jboss.as.clustering.infinispan.DefaultEmbeddedCacheManager.getCache(DefaultEmbeddedCacheM
      anager.java:100)
      [Server:server-three]   at org.jboss.as.clustering.infinispan.subsystem.CacheService.start(CacheService.java:78)
      [Server:server-three]   at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:82) [jboss-as-
      clustering-common-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
      [Server:server-three]   ... 4 more
      [Server:server-three] Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache repl on maste
      r:server-three/web
      [Server:server-three]   at org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete(S
      tateTransferManagerImpl.java:215)
      [Server:server-three]   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.6.0_07]
      [Server:server-three]   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [rt.jar:1.6.0_0
      7]
      [Server:server-three]   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [rt.jar
      :1.6.0_07]
      [Server:server-three]   at java.lang.reflect.Method.invoke(Method.java:597) [rt.jar:1.6.0_07]
      [Server:server-three]   at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
      [Server:server-three]   ... 18 more
      [Server:server-three]
      [Server:server-three] 09:42:08,572 ERROR [org.jboss.as.server] (host-controller-connection-threads - 2) JBAS015870: Depl
      oy of deployment "cluster-demo.war" was rolled back with the following failure message:
      [Server:server-three] {"JBAS014671: Failed services" => {"jboss.infinispan.web.default-host/cluster-demo" => "org.jboss.
      msc.service.StartException in service jboss.infinispan.web.default-host/cluster-demo: org.infinispan.CacheException: Una
      ble to invoke method public void org.infinispan.statetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComp
      lete() throws java.lang.InterruptedException on object of type StateTransferManagerImpl
      [Server:server-three]     Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.s
      tatetransfer.StateTransferManagerImpl.waitForInitialStateTransferToComplete() throws java.lang.InterruptedException on o
      bject of type StateTransferManagerImpl
      [Server:server-three]     Caused by: org.infinispan.CacheException: Initial state transfer timed out for cache default-h
      ost/cluster-demo on master:server-three/web"}}
      [Server:server-three] 09:42:08,795 INFO  [org.infinispan.eviction.PassivationManagerImpl] (MSC service thread 1-6) ISPN0
      00029: Passivating all entries to disk