22 lines
648 B
Bash
22 lines
648 B
Bash
#!/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
|
|
|
|
echo shutdown.sh --server=jnp://$ADEMPIERE_APPS_SERVER:$ADEMPIERE_JNP_PORT
|
|
. $JBOSS_HOME/bin/shutdown.sh --server=jnp://$ADEMPIERE_APPS_SERVER:$ADEMPIERE_JNP_PORT --shutdown
|