oracle - Worklight 6.2 migration tool connection -
i working upgrade worklight 5.0.6.2 6.2 , doing database upgrade thing.
i stuck when trying run migration tool following error shown
"fwlse3401e failed connect source database"
it's local dev oracle express 11g
with service name: xe
schema used: ccc
the following command tried.
java -classpath ojdbc6.jar -cp worklight-ant-deployer.jar com.ibm.worklight.config.dbmigration62.migrationtool \ -p /ccc \ -sourceurl jdbc:oracle:thin:@192.168.0.*:1521/xe \ -sourceschema ccc \ -sourcedriver oracle.jdbc.driver.oracledriver \ -sourceuser ccc \ -sourcepassword * \ -targeturl jdbc:oracle:thin:@192.168.0.*:1521/xe \ -targetschema ccc \ -targetdriver oracle.jdbc.driver.oracledriver \ -targetuser ccc \ -targetpassword *
should use both -sourceschema , -sourceuser or misplaced/mis-imported jdbc driver?
btw, after reading guide, https://www-01.ibm.com/support/knowledgecenter/sshscd_7.0.0/com.ibm.worklight.upgrade.doc/devenv/c_upgrade_to_srvr_addl_info_manual_db_update.html
for -p param, should idential context root or for?
you passed multiple -classpath / -cp options java. in case last 1 overrides previous ones. start java multiple jars in classpath, need pass 1 -classpath / -cp option, jars separated colon on unix or semicolon on windows:
java -cp ojdbc6.jar:worklight-ant-deployer.jar ...
(unix)
java -cp ojdbc6.jar;worklight-ant-deployer.jar ...
(windows)
Comments
Post a Comment