24 | | == Auto Start on Reboot |
25 | | |
26 | | 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) |
27 | | |
28 | | {{{ |
29 | | @reboot /local/jboss-5.1.0.GA/bin/run.sh -b 0.0.0.0 & |
30 | | }}} |
31 | | |
32 | | This will probably require some ACL changes. Here are the ones that were required on the University LAMP server: |
33 | | |
34 | | {{{ |
35 | | setfacl -m u:wwwrun:rwx log |
36 | | setfacl -m u:wwwrun:rw data/jnp-service.url |
37 | | setfacl -m u:wwwrun:rwx data/hypersonic |
38 | | setfacl -m u:wwwrun:rwx data/hypersonic/* |
39 | | setfacl -m u:wwwrun:rw data/hypersonic/* |
40 | | setfacl -m u:wwwrun:wrx /local/jboss-5.1.0.GA/server/default/data |
41 | | setfacl -m u:wwwrun:rwx tmp/ |
42 | | setfacl -m u:wwwrun:rwx vfs-nested.tmp |
43 | | setfacl -m u:wwwrun:rwx work/ |
44 | | setfacl -m u:wwwrun:rwx work/jboss.web/localhost/ |
45 | | setfacl -m u:wwwrun:rwx work/jboss.web/localhost/* |
46 | | }}} |
| 23 | - [[JBOSS HowTo Debug Restart Issues]] |
| 24 | - [[JBOSS HowTo Auto Satrt on Reboot]] |