wiki:JBOSS HowTo Auto Start on Reboot

JBOSS HowTo Auto Start on Reboot

Tags: JBOSS HowTo Crontab


To automatically start on reboot. Add the following line to the crontab of a user with the permissions to run JBOSS. (wwwrun on the lamp servers)

@reboot /local/jboss-5.1.0.GA/bin/ -b &

This will probably require some ACL changes. Here are the ones that were required on the University LAMP server:

setfacl -m u:wwwrun:rwx log
setfacl -m u:wwwrun:rw data/jnp-service.url
setfacl -m u:wwwrun:rwx data/hypersonic
setfacl -m u:wwwrun:rwx data/hypersonic/*
setfacl -m u:wwwrun:rw data/hypersonic/*
setfacl -m u:wwwrun:wrx /local/jboss-5.1.0.GA/server/default/data
setfacl -m u:wwwrun:rwx tmp/
setfacl -m u:wwwrun:rwx vfs-nested.tmp
setfacl -m u:wwwrun:rwx work/
setfacl -m u:wwwrun:rwx work/jboss.web/localhost/
setfacl -m u:wwwrun:rwx work/jboss.web/localhost/*

Error: Macro BackLinks(None) failed
'Environment' object has no attribute 'get_db_cnx'

Last modified 7 years ago Last modified on 11/29/15 17:14:19
Note: See TracWiki for help on using the wiki.