file:/dev/random generated exception: null
Daniel Fisher
daniel.fisher at vt.edu
Mon Oct 20 08:09:25 PDT 2003
Looks like you ran out of random bytes in /dev/random, which is not
uncommon.
If you want to avoid this error use /dev/urandom.
-Djava.security.egd=file:/dev/urandom
--
Daniel Fisher
On Mon, 20 Oct 2003 15:17:22 +0200
Marcin Gryszkalis <mg at fork.pl> wrote:
> I happened just once, anybody noticed anything similar?
> It's on p3, I'm going to upgrade to p4 today.
>
> bash-2.05b$ java -version
> java version "1.4.1-p3"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.4.1-p3-root_02_jun_2003_23_31) Java HotSpot(TM) Client VM (build
> 1.4.1-p3-root_02_jun_2003_23_31, mixed mode)
>
> trace:
> java.lang.InternalError: URLSeedGenerator file:/dev/random generated
> exception: null
> at
> sun.security.provider.SeedGenerator$URLSeedGenerator.getSeed
> Byte(SeedGenerator.java:469) at
> sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerat
> or.java:137) at
> sun.security.provider.SeedGenerator.generateSeed(SeedGenerat
> or.java:132) at
> sun.security.provider.SecureRandom.engineGenerateSeed(Secure
> Random.java:112) at
> sun.security.provider.SecureRandom.engineNextBytes(SecureRan
> dom.java:169) at
> java.security.SecureRandom.nextBytes(SecureRandom.java:381)
> at java.security.SecureRandom.next(SecureRandom.java:403) at
> java.util.Random.nextInt(Random.java:191)
>
> It's FreeBSD 4.9-RC #12: Fri Oct 3 23:00:12 CEST 2003
>
>
> --
> Marcin Gryszkalis
> jabber jid:mg at chrome.pl
> gg:2532994
> http://fork.pl
>
> _______________________________________________
> freebsd-java at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to
> "freebsd-java-unsubscribe at freebsd.org"
More information about the freebsd-java
mailing list