Authored by chunhua.zhang

添加group的配置

... ... @@ -32,13 +32,12 @@ export CHECK_SERVER_STARTUP_URL="http://127.0.0.1:$HTTP_SERVER_PORT/$SERVER_NAME
export STARTUP_SUCCESS_MSG="Server Online Resources ok"
export GROUP=${yoho.env.group}
if [ "$GROUP" = ".env.group" ];then
export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
else
export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dgroup=$GROUP "
fi
export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
if [ "$GROUP" = ".env.group" ];then
export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true "
else
export JAVA_OPTS=" -XX:-OmitStackTraceInFastThrow -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -Dgroup=$GROUP "
fi
export JAVA_DEBUG_OPT=" -server -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=$DEBUG_PORT,server=y,suspend=n "
#jmx
... ...