IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this forum will no longer be available. More details available on our FAQ.
Topic
  • 3 replies
  • Latest Post - ‏2019-07-11T11:15:23Z by Ram Subbarao
jmasters81
jmasters81
2 Posts

Pinned topic 9.0.3 vs 9.1.2 .Net Client Library Differences

‏2019-07-08T23:00:55Z | .net mq9.0 mq9.1 mqclient wmq xms

We recently tried updating our client libraries to the 9.1.2 version and started experiencing a lot of disconnection issues. We don't have auto-reconnect enabled and handle disconnections manually.

 

I've reproduced the difference by modifying the SampleConsumer sample app from the the 9.0.3 and 9.1.2 install and running against a 9.0.3 local server. 

The 9.0.3 consumer will continue listening until the app is stopped, the 9.1.2 consumer will receive a 2009 error after 10 minutes. Enabling auto-reconnect in the 9.1.2 consumer give 2454 and 2455 code every 10 minutes.

 

What change in the client libs is causing this change in behavior? What setting is causing it? Haven't been able to find a setting that is set to 10 minutes.

 

 

  • Ram Subbarao
    Ram Subbarao
    16 Posts

    Re: 9.0.3 vs 9.1.2 .Net Client Library Differences

    ‏2019-07-10T01:57:43Z  

     This APAR  https://www-01.ibm.com/support/docview.wss?uid=swg1IT26614  should solve the problem.

  • jmasters81
    jmasters81
    2 Posts

    Re: 9.0.3 vs 9.1.2 .Net Client Library Differences

    ‏2019-07-10T23:15:41Z  

    I'm not sure I see how that will fix the issue. That issue should affect both versions of the client that I'm testing the same, and the disconnection occurs on the 9.1.2 client every 10 minutes (with a 2009 not 2059) regardless of whether there has been traffic.

  • Ram Subbarao
    Ram Subbarao
    16 Posts

    Re: 9.0.3 vs 9.1.2 .Net Client Library Differences

    ‏2019-07-11T11:15:23Z  

    I'm not sure I see how that will fix the issue. That issue should affect both versions of the client that I'm testing the same, and the disconnection occurs on the 9.1.2 client every 10 minutes (with a 2009 not 2059) regardless of whether there has been traffic.

    There is an APAR IT16167 which fixes a .NET issue i.e prior to that APAR .NET Client never initiated a heartbeat request,with APAR IT16167 that is fixed,but the heartbeat interval was being calculated in milliseconds and not in seconds.Since the heartbeat interval was set in milliseconds, the client didn't give enough time for the queue manager to respond to the heartbeat request  and the client dropped the connection without receiving a heartbeat reply from the queue manager hence a 2009 error is thrown to the application.This  APAR has gone into 9.1 GA as well.


    With APAR IT26614,this is fixed.You can try with a level where the APAR has gone in and if that doesn't fix the problem then probably you can raise a PMR or get back here

    Updated on 2019-07-11T11:21:24Z at 2019-07-11T11:21:24Z by Ram Subbarao