Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Alpesh Gediya
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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)


 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!