Failed to start service jboss.infinispan.web.global-component-registry: org.jboss.msc.service.StartException
Environment
Red Hat JBoss Enterprise Application Platform 6.4.6
Issue
We use jgroup that ship with jboss. Jgroup channel didn't start. Stack Trace -
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_95]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) [rt.jar:1.7.0_95]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.7.0_95]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_95]
at org.infinispan.util.ReflectionUtil.invokeAccessibly(ReflectionUtil.java:203)
... 11 more
Caused by: java.lang.NullPointerException
at java.util.LinkedList$ListItr.next(LinkedList.java:891) [rt.jar:1.7.0_95]
at org.jgroups.protocols.TP.start(TP.java:1062)
at org.jgroups.protocols.UDP.start(UDP.java:226)
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)
... 17 more
Resolution
There is a patch attached to the associated case.
Otherwise wait for EAP 6.4.9 which will include the fix.
Root Cause
There is the following issue: https://issues.jboss.org/browse/JGRP-1869 about this.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.