core-jgi/utils/RUN_Server2.sh

21 lines
599 B
Bash
Raw Normal View History

2006-11-17 10:14:43 +07:00
#!/bin/sh
# ADempiere Server Start
2006-11-17 10:14:43 +07:00
if [ $ADEMPIERE_HOME ]; then
cd $ADEMPIERE_HOME/utils
fi
. ./myEnvironment.sh Server
# To use your own Encryption class (implementing org.compiere.util.SecureInterface),
# you need to set it here (and in the client start script) - example:
# SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure
SECURE=
# headless option if you don't have X installed on the server
JAVA_OPTS="-server $ADEMPIERE_JAVA_OPTIONS $SECURE -Djava.awt.headless=true -Dorg.adempiere.server.embedded=true"
2006-11-17 10:14:43 +07:00
export JAVA_OPTS
$JBOSS_HOME/bin/run.sh -c adempiere -b $ADEMPIERE_APPS_SERVER