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.
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?
if [ "$JBOSS_USER" = "RUNASIS" ]; then
SUBIT="su - $JBOSS_USER -c "
Thanks for help.
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:
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.