JBoss Web comes with Windows service executable that can run JBoss Web Server as service.
The service executable jbosssvc.exe transforms the run.bat and shutdown.bat batch scripts to services. This means that any change made to those scripts will be used both in service and command line mode.
Installing service
To install the JBoss Web server as Windows service use the provided service.bat batch file
|
Starting the service
To start the JBoss Web server as Windows service use Control pannel or net start command.
|
When running in service mode the console output is redirected to the file run.log. You can inspect the file for any errors during service startup.
Stopping the service
To stop the JBoss Web server as Windows service use Control pannel or net stop command.
|
When running in service mode the console output is redirected to the file shutdown.log. You can inspect the file for any errors during service shutdown.
Stopping the service
To restart the JBoss Web server as Windows service use Control pannel.
Removing the service
To remove the JBoss Web server as Windows service use the provided service.bat batch file.
|
Customization of the service
Service customization is done by editing the service.bat script. Each command has a separate section that you can customize. The most common customization task would be changing service names if more then one service instances per box are required.
0 comments:
Post a Comment