Error "no such algorithm: SHA1PRNG for provider SUN" when running JBoss middleware with IBM JDK

Solution Verified - Updated -

Issue

When running JBoss EAP 7.1 with IBM JDK, on server startup / application deployment, we see such "NoSuchAlgorithmException: no such algorithm: SHA1PRNG for provider SUN" as below:

16:11:50,322 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 99) MSC000001: Failed to start service jboss.undertow.deployment.default-server.default-host./my-web: org.jboss.msc.service.StartException in service jboss.undertow.deployment.default-server.default-host./my-web: java.lang.RuntimeException: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: no such algorithm: SHA1PRNG for provider SUN
......
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.security.NoSuchAlgorithmException: no such algorithm: SHA1PRNG for provider SUN

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

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