2006-11-17 10:14:43 +07:00
|
|
|
#!/bin/sh
|
2009-11-02 04:20:17 +07:00
|
|
|
# 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
|
2009-09-13 07:53:31 +07:00
|
|
|
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
|