Changes between Initial Version and Version 1 of JBOSS HowTo Auto Start on Reboot


Ignore:
Timestamp:
11/29/15 17:12:34 (8 years ago)
Author:
Richard Bramley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • JBOSS HowTo Auto Start on Reboot

    v1 v1  
     1= JBOSS HowTo Auto Satrt on Reboot
     2
     3Tags: [[JBOSS]] [[HowTo]]
     4
     5== Procedure
     6
     7To 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)
     8
     9{{{
     10@reboot /local/jboss-5.1.0.GA/bin/run.sh -b 0.0.0.0 &
     11}}}
     12
     13This will probably require some ACL changes.  Here are the ones that were required on the University LAMP server:
     14
     15{{{
     16setfacl -m u:wwwrun:rwx log
     17setfacl -m u:wwwrun:rw data/jnp-service.url
     18setfacl -m u:wwwrun:rwx data/hypersonic
     19setfacl -m u:wwwrun:rwx data/hypersonic/*
     20setfacl -m u:wwwrun:rw data/hypersonic/*
     21setfacl -m u:wwwrun:wrx /local/jboss-5.1.0.GA/server/default/data
     22setfacl -m u:wwwrun:rwx tmp/
     23setfacl -m u:wwwrun:rwx vfs-nested.tmp
     24setfacl -m u:wwwrun:rwx work/
     25setfacl -m u:wwwrun:rwx work/jboss.web/localhost/
     26setfacl -m u:wwwrun:rwx work/jboss.web/localhost/*
     27}}}
     28
     29[[BackLinks]]