Getting unrecognized service when running JBoss as a linux service in EAP 6
Issue
- After following the below steps to run JBoss as linux service :
1. Open EAP_HOME/bin/init.d/jboss-as.conf.
2. Copy files into system directories
a. Copy the modified configuration file to the /etc/jboss-as directory.
[root@andy2 init.d]# sudo mkdir /etc/jboss-as
[root@andy2 init.d]# sudo cp jboss-as.conf /etc/jboss-as/
b. Copy the start-up script to the /etc/init.d directory.
[root@andy2 init.d]# sudo cp jboss-as-standalone.sh /etc/init.d
3. Add the start-up script as a service.
[root@andy2 init.d]# sudo chkconfig –add jboss-as-standalone.sh
4. Start the service.
[root@andy2 bin]# sudo service jboss-as-standalone.sh start
getting the following Error message :
jboss-as-standalone.sh: unrecognized service
- How to resolve this?
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
