Using Jboss Application Server; Using The Linux Service (Production) - Red Hat APPLICATION STACK 2.2 - RELEASE NOTES Release Note

Table of Contents

Advertisement

Chapter 4.

Using JBoss Application Server

4.1. Using the Linux service (production)

JBoss Application Server can be started, stopped, and configured to start automatically at boot time
either from the command line or using a graphical tool.
You can start and stop the jbossas service using the service command as root on a console
window (as is typical of a network service):
service jbossas start
...
service jbossas stop
The behavior at boot can be controlled with the chkconfig command, as any other Linux service
(see chkconfig man page).
Alternatively, you can issue the command system-config-services to activate the graphical Red
Hat Service Configuration Tool, which can also be activated from the main menu. Select:
System Settings > Server Settings > Services
Note
For security purposes, beginning with Red Hat Application Stack V.1.1, authentication
for the jmx-console, web-console, jmx-invoker and http-invoker is turned on.
Additionally, no user accounts are active by default, so as to prevent default user /
password based attacks.
• Accounts for the jmx-console and the invokers can be set up by modifying:
$JBOSS_HOME/server/$CONFIG/conf/props/jmx-console-
users.properties
• Accounts for the web-console users can be set up by modifying:
$JBOSS_HOME/server/$CONFIG/deploy/management/console-mgr.sar
/web-console.war/WEB-INF/classes/web-console-
users.properties
Please note that the file name above has been split onto two lines for readability. It
should be understood and entered as one continuous line.
Where $JBOSS_HOME is the install directory (/var/lib/jbossas) and $CONFIG is
the server configuration you are using.
Please see
JBoss Application Server is configured with its internal servlet engine to listen for HTTP traffic on port
8080. Once the jbossas service has been started, you can verify that it is running by pointing your web
browser to:
http://kbase.redhat.com/faq/FAQ_107_9963.shtm
for more information
9

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the APPLICATION STACK 2.2 - RELEASE NOTES and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents