After upgrading to snm4j.2.6.3 from snmp4j.2.5.8 I am facing a new issue. Traps are not listened sometimes after the start of application, once application is restarted traps are listened as usual. During this issue traps are received on port 162(Trap receiving process) at client server but not received at 'processPdu' overridden method of interface 'CommandResponderEvent' of snmp4j. The same piece of code worked fine with snmp4j.2.5.8 without any issue.
Tried with later version snmp4j.2.7.0 and snmp4j.2.8.0 but traps itself are not listened but when I took tcpdump on trap receiving process running port 162, traps are coming to client server but not listened by snmp4j.
Note : I am using MultithreadedMessageDispatcher
I wanted to know if anybody had faced the same issue with snmp4j.2.6.3, snmp4j.2.7.0 and snmp4j.2.8.0 versions and how did you overcome this issue?
Thanks in advance!