Looking at JBoss CVS I see: joesnmp.jar 1.6 4 months andd joesnmp v0.3.3 with minor fixes Just wondered what the ?minor fixes? are?
I already modified the code from http://sourceforge.net/projects/joesnmp and applied the following changes: 1. Enabling the SnmpSessionHandler to know about the caller by setting the right peer information. 2. Fixed SnmpPortal to work correctly with the ThreadPool (fast executers). It was calling wait(100) without holding a lock (which of course triggers IllegalMonitorStateException) . I actually changed to code to make it cleaner instead of having a magic wait value of "200". 3. Modified SnmpPortal to enable setting the receive/send buffers 4. Removed the use of the Cleanup task by utilizing the callbacks to from SnmpRequest to update the session. (I left the task just for protection though I am pretty sure it is not needed anymore) 5. If a Peer was given in the send command then the session considers only its IP address and port but not its community strings. So I fixed that. 6. Enable the SnmpSession to use the SnmpPortal with thread pool (just added a new constructor). 7. Optimized BerEncoder 8. Replaced SnmpTimer with a more scalable code (not using linear search) (which is JVM 1.2 compatible as the previous one). In that respect I also modified SnmpSession to use a better structure then LinkedList for m_requests. I use the modified code to collect from 100K devices periodically and it looks pretty good so far (it is running for weeks now). I will be more then happy to incorporate any of those changes back to joesnmp source code. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870219#3870219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870219 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
