Operating System - HP-UX
1831959 Members
3394 Online
110034 Solutions
New Discussion

Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

 
Mudit Agarwal
New Member

Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

I have java 1.4.1.02.00 installed on HPUX - B.11.11 U 9000/800.
When I try to access https url from a client it throws error 'Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exception: Permission denied'.

Any idea what is wrong.

Thanks,
Mudit
6 REPLIES 6
steven Burgess_2
Honored Contributor

Re: Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

Hi

Do you have a /dev/random file on your system ? If so what are the permissions on that file

Just a hunch

HTH

Steve
take your time and think things through
Mudit Agarwal
New Member

Re: Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

Thanks for the reply,
Yes, I do have the /dev/random device file and the permissions on it are 'cr--r--r--'.
And I don't think I have writes to change the permissions on this file. So is there any other work-around.
Thanks,
Mudit
Paddy_1
Valued Contributor

Re: Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

It owuld be helpful if you add some context to this by sayin what webserver/appserver are you running.

Since you are accessing it by https: //
I would also look at the server logs to see what exactly happened.

As a workaround back up your /dev/random and link /dev/random ato /dev/urandom.Mind you this is just to isolate the problem.

If you see the above approach working something is wrong with jdk or the key tool generation code.

Hope this helps
Paddy



The sufficiency of my merit is to know that my merit is NOT sufficient
George Nikoloudis_1
Frequent Advisor

Re: Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

Hi I am having the same problem with JDK 1.4.1.0.2.

I am using Borland Enteprise server.

The JDK is from HP.

Can anyone help?

Thanks
Jason Blais
New Member

Re: Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce


I've run into the same issue using the 1.4.1.06 JRE. I was able to trace it back to the HP Secure Random Number Generator software packages installed. Uninstalling those packages allows java to function normally. Unfortunately, I haven't been able to find an answer as to why this occurs.
Madhiarasan
New Member

Re: Exception in thread "main" java.lang.InternalError: URLSeedGenerator file:/dev/random generated exce

use java version "1.4.2.06"

It may solve your problem.

-Madhi