0 Replies Latest reply on Nov 8, 2006 10:58 AM by somu junkee

    JBoss as a JavaService

    somu junkee Newbie

      Hi,

      I have three instances of JBoss V4.0.4 running on the same machine in a cluster. How should set up all three as NT service?

      I tried this for all three instances but none of them is starting. Please let me know the correct procedure...

      "%JAVASERVICE_HOME%\bin\JavaService.exe"
      -install JBoss1
      "%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 JBoss2
      "%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 JBoss3
      "%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