ClassNotFoundException: BouncyCastleProvider with WS-Security in EAP 6

Solution In Progress - Updated -

Issue

  • DEBUG message is logged when using CXF in application

      The provider BC could not be added: org.bouncycastle.jce.provider.BouncyCastleProvider: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
    
  • When deploying a web service using WS-Security, a debug message is that says ClassNotFoundException: BouncyCastleProvider

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP) 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content