tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkata Reddy P <Venkata.Re...@trianz.com>
Subject RE: java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available
Date Mon, 16 May 2016 19:31:26 GMT
Awesome it works. I have tried with jre1.8.91 version and resolves the issue.

-----Original Message-----
From: Mark Thomas [mailto:markt@apache.org] 
Sent: 17 May 2016 00:10
To: Tomcat Users List
Subject: Re: java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available

On 16/05/2016 19:30, Venkata Reddy P wrote:
> Hi,
> 
> I am deploying tomcat8.0.33 version with jre1.8u92.   could you please help why I am
getting this error?

Broken JRE install? SHA1PRNG is a standard name so all Java 8 JREs should support it.

Mark

> 
> INFO: Starting Servlet Engine: Apache Tomcat/8.0.33 May 16, 2016 
> 11:03:16 AM org.apache.catalina.util.SessionIdGeneratorBase 
> createSecureRandom
> SEVERE: Exception initializing random number generator using algorithm 
> [SHA1PRNG]
> java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available
>         at sun.security.jca.GetInstance.getInstance(Unknown Source)
>         at java.security.SecureRandom.getInstance(Unknown Source)
>         at org.apache.catalina.util.SessionIdGeneratorBase.createSecureRandom(SessionIdGeneratorBase.java:210)
>         at org.apache.catalina.util.SessionIdGeneratorBase.getRandomBytes(SessionIdGeneratorBase.java:174)
>         at org.apache.catalina.util.StandardSessionIdGenerator.generateSessionId(StandardSessionIdGenerator.java:34)
>         at org.apache.catalina.util.SessionIdGeneratorBase.generateSessionId(SessionIdGeneratorBase.java:167)
>         at org.apache.catalina.util.SessionIdGeneratorBase.startInternal(SessionIdGeneratorBase.java:256)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         at org.apache.catalina.session.ManagerBase.startInternal(ManagerBase.java:719)
>         at org.apache.catalina.session.StandardManager.startInternal(StandardManager.java:352)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5268)
>         at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
>         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
>         at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
>         at java.util.concurrent.FutureTask.run(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>         at java.lang.Thread.run(Unknown Source)
> 
> Thanks in advance.
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message