Version 1 (modified by 9 years ago) ( diff ) | ,
---|
JBOSS HowTo Auto Satrt on Reboot
Procedure
To automatically start on reboot. Add the following line to the crotab of a user with the permissions to run JBOSS. (wwwrun on the lamp servers)
@reboot /local/jboss-5.1.0.GA/bin/run.sh -b 0.0.0.0 &
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/*
Note:
See TracWiki
for help on using the wiki.