I have noticed a lot of the following messages in my Tomcat output.
Apr 28, 2008 6:41:48 AM org.apache.catalina.session.ManagerBase setRandomFile
WARNING: Failed to close randomIS.
It doesn't seem to be causing any problems, but I would like to know what the cause is, and if there is a way to stop the warning messages.
Russ
WARNING: Failed to close randomIS.
What you are seeing may be related to this thread (see the last post):
http://dovetail.com/forum/viewtopic.php?p=1549
What is happening is that z/OS has a /dev/random that returns an error when you try to use it if your ICSF setup is not correct. The Tomcat code is just reporting an error when it tries to use it.
So, the error can probably be ignored. What should probably happen is that someone should submit a patch to Tomcat that displays a slightly more friendly error message when /dev/random gets an IO error. Or, maybe it would be nice to add a feature to Tomcat to disable the use of /dev/random altogether.
http://dovetail.com/forum/viewtopic.php?p=1549
What is happening is that z/OS has a /dev/random that returns an error when you try to use it if your ICSF setup is not correct. The Tomcat code is just reporting an error when it tries to use it.
So, the error can probably be ignored. What should probably happen is that someone should submit a patch to Tomcat that displays a slightly more friendly error message when /dev/random gets an IO error. Or, maybe it would be nice to add a feature to Tomcat to disable the use of /dev/random altogether.