由于 WebSphere 变量 DB2_JDBC_DRIVER_PATH 设置不正确,setupIdMgrDBTables 命令可能失败。
wsadmin>$AdminTask setupIdMgrDBTables {-report_sql_error true -schema_location
C:\WASX_n0607.09\etc\wim\setup -dbprop_xml C:\WASX_n0607.09\etc\wim\setup
-db_type db2 -db_jdbc_url jdbc:db2:wim -db_driver COM.ibm.db2.jcc.DB2Driver
-db_user db2user -db_password password -dn "o=Default Organization"}
WASX7015E: Exception running command: "$AdminTask setupIdMgrDBTables
{-report_sql_error true -schema_location C:\WASX_n0607.09\etc\wim\setup
-dbprop_xml C:\WASX_n0607.09\etc\wim\setup -db_type db2 -db_jdbc_url
jdbc:db2:wim -db_driver COM.ibm.db2.jcc.DB2Driver -db_user db2user
-db_password password -dn "o=Default Organization"}"; exception information:
com.ibm.bsf.BSFException: error while eval'ing Jacl expression:
com.ibm.ws.scripting.ScriptingException: com.ibm.websphere.wim.exception.WIMSystemException:
com.ibm.websphere.wim.exception.WIMSystemException: CWWIM1999E An exception occurred
during processing: COM.ibm.db2.jcc.DB2Driver
while executing
"$AdminTask setupIdMgrDBTables {-report_sql_error true -schema_location C:\WASX_n0607.09\etc\wim\setup
-dbprop_xml C:\WASX_n0607.09\etc\wim\setup -db_t..."