My WLS is listening on port 9001.
java weblogic.SNMPAgent -serverURLs t3://localhost:9001
-trapDestinations localhost:162
Exception in thread "main"
com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
Failure in opening SnmpSession, errstat: 0, errvalue: 0
at
com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
at
com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
at
com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:955)
at
com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(SnmpAgent.java:1034)
at
weblogic.management.snmp.agent.WebLogicAgent.init(WebLogicAgent.java:458)
at
weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
at weblogic.SNMPAgent.main(SNMPAgent.java:25)
Thx,
Anil Kommareddi
InsWeb Corp.
I had NT's SNMP agent service started on the server. I stopped it and was able to start
WebLogic's SNMP agent.