Translated message

A translation of this page exists in English.

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content