Edit D:\app\Administrator\product\11.2.0\dbhome_1\sysman\admin\scripts\provisioning\deploymentLibraryImport.sh
#!/bin/sh # # $Header: deploymentLibraryImport.sh 30-apr-2007.16:27:06 minfan Exp $ # # deploymentLibraryImport.sh # # Copyright (c) 2005, 2007, Oracle. All rights reserved. # # NAME # deploymentLibraryImport.sh - <one-line expansion of the name> # # DESCRIPTION # <short description of component this file declares/defines> # # NOTES # <other useful comments, qualifications, etc.> # # MODIFIED (MM/DD/YY) # minfan 04/25/07 - ojdbc14 sunset # kashukla 08/15/06 - Backport kashukla_swlib_exp from main # kashukla 08/10/06 - Backport kashukla_exp2 from main # smodh 02/20/06 - XbranchMerge smodh_jdbc_emcore from main # njerath 12/27/05 - # kashukla 12/05/05 - # kashukla 08/14/06 - adding -force option # kashukla 05/31/06 - adding more params # smodh 01/20/06 - Replace classes12.jar with ojdbc14.jar # wsmit 11/17/05 - deployment lib xml import # wsmit 11/17/05 - deployment lib xml import # wsmit 11/17/05 - Creation # # invoke java on LibraryScripts with args load, 4 args # arg 1 -- connect string # arg 2 -- user # arg 3 -- passwd # arg 4 -- basedir # arg 5 -- file # arg 6 -- -force (optional) ORAXDK=$ORACLE_HOME/xdk/lib CLASSPATH=$ORACLE_HOME/sysman/jlib/emCORE.jar:$ORACLE_HOME/oc4j/jdbc/lib/ojdbc5dms.jar:$ORACLE_HOME/oc4j/jdbc/lib/ojdbc14dms.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-net-ee.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-utility.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-collation.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-net.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-internal.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-servlet.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-lcsd.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-tools.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-mapping.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n-translation.jar:$ORACLE_HOME/oc4j/jdbc/lib/orai18n.jar:$ORACLE_HOME/oc4j/lib/dms.jar:$ORACLE_HOME/jdbc/lib/ojdbc14.jar:$ORACLE_HOME/sysman/jlib/log4j-core.jar:$ORAXDK/xml.jar:$ORAXDK/xmlmesg.jar:$ORAXDK/xmlparserv2.jar:$ORAXDK/xschema.jar:$ORAXDK/classgen.jar JAVA_HOME=$ORACLE_HOME/jdk JAVA_MAIN=oracle.sysman.eml.swlib.LibraryScripts ERROR_MSG="Usage is: ./deploymentLibraryImport.sh <conn string> <username> <password> <basedir> <filename> [-force]"; if [ -z $5 ]; then echo $ERROR_MSG; exit; fi; FORCE=false; if [ -z $6 ]; then FORCE=false; elif [ "-force" == $6 ]; then FORCE=true; else echo $ERROR_MSG; exit; fi; ${JAVA_HOME}/bin/java -classpath ${CLASSPATH} ${JAVA_MAIN} load $1 $2 $3 $4 $5 $FORCE
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de