Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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/run.sh. 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

1 Answer 1

In JBoss 5 and 6 you can find in the bin directory proper service scripts, for example jboss_init_redhat.sh. 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):

StartJBossOnBootWithLinux


Small update:

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

share|improve this answer

Your Answer

 
discard

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.