[jboss-user] [Clustering/JBoss] - JBoss as a JavaService

somejunk do-not-reply at jboss.com
Wed Nov 8 10:58:42 EST 2006


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




View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984211#3984211

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984211



More information about the jboss-user mailing list