-
1. Re: Runnning JBoss as service using JavaService.exe
jennetta Apr 23, 2003 10:33 AM (in response to wasifakbar)Here's what I got to work:
-params -c[config name]
Use the params keyword to send the startup option to javaservice.exe. That's right: no space between the -c and the name of the config directory. I'm using the standard .BAT file to call javaservice.exe, so I just inserted the -params keyword after the "-start org.jboss.Main" and before the "-stop org.jboss.Main"
After the service has been created, you can confirm the startup option in the registry at HKLM\SYSTEM\CurrentControlSet\Service\[service_name]\Parameters by looking at the "Start Parm Number 0" value, where you should see -c[config_name], e.g., -ccustom.
I hope this helps. -
2. Re: Runnning JBoss as service using JavaService.exe
jennetta Apr 23, 2003 10:35 AM (in response to wasifakbar)Here's what I got to work:
-params -c[config name]
Use the params keyword to send the startup option to javaservice.exe. That's right: no space between the -c and the name of the config directory. I'm using the standard .BAT file to call javaservice.exe, so I just inserted the -params keyword after the "-start org.jboss.Main" and before the "-stop org.jboss.Main"
After the service has been created, you can confirm the startup option in the registry at HKLM\SYSTEM\CurrentControlSet\Service\[service_name]\Parameters by looking at the "Start Parm Number 0" value, where you should see -c[config_name], e.g., -ccustom.
I hope this helps.