2006-11-17 10:14:43 +07:00
|
|
|
#!/bin/sh
|
|
|
|
# Adempiere Server Start
|
|
|
|
#
|
|
|
|
# $Id: RUN_Server2Stop.sh,v 1.8 2005/09/06 02:46:16 jjanke Exp $
|
|
|
|
|
|
|
|
if [ $ADEMPIERE_HOME ]; then
|
|
|
|
cd $ADEMPIERE_HOME/utils
|
|
|
|
fi
|
|
|
|
|
|
|
|
. ./myEnvironment.sh Server
|
|
|
|
echo Adempiere Server Stop - $ADEMPIERE_HOME \($ADEMPIERE_DB_NAME\)
|
|
|
|
|
|
|
|
JBOSS_LIB=$JBOSS_HOME/lib
|
|
|
|
export JBOSS_LIB
|
|
|
|
JBOSS_SERVERLIB=$JBOSS_HOME/server/adempiere/lib
|
|
|
|
export JBOSS_SERVERLIB
|
|
|
|
JBOSS_CLASSPATH=$ADEMPIERE_HOME/lib/jboss.jar:$JBOSS_LIB/jboss-system.jar:
|
|
|
|
export JBOSS_CLASSPATH
|
|
|
|
|
2008-06-10 03:40:02 +07:00
|
|
|
echo sh $JBOSS_HOME/bin/shutdown.sh --server=jnp://$ADEMPIERE_APPS_SERVER:$ADEMPIERE_JNP_PORT --shutdown
|
|
|
|
sh $JBOSS_HOME/bin/shutdown.sh --server=jnp://$ADEMPIERE_APPS_SERVER:$ADEMPIERE_JNP_PORT --shutdown
|