JCE providers have JarException in unexploded EAR/WAR on EAP 5

Solution Unverified - Updated -

Issue

  • We are using bouncycastle but when we deploy the EAR as a zipped file it fails with a JarException trying to verify signature on some other jar in the EAR. When we deploy the EAR as an exploded directory it works OK.

  • java.lang.SecurityException: JCE cannot authenticate the provider BC
    java.util.jar.JarException: jar:file:someear.ear!/lib/bcprov-jdk15on-149.jar has unsigned entries - lib/somejar.jar

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 5.2.0
  • Sun/Oracle JDK

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