#!/bin/sh
# IBM Confidential OCO Source Material
# 5630-A36 (C) COPYRIGHT International Business Machines Corp. 1997, 2002
# The source code for this program is not published or otherwise divested
# of its trade secrets, irrespective of what has been deposited with the
# U.S. Copyright Office.

binDir=`dirname "$0"`
#if [ -f . "$binDir/setupmq.sh" ] then
#. "$binDir/setupmq.sh"
#fi
if [ -f "$binDir/setupmq.sh" ]
then . "$binDir/setupmq.sh"
fi
. "$binDir/setupCmdLine.sh"

"$JAVA_HOME/bin/java" \
  -Dwas.install.root="$WAS_HOME" \
  -Duser.install.root="$WAS_HOME" \
  -Dws.ext.dirs="$WAS_EXT_DIRS" \
  -classpath "$WAS_CLASSPATH" com.ibm.ws.bootstrap.WSLauncher \
  com.ibm.websphere.rastools.collector.Collector   \
  -InstallDir "$WAS_HOME" -JavaHome "$JAVA_HOME" \
  -ConfigRoot "$CONFIG_ROOT" -WasNode "$WAS_NODE" -CellName "$WAS_CELL" \
   "$@"