Configure JBoss EAP 6.x as Service on RHEL 7 and derivatives

Starting with release 7 Red Hat switched to systemd as service manager. Old init based services are still handled correctly, so I expected to be able to follow Red Hat’s instructions in order to configure my JBoss EAP 6.x installation as a system service. However when I tried to run my service with

service start

I got an error message stating that the unit could not be started. After a little googling and a little trial and error I discovered that systemctl – the systemd replacement for the service command – didn’t like my service’s name. I moved the file to jboss, rerun chkconfig, and everything is now working.


Tags: , ,

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: