#!/usr/bin/qsh
 
# All Rights Reserved * Licensed Materials - Property of IBM
# 5724-I63, 5724-H88, 5655-N01, 5733-W60 (C) COPYRIGHT International Business Machines Corp., 1997,2006
# US Government Users Restricted Rights - Use, duplication or disclosure
# restricted by GSA ADP Schedule Contract with IBM Corp.
 
# wsadmin launcher

. $(/usr/bin/dirname $0)/setupCmdLine 
 
SHELL=com.ibm.ws.scripting.WasxShell
 
if [ ! "${USER_INSTALL_ROOT}" ] ; then
   USER_INSTALL_ROOT=${WAS_HOME}
fi
 
if [ -z "$JAASSOAP" ]; then
  JAASSOAP="-Djaassoap=off"
fi 
 
C_PATH="${WAS_HOME}/runtimes/com.ibm.ws.webservices.thinclient_9.0.jar;${WAS_HOME}/plugins/com.ibm.ws.batch.runtime.jar"

set_conglomerates

${JAVA_HOME}/bin/java ${JAVA_FLAGS} \
  ${javaOption} \
  ${WAS_DEBUG} \
  "${CLIENTSAS}" \
  "${CLIENTSOAP}" \
  "${CLIENTSSL}" \
  ${JAASSOAP} \
  -Dcom.ibm.ws.scripting.wsadminprops="${WSADMIN_PROPERTIES}" \
  -Dconfig_consistency_check="${CONFIG_CONSISTENCY_CHECK}" \
  -Dwas.install.root="${WAS_HOME}" \
  -Duser.install.root="${USER_INSTALL_ROOT}" \
  -Dwas.repository.root="${CONFIG_ROOT}" \
  -Dlocal.cell="${WAS_CELL}" \
  -Dlocal.node="${WAS_NODE}" \
  -Dcom.ibm.ws.management.standalone=true \
  -Dcom.ibm.itp.location="${WAS_HOME}/bin" \
  -Dws.ext.dirs="${WAS_EXT_DIRS}" \
  -Dcom.ibm.ws.client.installedConnectors="${CLIENT_CONNECTOR_INSTALL_ROOT}" \
  ${JVM_EXTRA_CMD_ARGS} \
  ${WAS_LOGGING} \
  -classpath "${C_PATH}" com.ibm.ws.batch.wsbatch $*
 

exit $?

















