JBoss Setup Notes
David Wallace Croft
2006 Dec 20 Wed
These are my notes on setting up a
Changing the Admin Password
Security Service of "Getting Started with JBoss 4.0"
describes how to change the admin password.
Automatically Starting JBoss
The JBoss.org Wiki Knowledgebase article
How do I Start JBoss on boot with Linux? tells you how to make JBoss
automatically start as a service when the server boots up. Instead of
using the script described in that article, I modified the
"jboss_init_redhat.sh" script described very briefly in
Running as a Service of "Getting Started with JBoss 4.0". The stop
function does not quite work right until you append "-u admin -p password"
to the JBOSS_CMD_STOP variable as described in this
cp jboss_init_redhat.sh jboss_init_redhat.sh.original
cp jboss_init_redhat.sh /etc/init.d/jboss
service jboss start
service jboss stop