Java に設定した -Djava.security.egd=file:/dev/urandom が有効にならない
Issue
java.security.SecureRandom を使用している java アプリケーションが https://access.redhat.com/solutions/34626 に記載されているようにハングアップしました。この問題を解決するために、/dev/random の代わりに /dev/urandom を使用するようにシステムプロパティ -Djava.security.egd=file:/dev/urandom を追加しました。しかし、Java 6 と 7 ではこの設定が有効ではないようです。
Environment
java.security.SecureRandomを使用した Java アプリケーション- OpenJDK
- 6
- 7
- Oracle JDBC ドライバー
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
