2016-10-06 22 views
0

Мы бежим наш JEE6 приложение на JBoss AS 7.2 с mod_cluster как балансировки нагрузки и S3_Ping, все на отдельных случаях EC2, что JBoss экземпляры работают с standalone_full_ha конфигурацииJBoss AS 7.2 - развернуть исключение: Не удается запустить JGroups

Около недели назад я обновил наши типы экземпляров ec2 с c3.large до c4.large, в то же время я также обновил JDK с Java 1.6 до 1.7, наше приложение работает отлично после миграции, однако я столкнулся с проблема (примерно 1 из 5) экземпляры JBoss не могут развернуть приложение при создании нового экземпляра (полная трассировка стека ниже). Я обнаружил, что, как правило, я могу перезапустить JBoss, а второй выполнить повторное развертывание, но в некоторых случаях мне приходится прерывать экземпляр ec2 и запускать новый.

Во время миграции я скопировал весь каталог JBoss через так установка JBoss остался прежним, единственное изменение, является версией Java и более новая версия Amazon Linux

Новая версия Java:

java version "1.7.0_111" 
OpenJDK Runtime Environment (amzn-2.6.7.2.68.amzn1-x86_64 u111-b01) 
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode) 

Я полагаю, что из-за прерывистый характер, что это может быть вопрос времени, я включил сценарий запуска мы используем для запуска нового экземпляра:

#! /bin/bash 
echo "-------Running Instance Startup Script--------" 
echo "Downloading Ear Archive" 
aws s3 cp s3://processor-ear/production/Processor.ear /home/ec2-user/Processor.ear --region eu-west-1 
if [ ! -f /home/ec2-user/Processor.ear ]; then 
    echo "Error - Processor.ear was not downloaded!" 
    exit 0 
fi 
echo "Archive download success" 
echo "Downloading server config file" 
aws s3 cp s3://processor-ear/production/standalone-full-ha.xml /home/ec2-user/standalone-full-ha.xml --region eu-west-1 
if [ ! -f /home/ec2-user/standalone-full-ha.xml ]; then 
    echo "Error - standalone-full-ha.xml was not downloaded!" 
    exit 0 
fi 
echo "Server config download success" 
chown ec2-user /home/ec2-user/Processor.ear 
chgrp ec2-user /home/ec2-user/Processor.ear 
chown jboss /home/ec2-user/standalone-full-ha.xml 
chgrp jboss /home/ec2-user/standalone-full-ha.xml 
cp /home/ec2-user/standalone-full-ha.xml /opt/jboss/standalone/configuration/standalone-full-ha.xml 
echo "Deploying Archive" 
bash /opt/jboss/bin/jboss-cli.sh --connect commands="deploy /home/ec2-user/Processor.ear" 
echo "Checking deployment status..." 
DEPLOYMENT_STATUS=$(bash /opt/jboss/bin/jboss-cli.sh -c --commands="cd deployment,cd Processor.ear, read-attribute status") 
echo $DEPLOYMENT_STATUS 
if [ '$DEPLOYMENT_STATUS' != 'OK' ]; then 
    service jboss restart 
    sleep 5 
    bash /opt/jboss/bin/jboss-cli.sh --connect commands="deploy /home/ec2-user/Processor.ear" 
fi 

Как вы можете видеть, что я включил хак в конце попытаться второй передислоцировать, если первый не может

Вот исключение в JBoss бревен ...

Oct 06 06:56:30,649 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 61) ISPN000078: Starting JGroups Channel 
Oct 06 06:56:30,650 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 60) ISPN000078: Starting JGroups Channel 
Oct 06 06:56:30,698 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 60) MSC00001: Failed to start service jboss.infinispan.ejb.repl: org.jboss.msc.service.StartException in service jboss.infinispan.ejb.repl: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87) [jboss-as-clustering-common-7.2.0.Final.jar:7.2.0.Final] 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_111] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_111] 
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_111] 
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final] 
Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:247) 
    at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:678) 
    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) [jboss-as-clustering-common-7.2.0.Final.jar:7.2.0.Final] 
    ... 4 more 
Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    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.GlobalComponentRegistry.start(GlobalComponentRegistry.java:225) 
    ... 12 more 
Caused by: org.infinispan.CacheException: Unable to start JGroups Channel 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:209) 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:198) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_111] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_111] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_111] 
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_111] 
    at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203) 
    ... 17 more 
Caused by: java.lang.NullPointerException 
    at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_111] 
    at org.jgroups.protocols.TP.start(TP.java:1065) 
    at org.jgroups.protocols.TCP.start(TCP.java:83) 
    at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:948) 
    at org.jgroups.JChannel.startStack(JChannel.java:827) 
    at org.jgroups.JChannel._preConnect(JChannel.java:525) 
    at org.jgroups.JChannel.connect(JChannel.java:277) 
    at org.jgroups.JChannel.connect(JChannel.java:268) 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:207) 
    ... 23 more 

Oct 06 06:56:30,702 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 61) MSC00001: Failed to start service jboss.infinispan.singleton.default: org.jboss.msc.service.StartException in service jboss.infinispan.singleton.default: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87) [jboss-as-clustering-common-7.2.0.Final.jar:7.2.0.Final] 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_111] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_111] 
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_111] 
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.0.Final.jar:2.1.0.Final] 
Caused by: org.infinispan.manager.EmbeddedCacheManagerStartupException: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    at org.infinispan.factories.GlobalComponentRegistry.start(GlobalComponentRegistry.java:247) 
    at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:678) 
    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) [jboss-as-clustering-common-7.2.0.Final.jar:7.2.0.Final] 
    ... 4 more 
Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    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.GlobalComponentRegistry.start(GlobalComponentRegistry.java:225) 
    ... 12 more 
Caused by: org.infinispan.CacheException: Unable to start JGroups Channel 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:209) 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:198) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_111] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_111] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_111] 
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_111] 
    at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203) 
    ... 17 more 
Caused by: java.lang.NullPointerException 
    at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_111] 
    at org.jgroups.protocols.TP.start(TP.java:1065) 
    at org.jgroups.protocols.TCP.start(TCP.java:83) 
    at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:948) 
    at org.jgroups.JChannel.startStack(JChannel.java:827) 
    at org.jgroups.JChannel._preConnect(JChannel.java:525) 
    at org.jgroups.JChannel.connect(JChannel.java:277) 
    at org.jgroups.JChannel.connect(JChannel.java:268) 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:207) 
    ... 23 more 

Oct 06 06:56:30,702 INFO [org.infinispan.factories.GlobalComponentRegistry] (ServerService Thread Pool -- 59) ISPN000128: Infinispan version: Infinispan 'Delirium' 5.2.3.Final 
Oct 06 06:56:30,805 INFO [org.infinispan.factories.TransactionManagerFactory] (ServerService Thread Pool -- 59) ISPN000161: Using a batchMode transaction manager 
Oct 06 06:56:30,832 INFO [org.infinispan.remoting.transport.jgroups.JGroupsTransport] (ServerService Thread Pool -- 59) ISPN000078: Starting JGroups Channel 
Oct 06 06:56:30,833 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 59) 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.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    at org.jboss.as.clustering.msc.AsynchronousService$1.run(AsynchronousService.java:87) 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_111] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_111] 
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_111] 
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) 
Caused by: org.infinispan.CacheException: Unable to invoke method public void org.infinispan.remoting.transport.jgroups.JGroupsTransport.start() on object of type JGroupsTransport 
    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.registerComponentInternal(AbstractComponentRegistry.java:226) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:158) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.AbstractComponentRegistry.getOrCreateComponent(AbstractComponentRegistry.java:296) 
    at org.infinispan.factories.ComponentRegistry.getOrCreateComponent(ComponentRegistry.java:161) 
    at org.infinispan.factories.AbstractComponentRegistry.invokeInjectionMethod(AbstractComponentRegistry.java:246) 
    at org.infinispan.factories.AbstractComponentRegistry.access$000(AbstractComponentRegistry.java:86) 
    at org.infinispan.factories.AbstractComponentRegistry$Component.injectDependencies(AbstractComponentRegistry.java:814) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponentInternal(AbstractComponentRegistry.java:220) 
    at org.infinispan.factories.ComponentRegistry.registerComponentInternal(ComponentRegistry.java:188) 
    at org.infinispan.factories.AbstractComponentRegistry.registerComponent(AbstractComponentRegistry.java:175) 
    at org.infinispan.factories.InternalCacheFactory.bootstrap(InternalCacheFactory.java:101) 
    at org.infinispan.factories.InternalCacheFactory.createAndWire(InternalCacheFactory.java:80) 
    at org.infinispan.factories.InternalCacheFactory.createCache(InternalCacheFactory.java:64) 
    at org.infinispan.manager.DefaultCacheManager.wireAndStartCache(DefaultCacheManager.java:682) 
    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: Unable to start JGroups Channel 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:209) 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.start(JGroupsTransport.java:198) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [rt.jar:1.7.0_111] 
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_111] 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_111] 
    at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_111] 
    at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203) 
    ... 91 more 
Caused by: java.lang.NullPointerException 
    at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_111] 
    at org.jgroups.protocols.TP.start(TP.java:1065) 
    at org.jgroups.protocols.TCP.start(TCP.java:83) 
    at org.jgroups.stack.ProtocolStack.startStack(ProtocolStack.java:948) 
    at org.jgroups.JChannel.startStack(JChannel.java:827) 
    at org.jgroups.JChannel._preConnect(JChannel.java:525) 
    at org.jgroups.JChannel.connect(JChannel.java:277) 
    at org.jgroups.JChannel.connect(JChannel.java:268) 
    at org.infinispan.remoting.transport.jgroups.JGroupsTransport.startJGroupsChannelIfNeeded(JGroupsTransport.java:207) 
    ... 97 more 

Есть ребята JGroups/JBoss из видели это раньше? Может предоставить больше конфигурационных данных, если необходимо

ответ

2

ОК, поэтому проблема заключается в том, что обработчики зондов зарегистрированы в списке, не связанным с потоком. Это было зафиксировано в 3.2.12 (см. [1]).

Так что либо обновите до JGroups 3.2.12, либо попробуйте установить enable_diagnostics на false. 3.2.12 должно быть совместимо с 3.2.7, хотя я не знаю, было ли это проверено.

[1] https://issues.jboss.org/browse/JGRP-1869

+0

большое спасибо, я только что успешно развернуты с JGroups 3.2.12, так что кажется, чтобы быть совместимым, я буду работать в течение нескольких дней и посмотреть, как она идет – DaveB

+0

проблема решена, еще раз спасибо – DaveB