[SNMP4J] duplicate transaction id's while using snmp4j stack

Satishbs satishbs at huawei.com
Mon Dec 5 07:07:48 CET 2005


Hi Frank,

Iam using SNMP4j 1.5 version.

Regards
Satish


-----Original Message-----
From: Frank Fock [mailto:fock at agentpp.com] 
Sent: Saturday, December 03, 2005 5:09 AM
To: satishbs at huawei.com
Cc: snmp4j at agentpp.org
Subject: Re: [SNMP4J] duplicate transaction id's while using snmp4j stack

Satish,

Which version of SNMP4J are you using? Have you modified the code?
The code that creates the transaction ID is synchronized and creates
an unique ID.

Best regards,
Frank

Satishbs wrote:

> 
>
>Hi All,
>
> 
>
>I have a problem while using Snmp4j stack. Two parallel threads are running
>which access Snmp Class of Snmp4j stack through a wrapper(it's a
singleton).
>
>Request sent by one thread is timing out and the other thread is returning
>response.
>
>I tried to debug the stack and found that in MessageDispatcherImpl
duplicate
>transaction ID's are created and StateReference class is returning a error
>for a request with same  transaction ID.
>
> 
>
>But this problem is not happening if I synchronize wrapper which iam using.
>
> 
>
>Could anyone help me in solving problem.
>
> 
>
>Thanks in advance.
>
>Satish
>
> 
>
> 
>
> 
>
> 
>
> 
>
>***************************************************************************
*
>***********
>
>This e-mail and its attachments contain confidential information from
>HUAWEI, which is intended 
>
>only for the person or entity whose address is listed above. Any use of the
>information contained 
>
>herein in any way (including, but not limited to, total or partial
>disclosure, reproduction, or 
>
>dissemination) by persons other than the intended recipient(s) is
>prohibited. If you receive this 
>
>e-mail in error, please notify the sender by phone or email immediately and
>delete it!
>
>***************************************************************************
*
>******
>
> 
>
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>


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





More information about the SNMP4J mailing list