[SNMP4J] Released: SNMP4J 1.8, SNMP4J-Agent 1.1RC2, SNMP4J-AgentX

Frank Fock fock at agentpp.com
Tue Feb 6 00:01:18 CET 2007


SNMP4J v1.8, SNMP4J-Agent 1.1RC2, and SNMP4J-AgentX 1.0RC1
have been released and can be downloaded from
http://www.snmp4j.org

The new SNMP4J release contains an important fix for
synchronous request processing. The new SNMP4J-AgentX release
contains a similar fix for SNMP4J-AgentX master agents.

RELEASE NOTES

SNMP4J CHANGES v1.8 since v1.7.6a

* Fixed: Race condition with sync requests in Snmp.send
   that could cause a deadlock.
* Fixed: Added missing serialVersionUIDs.
* Changed: PduHandleCallback.pduHandleAssigned(..) to
   use Object as type of the PDU reference.
* Changed: Variable is now an interface and the former
   abstract class implementation is now moved to
   AbstractVariable. Serialized Variables from 1.7.x
   or earliers released can be deserialized with 1.8
   because the Variable interface defines the same
   serialVersionUID as the former Variable abstract class.
* Fixed: MessageDispatcherImpl.getMessageProcessingModel
   no longer throws an ArrayIndexOutOfBoundsException
   when the requested model is not known.
* Added: GenericAddress constants for the default address
   types "udp", "tcp", and "ip".
* Fixed: OctetString.fromSubIndex for implied length values.
* Added: Constants for default command responder and
   notification receiver ports in SnmpConstants class.
* Added: Append constructor for OID class, to facilitate
   creating an instance OID from a class OID and an index
   OID.
* Improved: DefaultTcpTransportMapping can now also
   reconnect if its connection is in state "unconnected".
* Fixed: OctetString.startsWith did not work if prefix
   length did not match the string's length.
* Added: Option (-m) to set maxMessageResponseSize for
   SNMPv3 requests in console example.
* Improved: Clarified and implemented TODOs left from
   earlier versions.
* Fixed: IllegalStateException seldom occured in a race
   condition while waiting for a sync response in
   Snmp.send(..) or when canceled an async response while
   a retry was started.
* Improved: Performance of message sending and receiving
   due to less (narrow) synchronization.
* Added: -l option to SnmpRequest console example to
   allow setting the local engine ID to avoid engine ID
   conflicts.
* Added: -b option to set the engine boots counter for the
   console example (SnmpRequest).
* Added: TreeUtils to conveniently walk sub-trees.
* Fixed: Bug in LogLevel class causing incorrect log levels
   to be used in some cases when converting from a levels
   string representation.
* Improved: JavaLogAdapter DEBUG level from SNMP4J (Log4J)
   now maps to FINE in Java logging.
* Added: LogFactory can now be configured through the
   system property "snmp4j.LogFactory" with the factories
   class name.
* Added: LogProxy for implementing late logger binding.
* Changed: BERSerializable no longer extends Serializable.
* Added: Security check for transport not listening when
   sending confirmed PDU.

SNMP4J-Agent CHANGES v1.1RC2 since v1.1RC1

* Fixed: If a ManagedObject had been registered
   under a non-default context only, the agent
   returned it also on queries on context "".
* Changed: BaseAgent.finishInit() will no longer
   be called from within init() to better control
   agent startup. The user (subclass) is required
   to call it manually after init(). The user
   setup code has been moved to init() at the same
   time.
* Improved: BaseAgent controls now its own state
   so that initialization errors can be easily
   detected.
* Added: BaseAgent can now be stopped by calling
   stop().
* Fixed: CommandProcessor did not use coexistence
   info provided by SnmpCommunityMib correctly.
   Now mapping a community to a different security
   name is properly supported.
* Fixed: DefaultMOContextScope.isOverlapping did
   not honour contexts.
* Fixed: Added missing serialVersionUIDs.


SNMP4J-AgentX CHANGES v1.0RC1 since 1.0-beta2

* Fixed: RemoveAgentCapsPDU has not been processed by
   master agent.
* Improved: Master AgentX request processing by removing
   central synchronization which could have caused
   timeouts on sub-agent requests.


Frank Fock

-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com




More information about the SNMP4J mailing list