Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
No replies
SatyaAnde
SatyaAnde
1 Post
ACCEPTED ANSWER

Pinned topic Exception on SNMPBadValueException

‏2009-05-22T09:15:23Z |
Hi,

when using JAVA API and the corresponding sample application from the download area I always get SNMPBadValueException and followed with time out exception.

com.ibm.hwmca.api.SNMPBadValueException: Bad data value; error code=[3]
at com.ibm.hwmca.api.SNMPSocket.sendReceiveRequest(SNMPSocket.java:507)
at com.ibm.hwmca.api.SNMPSocket.Set(SNMPSocket.java:232)
at com.ibm.hwmca.api.APIConnection.Command(APIConnection.java:967)
at com.ibm.hwmca.api.APIConnection.Command(APIConnection.java:901)
at TestAPICommands.main(TestAPICommands.java:124)
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:427)
at java.net.ServerSocket.implAccept(ServerSocket.java:466)
at java.net.ServerSocket.accept(ServerSocket.java:434)
at com.ibm.hwmca.api.APIConnection.WaitEvent(APIConnection.java:1001)
at TestAPICommands$1.run(TestAPICommands.java:364)

Can you please help me regarding this issue. Thanks in advance