#!/bin/sh
#
# JDBC Setup - IBM WebServices Gateway
#
# The arguments are:
# "1: WebServices Gateway dir"
# "2: WebSphere nodename"
# "3: WebSphere AppServer dir"
# "4: db2java.zip"

echo "calling $3/bin/XMLConfig.sh -adminNodeName $2 -import $1/install/wsgw_jdbc.xml -substitute \"NODE_NAME=$2;WAS_DIR=$3;JDBC_CLASS=COM.ibm.db2.jdbc.DB2XADataSource;JNDI_NAME=jdbc/WSGWDB;JDBC_PATH=$4\""

$3/bin/XMLConfig.sh -adminNodeName $2 -import $1/install/wsgw_jdbc.xml -substitute "NODE_NAME=$2;WAS_DIR=$3;JDBC_CLASS=COM.ibm.db2.jdbc.DB2XADataSource;JNDI_NAME=jdbc/WSGWDB;JDBC_PATH=$4"

exit $?
