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/jmx-console-users.properties

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 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 jboss_init_redhat.sh jboss_init_redhat.sh.original
vi jboss_init_redhat.sh
cp jboss_init_redhat.sh /etc/init.d/jboss
[...]
service jboss start
service jboss stop
 
 
 
CroftSoft
 
 
-About
-Library
--Books
--Code
--Courses
--Links
--Media
--Software
--Tutorials
-People
-Portfolio
-Update
 
 
Google
CroftSoft Web

 

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