home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / wsgatsam.zip / install / installDS.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2003-02-24  |  600b  |  17 lines

  1. #!/bin/sh
  2. #
  3. # Data Source Setup - IBM WebServices Gateway
  4. #
  5. # The arguments are:
  6. # "1: WebServices Gateway dir"
  7. # "2: WebSphere nodename"
  8. # "3: WebSphere AppServer dir"
  9. # "4: DB2 user id"
  10. # "5: DB2 password"
  11.  
  12. echo "calling $3/bin/XMLConfig.sh -adminNodeName $2 -import $1/install/wsgw_datasource.xml -substitute \"NODE_NAME=$2;WAS_DIR=$3;DB_DEFAULT_USER=$4;DB_DEFAULT_PWD=$5;JNDI_NAME=jdbc/WSGWDB;DB_URL=\""
  13.  
  14. $3/bin/XMLConfig.sh -adminNodeName $2 -import $1/install/wsgw_datasource.xml -substitute "NODE_NAME=$2;WAS_DIR=$3;DB_DEFAULT_USER=$4;DB_DEFAULT_PWD=$5;JNDI_NAME=jdbc/WSGWDB;DB_URL="
  15.  
  16. exit $?
  17.