MetaMatrix server or utility fails to start or complete due to Error adding JCE provider: ClassNotFoundException: BouncyCastleProvider

Solution Verified - Updated -

Issue

  • Setup Error on AIX 5.3
  • systemhostsetup.sh fails to complete and logs this message:
    • Error adding JCE provider: org.bouncycastle.jce.provider.BouncyCastleProviderorg.bouncycastle.jce.provider.BouncyCastleProvider         at com.metamatrix.common.util.crypto.CryptoUtil.initJCEProvider(CryptoUtil.java:69)
              at com.metamatrix.common.util.crypto.CryptoUtil.isEncryptionEnabled(CryptoUtil.java:141)
              at com.metamatrix.common.util.crypto.PasswordDisplayUtility.initCrypto(PasswordDisplayUtility.java:38)
              at com.metamatrix.common.util.commandline.UICommandLineTool.initializeEncryption(UICommandLineTool.java:632)
              at com.metamatrix.common.util.commandline.UICommandLineTool.run(UICommandLineTool.java:269)
              at com.metamatrix.installer.setuptool.UIServerSetup.main(UIServerSetup.java:83)
      Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
              at java.lang.Class.forName(Class.java:139)
              at com.metamatrix.common.util.crypto.CryptoUtil.addProvider(CryptoUtil.java:103)
              at com.metamatrix.common.util.crypto.CryptoUtil.initJCEProvider(CryptoUtil.java:67)
              at com.metamatrix.common.util.crypto.CryptoUtil.isEncryptionEnabled(CryptoUtil.java:141)
              at com.metamatrix.common.util.crypto.PasswordDisplayUtility.initCrypto(PasswordDisplayUtility.java:38)
              at com.metamatrix.common.util.commandline.UICommandLineTool.initializeEncryption(UICommandLineTool.java:632)
              at com.metamatrix.common.util.commandline.UICommandLineTool.run(UICommandLineTool.java:269)
              at com.metamatrix.installer.setuptool.UIServerSetup.main(UIServerSetup.java:83)
      
  • Utility fails to run due to missing BouncyCastleProvider class
  • Server fails to run due to missing BouncyCastleProvider class

Environment

  • MetaMatrix Enterprise Server 5.5.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.