org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState() returned false

redhat.com | 3 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Debugging JGroups large state or farming issues - Red Hat Customer Portal

    redhat.com | 3 months ago
    org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState() returned false
  2. 0

    JGroupsLargetStateOrPacketTransferProblems | JBoss Developer

    jboss.org | 3 months ago
    org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState() returned false
  3. 0

    JGroupsLargetStateOrPacketTransferProblems | JBoss Developer

    jboss.org | 1 year ago
    org.jboss.cache.CacheException: Initial state transfer failed: Channel.getState() returned false
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    The testsuite is failing: jboss-all-config-tests: [server:start] Starting server "all" with command: [server:start] /qa/tools/opt/hpux_ia/java1.5/bin/java -cp /home/hudson/hudson_workspace/workspace/eap-as-hp-ia64/jboss-eap-4.3/jboss-as/bin/run.jar:/qa/tools/opt/hpux_ia/java1.5/lib/tools.jar -Xmx128m -XX:MaxPermSize=128m -Djava.endorsed.dirs=/home/hudson/hudson_workspace/workspace/eap-as-hp-ia64/jboss-eap-4.3/jboss-as/lib/endorsed -Djgroups.udp.ip_ttl=0 -Djava.net.preferIPv4Stack=false org.jboss.Main -c all -b 10.16.94.190 -u 239.16.94.191 [server:start] Failed to start server "all" before timeout. Destroying the process. BUILD FAILED /qa/services/hudson/hudson_workspace/workspace/eap-as-hp-ia64/src/jboss-eap-4.3-src/jboss-as/testsuite/build.xml:855: The following error occurred while executing this line: /qa/services/hudson/hudson_workspace/workspace/eap-as-hp-ia64/src/jboss-eap-4.3-src/jboss-as/testsuite/build.xml:1227: Error starting server "all": Server failed to start; see logs. The new thing is that now we start the server with "-Djava.net.preferIPv4Stack=false" unlike in the past. That is preventing the AS from starting up correctly. 15:57:34,765 WARN [ServiceController] Problem starting service jboss.cache:service=TomcatClusteringCache org.jgroups.ChannelException: failed to start protocol stack at org.jgroups.JChannel.connect(JChannel.java:389) at org.jboss.cache.TreeCache.startService(TreeCache.java:1549) at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) ... Caused by: java.lang.Exception: exception caused by UDP.start() at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:582) at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:496) at org.jgroups.stack.Protocol.passDown(Protocol.java:533) at org.jgroups.protocols.Discovery.down(Discovery.java:333) at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499) at org.jgroups.stack.Protocol.passDown(Protocol.java:533) at org.jgroups.protocols.MERGE2.down(MERGE2.java:207) at org.jgroups.stack.Protocol.receiveDownEvent(Protocol.java:499) at org.jgroups.stack.Protocol.passDown(Protocol.java:533) ... Caused by: java.lang.Exception: problem creating sockets (bind_addr=/10.16.94.190, mcast_addr=null) at org.jgroups.protocols.UDP.start(UDP.java:381) at org.jgroups.stack.Protocol.handleSpecialDownEvent(Protocol.java:571) ... 135 more Caused by: java.net.SocketException: Operation not supported (errno:223) at java.net.PlainDatagramSocketImpl.setTimeToLive(Native Method) at java.net.MulticastSocket.setTimeToLive(MulticastSocket.java:209) at org.jgroups.protocols.UDP.createSockets(UDP.java:479) at org.jgroups.protocols.UDP.start(UDP.java:376) ... 136 more When the parameter is removed, the server starts normally.

    JBoss Issue Tracker | 7 years ago | Martin Malina
    org.jgroups.ChannelException: failed to start protocol stack

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.jboss.cache.CacheException

      Initial state transfer failed: Channel.getState() returned false

      at org.jboss.cache.TreeCache.fetchStateOnStartup()
    2. org.jboss.cache
      PojoCache.startService
      1. org.jboss.cache.TreeCache.fetchStateOnStartup(TreeCache.java:3378)
      2. org.jboss.cache.TreeCache.startService(TreeCache.java:1556)
      3. org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94)
      3 frames
    3. JBoss Application Server System
      ServiceMBeanSupport.jbossInternalLifecycle
      1. org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
      2. org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
      2 frames
    4. Java RT
      GeneratedMethodAccessor3.invoke
      1. sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      1 frame