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
|