0 Replies Latest reply on Feb 11, 2013 6:21 AM by Virupaxappa Satenahalli

    Jboss 6.1 Horizontal cluster

    Virupaxappa Satenahalli Newbie

      Hi folks,

      I have one query,

       

      I have created the cluster env on linux machines

       

      +++++++++++++++++++++++++++++++++++

      On Machine A

      ++++++++

       

      I have 2 cluster nodes as node1 and node2

       

      Machine A: /home/jboss-6.1.0.Final/server # ls

      all  clusternode  default  jbossweb-standalone  minimal  node1  node2  standard

       

      On Machine  B

      ++++++++++

      Machine B: /home/jboss-6.1.0.Final/server # ls

      all  default  jbossweb-standalone  minimal  node3  standard

      +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

       

      I am able to start the jboss without any issues on Machine A for both nodes node1 and node2  with below commands

      Machine A :/home/jboss-6.1.0.Final/bin # ./run.sh -c node1 -b   -Djboss.messaging.ServerPeerID=3 -Djboss.service.binding.set=ports-03

      =========================================================================

       

          But when I try to execute the command with remote host  ( Machine B Hostname)  on Machine like I get the error. Please assist on this  Machine A: /home/jboss-6.1.0.Final/bin # ./run.sh -c node3 -b chariot6b -Djboss.messaging.ServerPeerID=3 -Djboss.service.binding.set=ports-03   JBoss Bootstrap Environment

       

        JBOSS_HOME: /home/jboss-6.1.0.Final

       

        JAVA: /home/jre1.6.0/bin/java

       

        JAVA_OPTS: -server -Xms128m -Xmx512m -XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djava.net.preferIPv4Stack=true -Dprogram.name=run.sh -Dlogging.configuration=file:./logging.properties -Djava.library.path=/home/jboss-6.1.0.Final/bin/native/lib

       

        CLASSPATH: /home/jboss-6.1.0.Final/bin/run.jar:/home/viru/listener.jar

       

      =========================================================================

       

      Failed to boot JBoss:

      org.jboss.bootstrap.api.config.InvalidConfigurationException: Could not get a connection to the jboss.server.config.url: file:/home/jboss-6.1.0.Final/server/node3/conf

              at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBasedConfigurationValidator.java:217)

              at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBasedConfigurationValidator.java:187)

              at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.validate(JBossASBasedConfigurationValidator.java:120)

              at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.validate(JBossASBasedConfigurationValidator.java:43)

              at org.jboss.bootstrap.impl.base.server.AbstractServer.validate(AbstractServer.java:1010)

              at org.jboss.bootstrap.impl.base.server.AbstractServer.doInitialize(AbstractServer.java:566)

              at org.jboss.bootstrap.impl.mc.server.AbstractMCServerBase.doInitialize(AbstractMCServerBase.java:230)

              at org.jboss.bootstrap.impl.as.server.AbstractJBossASServerBase.doInitialize(AbstractJBossASServerBase.java:284)

              at org.jboss.bootstrap.impl.base.server.AbstractServer.initialize(AbstractServer.java:524)

              at org.jboss.Main.boot(Main.java:469)

              at org.jboss.Main$1.run(Main.java:816)

              at java.lang.Thread.run(Unknown Source)

      Caused by: java.io.FileNotFoundException: /home/jboss-6.1.0.Final/server/node3/conf

              at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnection.java:105)

              at org.jboss.bootstrap.impl.as.config.JBossASBasedConfigurationValidator.require(JBossASBasedConfigurationValidator.java:213)

              ... 11 more

      Posting Shutdown Request to the server...

      Server startup has not completed, so halting the process

      chariot6a:/home/jboss-6.1.0.Final/bin #