Using The Jbossas-* Commands From Any Directory - Red Hat APPLICATION STACK 2.0 - RELEASE NOTES Release Note

Table of Contents

Advertisement

Chapter 4. Using JBoss Applic...
'production', 'minimal' and 'all', you must create a new directory for your configuration as follows
(note the switches given to the
JBOSS_BASE=/var/lib/jbossas
cd $JBOSS_HOME
cp -pL -R server/default server/myownconfig
You can then change the configuration and request it to be used by specifying it in the
, as usual.
run.sh
3. Creating copies of
The analog of unzipping another copy of JBoss Application Server in a different directory is to
make a copy of the RPM-installed
You probably want this copy to have your own userid and group, so use:
cp -L -R /var/lib/jbossas my_new_jboss_home_directory
If you want to retain the
cp -pL -R /var/lib/jbossas my_new_jboss_home_directory
To run multiple servers simultaneously you will need to adjust the configuration to avoid port
conflicts, as described in the JBoss Application Server documentation. Refer to
multiple instances of JBoss Application Server
Note
Please note that automated updating of copies created using methods above is
not supported. If you create custom copies, you will manually have to port files /
changes from a new update to that copy.
4. Using the
Most of the commands found in
like
jbossas-command
So, for instance, there is a
To use these commands, however, you must set two environment variables:
export JBOSS_HOME=/var/lib/jbossas
14
command):
cp
JBOSS_HOME
JBOSS_HOME
user and group ownership, use instead:
jboss
commands from any directory
jbossas-*
$JBOSS_HOME/bin
, where
is the original JBoss Application Server command name.
command
command that is available from any directory.
jbossas-run
, located at
/var/lib/jbossas
for more information.
have equivalents in
flag to
-c
.
Running
with names
/usr/bin

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents