CroftSoft / Library / Tutorials

JBoss Setup Notes

David Wallace Croft

2006 Dec 20 Wed

These are my notes on setting up a JBoss 4 application server.

Changing the Admin Password

Section 2.2.3 Security Service of "Getting Started with JBoss 4.0" describes how to change the admin password.

vi /opt/jboss/server/default/conf/props/

Automatically Starting JBoss

The 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 "" script described very briefly in Section 1.5 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 bug report.

cd /opt/jboss/bin
cp /etc/init.d/jboss
service jboss start
service jboss stop
CroftSoft Web


Creative Commons License
© 2006 CroftSoft Inc.
You may copy this webpage under the terms of the
Creative Commons Attribution License.