Sun Java System Identity Pack 2005Q4M3 Installation |
F
setRepo Reference
UsagesetRepo [location_flags] [options]
location_flags
Options
Syntax
The following is an example containing arguments for a direct JDBC driver connection:
{-toracle { -u$url | -h$host [-p$port] [-d$dbname] } [-U$userid \
-P$pwd] [-D$propsPath]| -tmysql [ -u$url | [-h$host] [-p$port] [-d$dbname] ] [-U$userid \
-P$pwd] [-D$propsPath]| -tsqls { -u$url | -h$host [-p$port] [-d$dbname] } [-U$userid \
-P$pwd] [-D$propsPath]| -tdb2 { -u$url | -h$host [-p$port] [-d$dbname] } [-U$userid \
-P$pwd] [-D$propsPath]}
The following is an example containing arguments that specify a direct DataSource connection:
| -toracle -i$initCtxFac -f$path [-u$providerUrl] [-U$userid \
-P$pwd] [-D$propsPath]| -tmysql -i$initCtxFac -f$path [-u$providerUrl] [-U$userid -P$pwd] \
[-D$propsPath]| -tsqlserver -i$initCtxFac -f$path [-u$providerUrl] [-U$userid \
-P$pwd] [-D$propsPath]| -tdb2 -i$initCtxFac -f$path [-u$providerUrl] [-U$userid -P$pwd] \
[-D$propsPath]
}
ExamplessetRepo
setRepo -c
setRepo -tLocalFiles -f$WSHOME
setRepo -tOracle -hhost.your.com -p1521 -ddbname
setRepo -tOracle -ujava:oracle:thin:@host.your.com:1521:dbname
setRepo -tOracle -icom.sun.jndi.fscontext.RefFSContextFactory \
-fjdbc/SampleDBsetRepo -tMysql
setRepo -tMysql -ujdbc:mysql://localhost/waveset
setRepo -tSQLServer - ujdbc:microsoft:sqlserver://host.your.com:1433;Database\
Name=dbname;SelectMethod=CursorsetRepo -tDB2 -ujdbc:db2://host.your.com:6789/dbname
setRepo -tDB2 -ujdbc:db2:dbname -jCOM.ibm.db2.jdbc.app.DB2Driver