Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Java に設定した -Djava.security.egd=file:/dev/urandom が有効にならない

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.