core-jgi/derby/NetworkServerControl.ksh

32 lines
1017 B
Bash
Raw Normal View History

2006-11-17 10:07:54 +07:00
## ---------------------------------------------------------
# -- This simple script is an example of how to run commands
# -- for the Network Server framework
# --
# -- REQUIREMENTS:
# -- You must have the derby and Network Server jar files in your CLASSPATH
# --
# -- Check the setNetworkServerCP.ksh file for an example of
# -- what to set.
# --
# -- This file for use on Unix ksh systems
# ---------------------------------------------------------
# DERBY_INSTALL=
[ -z "$CLASSPATH" ] && {
. "$DERBY_INSTALL"/frameworks/NetworkServer/bin/setNetworkServerCP.ksh
}
# ---------------------------------------------------------
# -- start Derby Network Server
# ---------------------------------------------------------
java org.apache.derby.drda.NetworkServerControl $*
# ---------------------------------------------------------
# -- To use a different JVM with a different syntax, simply edit
# -- this file
# ---------------------------------------------------------