-
1. Re: JBoss did not start automatically on Linux(FC 6)
peterj Mar 15, 2007 11:17 AM (in response to javatwo)Did you create a user account named "jboss"? The script attempts to run the app server as the user "jboss". You will also have to change the permissions on the jboss files to give the "jboss" user access.
-
2. Re: JBoss did not start automatically on Linux(FC 6)
javatwo Mar 15, 2007 10:56 PM (in response to javatwo)Hi Peter,
I did not create user "jboss". root is used to start Jboss because only root can use port 80. what is the difference between starting Jboss on reboot and starting Jboss manually using root?
JBOSS_USER=${JBOSS_USER:-"RUNASIS"}
...
if [ "$JBOSS_USER" = "RUNASIS" ]; then
SUBIT=""
else
SUBIT="su - $JBOSS_USER -c "
fi
-------
Thanks for help.
David -
3. Re: JBoss did not start automatically on Linux(FC 6)
javatwo Mar 15, 2007 10:59 PM (in response to javatwo)For starting JBoss automatically on system reboot, which user is used? If user "root" is used, there should not be any difference, right? I can start Jboss manually using the following command as a root user:
/etc/init.d/jboss start -
4. Re: JBoss did not start automatically on Linux(FC 6)
dimitris Mar 16, 2007 7:49 AM (in response to javatwo)It's better if you run under a non-root user. The only reason to run as root would be to bind ports under <1024, but this is not required by default.