Note
Please note that automated updating of configurations created using method
above is not supported. If you create custom configurations, you will manually
have to port files / changes from a new update to that configuration.
2. Using run.sh (development)
For development, you can activate the JBoss AS server with the familiar
run.sh
command as
usual. The
jbossas
RPM installs the
JBOSS_HOME
in
/var/lib/jbossas
So, you can
cd
to
/var/lib/jbossas/bin
and use
run.sh
from there.
If you wish to use a different JVM than the one that alternatives points to, you will need to set
JAVA_HOME first.
Tip
JAVA_HOME
can be set system-wide in
/etc/profile
. But beware, some users
may not want to have
JAVA_HOME
set to this same SDK. Also, some may prefer
to use the
alternatives
-selected one instead. These users may be affected by
this global setting of
JAVA_HOME
.
If you still need to set
JAVA_HOME
for some other reason, the
alternatives
-selected SDK is in
/usr/lib/jvm/java
, so a export
JAVA_HOME=/usr/lib/jvm/java
will do.
IMPORTANT
The entire JBoss AS suite runs under a new
jboss
system user. It may be
necessary to use the
su -s /bin/bash jboss
system command to run the
server, change configuration, deploy etc., due to file system permissions.
Alternatively, a developer can be listed in the
jboss
user group by the system
administrator.
Yet another possibility is to create a personal copy of JBOSS_HOME (see
Creating copies of JBOSS_HOME
below).
To create additional JBoss AS configurations besides the provided 'default', 'production',
Using run.sh (development)
13
Содержание APPLICATION STACK 1.3 RELEASE
Страница 1: ...Red Hat Application Stack V 1 3 Release Notes 1 3 ISBN N A Publication date ...
Страница 2: ...Red Hat Application Stack V 1 3 Release Notes ...
Страница 3: ...Red Hat Application Stack V 1 3 Release Notes Copyright 2006 2008 Red Hat Inc ...
Страница 4: ...Red Hat Application Stack V 1 3 Release Notes ...
Страница 6: ...vi ...
Страница 8: ...2 ...
Страница 12: ...6 ...
Страница 24: ...18 ...
Страница 26: ...20 ...