Getting BouncyCastle issue in the bundle

Solution Verified - Updated -

Issue

  • We are getting issue because the bundle is referring to the default bouncy-castle bundle (123:bcprov:1.52.0) instead of referring to the one provided in the features/pom of my bundle.
 <feature name='bcprov-jdk16' version='140'>
    <bundle>wrap:mvn:bouncycastle/bcprov-jdk16/140</bundle>
  </feature>
  • Only when I uninstall the default bundle(123:bcprov) and restart the server, my bundle is working fine. Please let us know how to resolve this issue?
    Please find the MANIFEST.MF attached for your reference.

Environment

  • Red Hat JBoss Fuse
    • 6.2.1

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