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)