2 Replies Latest reply on Nov 3, 2017 2:24 PM by psonpson2

    Wildfly 11 standalone-full-ha.xml, missing cluster name?

    psonpson2

      When running Wildfly 11,  standalone-full-ha.xml, having all of the interfaces set to public in socket-binding-group, and having the following in standalone.conf:

       

      JAVA_OPTS="$JAVA_OPTS -Djboss.server.default.config=standalone-full-ha.xml"

      JAVA_OPTS="$JAVA_OPTS -Djboss.default.multicast.address=230.0.0.4"

      JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address=$HOSTNAME"

      JAVA_OPTS="$JAVA_OPTS -Djboss.bind.address.management=$HOSTNAME"

      JAVA_OPTS="$JAVA_OPTS -Djboss.node.name=$HOSTNAME"

       

      I cant start Wildfly 11. I get the following error:

       

      ERROR [org.jboss.as.clustering.jgroups.protocol.UDP] (thread-3) JGRP000027: failed passing message up: java.lang.NullPointerException

          at org.jgroups.protocols.TP$SingleMessageHandler.getClusterName(TP.java:1881)

          at org.jgroups.protocols.TP$SingleMessageHandler.run(TP.java:1871)

          at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

          at org.jboss.as.clustering.jgroups.ClassLoaderThreadFactory.lambda$newThread$0(ClassLoaderThreadFactory.java:52)

          at java.lang.Thread.run(Thread.java:748)

       

      I didn't get this error when starting up Wildfly 10, with similar config. To avoid this problem in Wildfly 11, I suppose I have to set a cluster name somewhere. But where?