aspose file tools*
The moose likes Java in General and the fly likes Internal Error on Solaris platform (SeedGenerator thread generated an exception) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Internal Error on Solaris platform (SeedGenerator thread generated an exception)" Watch "Internal Error on Solaris platform (SeedGenerator thread generated an exception)" New topic
Author

Internal Error on Solaris platform (SeedGenerator thread generated an exception)

Alpesh Gediya
Greenhorn

Joined: Nov 23, 2009
Posts: 24

Hi mates,

I have written custom classes on the top of SNMP4J library which send SNMP traps using log4j.jar functionalities.
This custom classes are deployed as .jar in Apache tomcat 6.018.
Custom classes generate expected result on Windows, Ubuntu , Fedora Unix. but on Solaris its throwing below exception.

Any body has any idea about how to solve this error. Googled regarding this error condition but did not get something important to solve this issue.

java.lang.InternalError: internal error: SeedGenerator thread generated an exception.
at sun.security.provider.SeedGenerator$ThreadedSeedGenerator.getSeedByte(SeedGenerator.java:334)
at sun.security.provider.SeedGenerator.getSeedBytes(SeedGenerator.java:123)
at sun.security.provider.SeedGenerator.generateSeed(SeedGenerator.java:118)
at sun.security.provider.SecureRandom.engineGenerateSeed(SecureRandom.java:114)
at sun.security.provider.SecureRandom.engineNextBytes(SecureRandom.java:171)
at java.security.SecureRandom.nextBytes(SecureRandom.java:433)
at org.snmp4j.security.Salt.<init>(Salt.java:53)
at org.snmp4j.security.Salt.getInstance(Salt.java:78)
at org.snmp4j.security.PrivDES.<init>(PrivDES.java:54)
at org.snmp4j.security.SecurityProtocols.addDefaultProtocols(SecurityProtocols.java:152)
at org.snmp4j.Snmp.initMessageDispatcher(Snmp.java:191)
at org.snmp4j.Snmp.<init>(Snmp.java:205)
at xxx.xxxxxx.xxxxxxxxxxx.sendTrap(SnmpTrapAppender.java:228)
at xxx.xxxxxx.xxxxxxxxxxx..append(SnmpTrapAppender.java:166)



Alpesh Gediya
Do not re-invent the wheel.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Internal Error on Solaris platform (SeedGenerator thread generated an exception)