Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change 
notification.

The "HowTo/FasterStartUp" page has been changed by KonstantinKolinko:
https://wiki.apache.org/tomcat/HowTo/FasterStartUp?action=diff&rev1=23&rev2=24

Comment:
Add title for General section. Add link to JEP-123 (SecureRandom improvements 
in Java 8) that was mentioned on users mailing list.

  
  This section provides several recommendations on how to make your web 
application and Apache Tomcat as a whole to start up faster.
  
+ == General ==
+ 
- Before we continue to specific tips and tricks, the general advice is that if 
Tomcat hangs or is not responsive, you have to perform diagnostics. That is to 
take '''several thread dumps''' to see what Tomcat is really doing. See 
[[FAQ/Troubleshooting_and_Diagnostics|Troubleshooting and Diagnostics]] page 
for details.
+ Before we continue to specific tips and tricks, the general advice is that if 
Tomcat hangs or is not responsive, you have to perform diagnostics. That is to 
'''take several thread dumps''' to see what Tomcat is really doing. See 
[[FAQ/Troubleshooting_and_Diagnostics|Troubleshooting and Diagnostics]] page 
for details.
  
  == JAR scanning ==
  
@@ -77, +79 @@

  
  There is a way to configure JRE to use a non-blocking entropy source by 
setting the following system property: `-Djava.security.egd=file:/dev/./urandom`
  
- Note the "`/./`" characters in the value. They are needed to work around 
known [[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721|Oracle JRE 
bug #6202721]].
+ Note the "`/./`" characters in the value. They are needed to work around 
known [[http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6202721|Oracle JRE 
bug #6202721]]. See also [[http://openjdk.java.net/jeps/123|JDK Enhancement 
Proposal 123]]. It is known that implementation of SecureRandom was improved in 
Java 8 onwards.
  
  Also note that replacing the blocking entropy source (/dev/random) with a 
non-blocking one actually reduces security because you are getting less-random 
data. If you have a problem generating entropy on your server (which is 
common), consider looking into entropy-generating hardware products such as 
"EntropyKey".
  

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

Reply via email to