#!/bin/sh # # upgradeloc.sh # # NOTE: this script is used to upgrade the locations, the user will connect as workspace owner to the runtime repository. # 1, This script accept either 6 or 7 or 8 parameters. # 8 arguments: # In this case, the specific store will be upgraded with the given password. # 7 arguments: # Different from above case, the program will try to query the password automatically first, if failed will prompt the user for password. # 6 arguments: # In this case, the program will upgrade all the stores except the PlatformSchema. # 2, This program does not upgrade other location details except for password. If you want to upgrade other connection info, you can check wb_rt_reset_location # package under /owb/rtasst # 3, It is recommended to save the output to a log file for diagnostic. # 4, The location report page in RAB can also be used for this purpose. # umask 0027 JAVAPATH=../../../jdk CLASSPATH=../../lib/int/upgradeloc.jar:../../lib/int/servimpl.jar:../../lib/int/repossdk.jar:../../lib/int/util.jar:../../lib/int/rts2.jar:../../lib/int/rts.jar:../../../jdbc/lib/ojdbc5.jar:../../../sqlj/lib/runtime12.jar STORE_MANAGER="oracle.wh.ui.rab.StoreManagement" $JAVAPATH/bin/java -cp $CLASSPATH $STORE_MANAGER $*