6.3. Install JBoss Enterprise Application Platform 6 as a Service in Microsoft Windows
This task installs JBoss Enterprise Application Platform 6 as a service on Microsoft Windows.
You need administrator access to complete this task.
Procedure 6.2. Task
Download the Native Utilities package for your architecture.32-bit, 64-bit, and Itanium 64-bit packages are available from the Red Hat Customer Portal at https://access.redhat.com. For more information on downloading software from the Red Hat Customer Portal, refer to the JBoss Enterprise Application Platform 6 Installation Guide, available here: https://access.redhat.com/knowledge/docs/JBoss_Enterprise_Application_Platform/.
Unzip the downloaded archive.Unzip the archive into a new folder.Result: The
modules\native\bin\folder is created.
modules\native\bin\folder contains the files you need to install JBoss Enterprise Application Platform 6 as a service. These services are part of Procrun, which is a series of wrapper scripts provided by Apache Commons. To learn more about Procrun and its syntax, refer to the following link: http://commons.apache.org/daemon/procrun.html.
prunsrv.exe install path_to_startup_scriptResult
The service is installed. JBoss Enterprise Application Platform 6 is listed in the Services applet
Manage your service.Use the
modules\bin\prunmgr.exeexecutable to manage, edit, add, or delete services. The following command-line options are supported:
The general syntax is:
- pause [seconds]
prunmgr.exe command service_name
You can use the
net service command at the command line, or the
services.msc applet, to start, stop, and manage automatic start-up of JBoss Enterprise Application Platform 6 in Microsoft Windows Server.