Open raulk89 opened 2 years ago
Currently, there is no easy method to add more jars to the classpath. But, you could try to:
Alternatively, you could use the command-line tool DBPTK Developer, where adding to the Java classpath would be more straighforward.
I have downloaded this developer tool also. I get the same error there.
What flag should I use there, the "--help" isn't heplful either..
$ java -jar "-Dfile.encoding=UTF-8" dbptk-app-2.9.10.jar migrate --help
ERROR Exactly one import module and one export module must be specified.
Log files and migration reports were saved in /home/raulk2
Troubleshooting information can be found at https://github.com/keeps/dbptk-developer/wiki/Troubleshooting
Please report any problems at https://github.com/keeps/dbptk-developer/issues/new
Regards Raul
When I modify this dbvtk.war file, then application does not start-up at all.
Usually it takes less than minute to start. I have this for over 10 minutes already.
Regards Raul
I tried with the following command:
$ java -classpath /home/raulk2/lib/orai18n.jar -jar "-Dfile.encoding=UTF-8" dbptk-app-2.9.10.jar migrate --import oracle --import-server-name=CCCCCCCCCCC --import-instance="ZZZZZZZZ" --import-port-number=1521 --import-username=XXXXXX --import-password="YYYYYYYYY" --import-accept-license --export siard-2 --export-file=example.siard
Converting database: oracle to siard-2
Initializing database
Exporting SIARD version 2.1
ERROR Fatal error while converting the database (Non supported character set (add orai18n.jar in your classpath): BLT8MSWIN1257)
I also tried "-cp" instead of "-classpath". Same issue.
Raul
Checkout this example: https://github.com/keeps/dbptk-developer#example-to-convert-from-oracle-to-siard2
You need to add both the dbtpk-developer jar and additional jars to classpath add call the main class.
Something like:
java "-Dfile.encoding=UTF-8" -classpath /home/raulk2/lib/orai18n.jar:dbptk-app-2.9.10.jar com.databasepreservation.Main migrate --import oracle --import-server-name=CCCCCCCCCCC --import-instance="ZZZZZZZZ" --import-port-number=1521 --import-username=XXXXXX --import-password="YYYYYYYYY" --import-accept-license --export siard-2 --export-file=example.siard
Thank you very much. It indeed worked.
Is it possible to ignore certain tables with developer version...?
I noticed, it ignores views. Does it have to do that..? Also, I mean, isn't it necessary to obtain view structure ..?
Ignoring view ....
Ignoring view .....
Ignoring view ....
..........
Regards Raul
Note that you can generate a config file by using the import-config module as output, and then edit it and use it as an input module
Description:
Context:
Steps required to reproduce the bug:
I have tried downloading orai18n.jar from https://www.oracle.com/database/technologies/jdbc-drivers-12c-downloads.html#license-lightbox
Then added this file location to PATH and also CLASSPATH. Nothing changes.
Attach any related screenshots below.
Attach any relevant logs below.