Using JBoss Application Server
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.
Chapter 4.
11
Содержание APPLICATION STACK 2.0 RELEASE
Страница 1: ...Red Hat Application Stack V 2 0 Release Notes 2 0 ISBN N A Publication date ...
Страница 2: ...Red Hat Application Stack V 2 ...
Страница 3: ...Red Hat Application Stack V 2 0 Release Notes Copyright 2007 Red Hat Inc ...
Страница 4: ...Red Hat Application Stack V 2 ...
Страница 6: ...vi ...
Страница 8: ...2 ...
Страница 12: ...6 ...
Страница 26: ...20 ...