fixing issue with solr in jboss start

This commit is contained in:
Carlos Alexandro Becker 2012-11-21 16:35:31 -02:00
parent 9b1c64d7ff
commit 2acd30ed05
1 changed files with 3 additions and 2 deletions

View File

@ -69,9 +69,10 @@ ecmclean() {
# start jboss server
ecmstart() {
# why shall I start server if i just gen a installer?
if [[ "$INSTALLER" == "y" ]]; then
if [[ "$INSTALLER" == "n" ]]; then
echo "starting jboss"
JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=512m -DzkRun -Dbootstrap_conf=true" $ECM_JBOSS/bin/standalone.sh
cd $ECM_JBOSS/bin
JAVA_OPTS="-Xmx2048m -XX:MaxPermSize=512m -DzkRun -Dbootstrap_conf=true" ./standalone.sh
fi
}