Discussion:
Shared Conversations with an XMS C# client
Ian Alderson
2014-03-19 11:26:09 UTC
Permalink
Hi All,
I am seeing a strange problem concerned with shared conversations and wonder if anyone on the ListServ can shed some light as to what might be going on.

Application is a C# app using XMS classes and when it is connecting to the Queue Manager it is opening 4 connections. On termination it is giving the “AMQ9999: Channel program ended abnormally” error in the Qmgr’s error log. Suspecting it’s not closing all its connections I’ve run a copy of the program through Visual Studio stepping through the code. And here’s the strange thing, I only got 2 connections, one on the CreateConnection() and one on the CreateSession().

I have then re-run the same code against the real test Queue Manager, same CF and same channel and I get 4 connections again, this time the 2 extra connections are coming from Connection.Start() call from 2 different threads. Now here’s the second strange thing. When I re-point the CF to a test channel on the same Queue Manager and I re-run the test then I get only 2 connections! The channel definitions are otherwise identical with the same SHARECNV setting.

What is going on? The only difference I see is that the existing channel has > 200 connections and about 60 channel instances, whereas my new channel at most only had 2 apps concurrently connected (4 shared connections).

So to the shared conversation gurus out there, do you expect a new connection to be started on the Connection.Start? And secondly could the channel activity affect whether these extraneous connections are created?

I suspect this may be a bug and have opened a PMR, but would appreciate any insight into how and when these shared conversations should be started. Note I have tried to replicate using my own test java app and I can’t replicate it and connection.start() method does not start any new shared connections – but of course my java program’s logic is different to the real XMS application.

App is running against MQ 7.0.1.11 and XMS version is 2.0.0.8.

I appreciate this is more at an application level than the usual questions but it is causing multiple channel errors throughout the environments when all the batch jobs are closed down each night.

Thanks,
Ian



Ian Alderson
MQ Technical Architect

[cid:***@4eb7e448.4e8ddbfa]

DL 0203 003 3055


________________________________
Ignis Asset Management
Fixed Income | Equities | Real Estate | Advisors | Solutions
150 Cheapside | London | EC2V 6ET

http://www.ignisasset.com
http://twitter.com/IgnisAM
http://www.linkedin.com/companies/ignis-asset-management



**************************************************************
The information contained in this email (including any attachments transmitted within it) is confidential and is intended solely for the use of the named person.
The unauthorised access, copying or re-use of the information in it by any other person is strictly forbidden.
If you are not the intended recipient please notify us immediately by return email to ***@ignisasset.com.

Internet communication is not guaranteed to be timely, secure, error or virus free. We accept no liability for any harm to systems or data, nor for personal emails. Emails may be recalled, deleted and monitored.

Ignis Asset Management is the trading name of the Ignis Asset Management Limited group of companies which includes the following subsidiaries:
Ignis Asset Management Limited (Registered in Scotland No. SC200801), Ignis Investment Services Limited* (Registered in Scotland No. SC101825)
Ignis Fund Managers Limited* (Registered in Scotland No. SC85610) Scottish Mutual Investment Managers Limited* (Registered in Scotland No. SC88674)
Registered Office: 50 Bothwell Street, Glasgow, G2 6HR, Tel: 0141-222-8000 and Scottish Mutual PEP & ISA Managers Limited* (Registered in England No. 971504)
Registered Office: 1 Wythall Green Way, Wythall, Birmingham B47 6WG and Ignis Investment Management Limited (Registered in England No. 5809046)
Registered Office: 150 Cheapside, London, EC2V 6ET Tel: 020 3003 3000. Scottish Mutual is a registered trade mark of Scottish Mutual Assurance Limited

*Authorised and regulated by the Financial Conduct Authority.

**************************************************************

Loading...