[jboss-user] [Management, JMX/JBoss] - Re: JConsole remote not working with JBoss4.2.2GA
vlaugier
do-not-reply at jboss.com
Fri Apr 25 09:56:26 EDT 2008
Hello all,
I have just found that there is a run.conf in JBOSS_HOME/bin
but also in JBOSS_HOME/server/production, JBOSS_HOME/serve/default, ...
I have not yet understand how the choice is made between then in JBOSS_HOME/bin/run.sh
# Read an optional running configuration file
if [ "x$RUN_CONF" = "x" ]; then
if [ ! -z "$JBOSSCONF" ] && [ -f "$DIRNAME/../server/$JBOSSCONF/run.conf" ]; then
RUN_CONF="$DIRNAME/../server/$JBOSSCONF/run.conf"
else
RUN_CONF="$DIRNAME/run.conf"
fi
fi
if [ -r "$RUN_CONF" ]; then
. "$RUN_CONF"
fi
It might help people like myself that could not understand why startup options were not taken into account
cheers
vincent
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146820#4146820
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4146820
More information about the jboss-user
mailing list