'java.io.FileNotFoundException: /dev/urandom (EDC5157I An internal error has occurred.)' Received During Tomcat 6.0.29 Startup

Document ID:  TEC529981
Last Modified Date:  04/05/2013
{{active ? 'Hide' : 'Show'}} Technical Document Details

Products

  • CA LDAP Server for z/OS
  • CA Top Secret for z/OS
  • CA Web Administrator for ACF2 for z/OS
  • CA ACF2 for z/OS
  • CA Web Administrator for Top Secret

Releases

  • CA LDAP Server for z/OS:Release:14.0

Components

  • CA LDAP SERVER FOR Z/OS:TSSLDP
  • CA WEB ADMINISTRATOR FOR ACF2:ACFWEB

Description:

When bringing up Tomcat 6.0.29, the following messages are received:

Throwable occurred: java.io.FileNotFoundException: /dev/urandom (EDC5157I An internal error has occurred.)
:at java.io.FileInputStream.<init>(FileInputStream.java:112)
:at org.apache.catalina.session.ManagerBase.setRandomFile(ManagerBase.java:533)
:at org.apache.catalina.session.ManagerBase.getRandomBytes(ManagerBase.java:958)
:at org.apache.catalina.session.ManagerBase.init(ManagerBase.java:753)
:at org.apache.catalina.session.StandardManager.start(StandardManager.java:625)

Solution:

When using Tomcat 6.0.29, Tomcat tries to get it's random number generator seeded from a hardware source -- ICSF. The device driver gets a read error, if ICSF is not installed/configured on a system. Tomcat then goes to compute the random number generator seed on his own.

This exception will always be thrown by Tomcat now if ICSF is not available, if using 6.0.29 or above.

Please help us improve!

Will this information enable you to resolve your issue?

Please tell us what we can do better.

{{feedbackText.length ? feedbackText.length : '0'}}/255

{{status}}

Not what you were looking for?

Search Again >

Product Information

Support by Product >

Communities

Join a Community >