Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to run Jboss (preferably Jboss 7) as a service on Ubuntu? I can run Jboss using its sh file e.g. sh /jboss/bin/ But I can not monitor it like tomcat /etc/init.d/tomcat start|stop|restart.

share|improve this question
This question is unlikely to ever help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. – Ringtail Mar 18 '12 at 20:48
@Ringtail I disagree. It's a useful question to me. – Russell Silva Mar 25 '13 at 18:35

In JBoss 5 and 6 you can find in the bin directory proper service scripts, for example These script can be easily adopted to run in Debian system.

But with JBoss 7 there is no such script. I think that you have to adopt for example start script from earlier JBoss version or create your own.

There is some documentation about running JBoss as service (boy not for JBoss 7):


Small update:

In JBoss EAP 6 version you can find init script in bin/init.d directory.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.