/tmp/apache-tomcat-7.0.59/bin/setenv.sh
に下記の内容を書く.- chmod +xなどは不要.
- setenv.shがすでに存在する場合はCATALINA_OPTSの内容をマージする.
Created
February 18, 2015 14:33
-
-
Save int128/f4303f6d90fc0ec39b83 to your computer and use it in GitHub Desktop.
How to prevent freeze on waiting random device on Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
CATALINA_OPTS='-Djava.security.egd=file:/dev/./urandom' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment