JBoss as a Service

The Java Service Wrapper can install JBoss as a Windows service or Unix daemon. Its documentation uses JBoss as an example ;).

It consists of:

All of these files are copied to JBoss's bin directory. The wrapper.conf file is modified to suit JBoss's needs.

On Windows, batch files are provided to install and uninstall JBoss as a service. On Red Hat Linux, the shell script can be softlinked to /etc/rc.d/init.d to serve as init-script.