When Attempting to Encrypt a New Password Using the epkeytool.sh script Receiving Error: "Exception in thread "main" java.lang.NoClassDefFoundError: oracle/security/crypto/core/AuthenticationException"

(Doc ID 1492447.1)

Last updated on JULY 03, 2017

Applies to:

Oracle Agile Engineering Data Management - Version to [Release 6.1.0]
Generic UNIX
Checked currency on 02-Sep-2014


When trying to encrypt a new password - for example for the Administration client - with the epkeytool.sh script an error occurs.

The error is:

Exception in thread "main" java.lang.NoClassDefFoundError:
   at java.lang.Class.getDeclaredConstructors0 (Native Method)
   at java.lang.Class.privateGetDeclaredConstructors (Unknown Source)
 ... 8 more
   at com.agile.security.encryption.rsa.EmbeddedKeyStore.load (EmbeddedKeyStore.java:64)
   at com.agile.security.encryption.rsa.EmbeddedKeyStore. (EmbeddedKeyStore.java:53)
 ... 5 more
 Caused by java.lang.ClassNotFoundException:
Steps to Reproduce:
1. Run epkeytool as adviced in the administration manual PLM6122_Admin.pdf:
$ep_root/axalant/scripts/epkeytool.sh -encryptpwd -pass <password> -keyStore cwallet.sso -keyAlias "C=DE,ST=Baden,L=Karlsruhe,O=Oracle,OU=Agile PLM,CN=PLM"


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms