Hello,
I try to use your framework snmp4j to provide the functionality of the SNMP 
agent in my project. Can you tell me why my agent works fine when I execute 
from source to complete your framework and not from my project? I copied all 
the sources in my project and every query from a client I get the following 
error:

Error 'Authorization error' generated at: 1.3.6.1.2.1.1.3.6.1.4.1.57.1.1 = 
Null15725 [RequestPool.0] DEBUG org.snmp4j.transport.DefaultUdpTransportMapping 
 - Sending message to 10.57.248.163/1406 with length 46: 
30:2c:02:01:01:04:06:70:75:62:6c:69:63:a2:1f:02:01:71:02:01:10:02:01:01:30:14:30:12:06:0e:2b:06:01:02:01:01:03:06:01:04:01:39:01:01:05:00
15725 [RequestPool.0] DEBUG org.snmp4j.transport.DefaultUdpTransportMapping  - 
Sending message to 10.57.248.163/1406 with length 46: 
30:2c:02:01:01:04:06:70:75:62:6c:69:63:a2:1f:02:01:71:02:01:10:02:01:01:30:14:30:12:06:0e:2b:06:01:02:01:01:03:06:01:04:01:39:01:01:05:00

   at 
org.snmp4j.agent.request.SnmpRequest$SnmpSubRequest.requestStatusChanged(SnmpRequest.java:627)
   at 
org.snmp4j.agent.request.RequestStatus.fireRequestStatusChanged(RequestStatus.java:90)
   at 
org.snmp4j.agent.request.RequestStatus.setErrorStatus(RequestStatus.java:52)
   at 
org.snmp4j.agent.CommandProcessor.setAuthorizationError(CommandProcessor.java:494)
   at 
org.snmp4j.agent.CommandProcessor.processRequest(CommandProcessor.java:373)
   at 
org.snmp4j.agent.CommandProcessor.dispatchCommand(CommandProcessor.java:334)
   at org.snmp4j.agent.CommandProcessor$Command.run(CommandProcessor.java:555)
   at org.snmp4j.util.ThreadPool$TaskManager.run(ThreadPool.java:239)

Thank you for your answers
Bacq Jean Sebastien 
_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to