0 Replies Latest reply on Nov 8, 2006 2:12 PM by somu junkee

    Setting Up three JBoss instances as NT service

    somu junkee Newbie

      Hi,

      I have a 3 node JBoss 4.0.4 cluster on the same machine. I installed JavaService 1.2.7.
      I was trying to start the instances as NT service. I used the command shown below but
      nothing starts up. I get the message that JBoss is started and stopped.
      Please suggest me on this..Thanks

      "%JAVASERVICE_HOME%\bin\JavaService.exe"
      -install JBoss01
      "%JAVA_HOME%\jre\bin\server\jvm.dll"
      "-Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar"
      -start org.jboss.Main
      -params -c Node1
      -stop org.jboss.Main
      -method systemExit
      -out "%JBOSS_HOME%\logs\jboss_stdout.log"
      -err "%JBOSS_HOME%\logs\jboss_stderr.log"
      -current "%JBOSS_HOME%\bin"
      -auto

      "%JAVASERVICE_HOME%\bin\JavaService.exe"
      -install JBoss02
      "%JAVA_HOME%\jre\bin\server\jvm.dll"
      "-Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar"
      -start org.jboss.Main
      -params -c Node2
      -stop org.jboss.Main
      -method systemExit
      -out "%JBOSS_HOME%\logs\jboss_stdout.log"
      -err "%JBOSS_HOME%\logs\jboss_stderr.log"
      -current "%JBOSS_HOME%\bin"
      -auto

      "%JAVASERVICE_HOME%\bin\JavaService.exe"
      -install JBoss03
      "%JAVA_HOME%\jre\bin\server\jvm.dll"
      "-Djava.class.path=%JAVA_HOME%\lib\tools.jar;%JBOSS_HOME%\bin\run.jar"
      -start org.jboss.Main
      -params -c Node3
      -stop org.jboss.Main
      -method systemExit
      -out "%JBOSS_HOME%\logs\jboss_stdout.log"
      -err "%JBOSS_HOME%\logs\jboss_stderr.log"
      -current "%JBOSS_HOME%\bin"
      -auto