https://issues.apache.org/bugzilla/show_bug.cgi?id=55189

            Bug ID: 55189
           Summary: Unable to start the server
           Product: Tomcat 7
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: guillaume.mich...@amadeus.com

/dev/random is a special file that serves as a random number generator or as a
pseudorandom number generator.

When the entropy pool is empty, reads from /dev/random will block until
additional environmental noise is gathered.

In Tomcat 6, if not specified, the default value of randomFile attribute was
/dev/urandom (no blocking read because it's "urandom"):

http://tomcat.apache.org/tomcat-6.0-doc/config/manager.html

In Tomcat 7, the file used by default is /dev/random so it can prevent Tomcat
from starting if the entropy pool is empty.

Then a workaround can be to add "-Djava.security.egd=file:/dev/./urandom" in
JAVA_OPTS variable, but I guess we can see this change as a regression?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to