Instructions for running JBoss ON rhqctl services as System V style init service do not work
Issue
- Service errors out
-
Service start command fails with the following error:
There is no JVM available. Please set RHQ_JAVA_HOME or RHQ_JAVA_EXE_FILE_PATH appropriately. 11:24:58,268 ERROR [org.rhq.server.control.RHQControl] Process exited with an error: 1 (Exit value: 1) -
There are
RHQ_JAVA_HOME not seterrors rhqctldoes not work as System V init script- How to run
rhqctlas a service - Service setup steps are broken
-
I get following error:
/etc/init.d/rhqctl: line 140: cd: /etc/rc.d/jbossas: No such file or directory ERROR! RHQ_SERVER_JBOSS_HOME is not pointing to a valid AS instance Missing /etc/rc.d/jboss-modules.jar - How should JON 3.2 be installed to run as a service in RHEL5/6/7?
- How to configure and run JBoss ON (JON) 3.2.0 Server as a Service in Red Hat Enterprise Linux platform?
- What is the recommended way to run JON as a CentOS Service?
Environment
- Red Hat JBoss Operations Network (ON) 3.2, 3.3
- JBoss ON server has been configured as a System V init service using the instructions provided in Basic Setup: Installing the Server on Linux of the Installation Guide Revision 3.3-46
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.