2.7.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 2.3. 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: Themodules\native\bin\
folder is created.The
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.Run the
modules\sbin\prunsrv.exe
executable.prunsrv.exe install path_to_startup_script
ResultThe service is installed. JBoss Enterprise Application Platform 6 is listed in the Services applet
services.msc
.Manage your service.
Use themodules\bin\prunmgr.exe
executable to manage, edit, add, or delete services. The following command-line options are supported:- run
- service
- start
- stop
- update
- install
- delete
- pause [seconds]
- version
- help
The general syntax is: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.