0 Replies Latest reply on Oct 3, 2017 10:04 AM by abhishek dutta gupta

    infinispan-server-7.2.5.Final-bin clustered issue in 2 different boxes

    abhishek dutta gupta Newbie

      I want to use standalone ha configuration for clustering infinispan server 7.2.5 in 2 different boxes.

       

      My command to run this from one machine is:

       

      ./standalone.sh -c standalone-ha.xml -b <<my host machine>>  -u 230.0.0.4 -Djboss.server.base.dir=../standalone -Djboss.node.name=node1 -Djboss.socket.binding.port-offset=100

       

      and I have changed standalone-ha.xml only the below  bold part:

       

      <subsystem xmlns="urn:jboss:domain:jgroups:2.0" default-stack="tcp">

                  <stack name="udp">

                      <transport type="UDP" socket-binding="jgroups-udp"/>

                      <protocol type="PING"/>

                      <protocol type="MERGE3"/>

                      <protocol type="FD_SOCK" socket-binding="jgroups-udp-fd"/>

                      <protocol type="FD_ALL"/>

                      <protocol type="VERIFY_SUSPECT"/>

                      <protocol type="pbcast.NAKACK2"/>

                      <protocol type="UNICAST3"/>

                      <protocol type="pbcast.STABLE"/>

                      <protocol type="pbcast.GMS"/>

                      <protocol type="UFC"/>

                      <protocol type="MFC"/>

                      <protocol type="FRAG2"/>

                      <protocol type="RSVP"/>

                  </stack>

                  <stack name="tcp">

                      <transport type="TCP" socket-binding="jgroups-tcp"/>

                      <protocol type="MPING" socket-binding="jgroups-mping"/>

                      <protocol type="MERGE2"/>

                      <protocol type="FD_SOCK" socket-binding="jgroups-tcp-fd"/>

                      <protocol type="FD"/>

                      <protocol type="VERIFY_SUSPECT"/>

                      <protocol type="pbcast.NAKACK2"/>

                      <protocol type="UNICAST3"/>

                      <protocol type="pbcast.STABLE"/>

                      <protocol type="pbcast.GMS"/>

                      <protocol type="MFC"/>

                      <protocol type="FRAG2"/>

                      <protocol type="RSVP"/>

                  </stack>

              </subsystem>

       

      The error I am receiving, any clue on this, I have downloaded infinispan from site only  infinispan-server-7.2.5.Final-bin

       

      19:33:42,036 ERROR [org.jboss.as.server] (Controller Boot Thread) JBAS015956: Caught exception during boot: org.jboss.as.controller.persistence.ConfigurationPersistenceException: JBAS014676: Failed to parse configuration

              at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:112) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.server.ServerService.boot(ServerService.java:331) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:259) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131]

      Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module org.jboss.as.jaxrs

              at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:155) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.server.parsing.StandaloneXml.readServerElement_1_4(StandaloneXml.java:434) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:145) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:107) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

              at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69) [staxmapper-1.1.0.Final.jar:1.1.0.Final]

              at org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:104) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              ... 3 more

      Caused by: java.util.concurrent.ExecutionException: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module

              at java.util.concurrent.FutureTask.report(FutureTask.java:122) [rt.jar:1.8.0_131]

              at java.util.concurrent.FutureTask.get(FutureTask.java:192) [rt.jar:1.8.0_131]

              at org.jboss.as.controller.parsing.ExtensionXml.parseExtensions(ExtensionXml.java:147) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              ... 9 more

      Caused by: javax.xml.stream.XMLStreamException: JBAS014674: Failed to load module

              at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:196) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.controller.parsing.ExtensionXml.access$000(ExtensionXml.java:69) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:127) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at org.jboss.as.controller.parsing.ExtensionXml$1.call(ExtensionXml.java:124) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_131]

              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_131]

              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_131]

              at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_131]

              at org.jboss.threads.JBossThread.run(JBossThread.java:122) [jboss-threads-2.1.1.Final.jar:2.1.1.Final]

      Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.resteasy.resteasy-atom-provider:main

              at org.jboss.modules.Module.addPaths(Module.java:1050) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.Module.link(Module.java:1406) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.Module.relinkIfNecessary(Module.java:1434) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:242) [jboss-modules.jar:1.3.3.Final]

              at org.jboss.as.controller.parsing.ExtensionXml.loadModule(ExtensionXml.java:178) [wildfly-controller-8.2.0.Final.jar:8.2.0.Final]

              ... 8 more

       

      19:33:42,048 FATAL [org.jboss.as.server] (Controller Boot Thread) JBAS015957: Server boot has failed in an unrecoverable manner; exiting. See previous messages for details.