What is the preferred method of running JBoss AS as a Windows Service?
Environment
- JBoss Enterprise Application Platform (EAP)
- 7
- 6
- 5
- 4
- JBoss Enterprise Portal Platform (EPP)
- 4
- JBoss SOA Platform (SOA-P)
- 4
- Microsoft Windows
- Server 2003 SP2(x86, x86_64)
- Server 2008 (x86, x86_64)
- Server 2008 R2 (x86, x86_64)
Issue
- What is the preferred or recommended way of installing or running as a Windows Service?
- Is there a Red Hat or JBoss native solution to run as a Windows service?
- Is Tanuki Software's Java Service Wrapper the only choice for running as a Windows service?
- Need to understand how to convert the server into a windows service
Resolution
The following can be used to run JBoss EAP as a service on Windows:
- JBoss Native
- This is the preferred method of running the JBoss application server component as a Windows Service.
- The latest release of JBoss Native is pre-configured for JBoss Application Server (AS) 5 and its default settings should be updated for use with your specific deployment of the JBoss application server component. Also see Instructions from This content is not included.EAP 5 Getting Started Guide
- Pre EAP 5, it can be downloaded from Content from jboss.org is not included.link otherwise it's available from the support portal
- EAP 6 covers this topic in the installation guide
- EAP 7 covers this topic in this link
NOTE: JBoss Native is not supported for EAP 4.2.0 and EAP 4.3.0. Red Hat Global Support Services will however provide a comercially reasonable effort to support active entitlements.
- Tanuki Software's Java Service Wrapper
- A community version of Java Service Wrapper is offered and maintained by Tanuki Software, Ltd. Please see their website and project page for details on licensing and support. It can be downloaded from Content from wrapper.tanukisoftware.org is not included.Content from wrapper.tanukisoftware.org is not included.http://wrapper.tanukisoftware.org/doc/english/download.jsp
- This is offered by Tanuki Software, Ltd. which is not affiliated with Red Hat, Inc. See their community site for Content from community.jboss.org is not included.Instructions from community .
NOTE: Although JBoss Native windows zip has references to wrapper.conf, it is not supported by Red Hat
****** Using Content from forge.ow2.org is not included.JavaService is not recommended, as there are Content from jira.jboss.org is not included.issues with it setting thread stack size.
For SOA-P, please use the Native components for the version of EAP that SOA-P version is based on.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.