Article - CS345993

Unable to run Oracle PKI Tool(orapki) which is shipped along with Database Migration Tool (Oracle to SQL Server data migration) in Windchill PDMLink

Modified: 03-Jun-2021   


Applies To

  • Windchill PDMLink 12.0.0.0 to 12.0.2.0

Description

  • When Windchill is configured for Secure Database Connection (TCPS) with Oracle Database, while performing the additional steps for creating a wallet and importing certificate before running the migration tool (refer to topic ‘Running the Windchill Database Migration Tool’ in the Database Migration Guide), the Oracle PKI tool bundled with Database Migration Tool may throw a following exception if active Java version is not compatible with it.
Exception in thread "main" java.lang.NoClassDefFoundError: sun/misc/BASE64Decoder
at oracle.security.pki.OracleWallet.a(Unknown Source)
        at oracle.security.pki.OracleWallet.create(Unknown Source)
        at oracle.security.pki.textui.OracleWalletTextUI.create(Unknown Source)
        at oracle.security.pki.textui.OracleWalletTextUI.command(Unknown Source)
        at oracle.security.pki.textui.OraclePKITextUI.main(Unknown Source)
Caused by: java.lang.ClassNotFoundException: sun.misc.BASE64Decoder
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 5 more

 
This is a printer-friendly version of Article 345993 and may be out of date. For the latest version click CS345993