Author |
Message |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Thu Jan 17, 2013 2:03 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
The queueProperties object definitely has the right properties and is fully populated. The identical code with identical queue properties runs fine when I don't start both threads at the same time.
... |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Wed Jan 16, 2013 9:24 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Yes you're right, something along those lines should work.
But the 2393 error would happen regardless, as it occurs on the first iteration of the two threads. I changed it so that MQC.TRANSPORT_MQ ... |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Wed Jan 16, 2013 4:53 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Thanks for the reply. Unfortunately for historical/legacy reasons we're tied to the way our system has been implemented in terms of communicating with various different queuing systems, WebSphere MQ b ... |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Wed Jan 16, 2013 4:12 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Some more details on the scenario might help:
Thread 1:
Connect to Queue Manager ABC on machine name XXX
Close connection
Connect to Queue Manager ABC on machine name XXX
Close connection
Con ... |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Wed Jan 16, 2013 3:45 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Do you mean instantiating the hash table once before I enter the loop of closing/opening connections many times? I.e reusing a single instance per thread? Because I am already creating a hash table pe ... |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Tue Jan 15, 2013 7:48 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
No, we are just referencing amqmdnet.dll and amqmdxcs.dll. Are there other dlls we should be referencing that support multi-threading? |
Topic: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Pringle
Replies: 14 Views: 17286
|
Forum: IBM MQ API Support Posted: Tue Jan 15, 2013 7:33 am Subject: c# MQRC_SSL_INITIALIZATION_ERROR when multi-threading |
Hi,
We have an application that allows communication with WebSphere MQ. It provides a UI where some basic queue properties can be entered:
* Queue Manager
* Queue Channel
* Machine Name
* Qu ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Fri Nov 16, 2012 3:11 am Subject: "Twice-removed" queue |
Yessssssssssssssssssss
Specifying the MQC.MQOO_OUTPUT option resolved it. Instead of getting colds, you will all be blessed with a 1000 virgins in heaven!!
Thank you all for your help, especiall ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2012 6:05 am Subject: "Twice-removed" queue |
With the queue manager name blank though? The code is failing before the call to AccessQueue; it's failing on instantiation of the MQQueueManager object. So therefore I can only try what you have sugg ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2012 5:40 am Subject: "Twice-removed" queue |
The only properties we are currently exposing in the UI for client configuration are:
Channel name
Host name
Port
Queue name
Queue manager name
So should all the above be blank except q ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2012 4:19 am Subject: "Twice-removed" queue |
I am now opening the remote queue using MQC.MQOO_FAIL_IF_QUIESCING only. Then I followed the advice to leave the queue manager name blank, which didn't work.
I will try to get them to type in the f ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Wed Nov 14, 2012 1:45 am Subject: "Twice-removed" queue |
I have tried this latest piece of advice, but to no avail. They are now seeing the following error code when leaving the queue manager field blank: MQC.MQRC_Q_MGR_NAME_ERROR
Are there some other pr ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Tue Nov 13, 2012 8:22 am Subject: "Twice-removed" queue |
Thanks for the advice given so far. However I have built a new version of the software having removed the input and inquire options, but the client is still reporting failure. I am calling AccessQueue ... |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Mon Nov 12, 2012 5:17 am Subject: "Twice-removed" queue |
Sorry I forgot to mention, the error returned is MQRC_OPTION_NOT_VALID_FOR_TYPE. |
Topic: "Twice-removed" queue |
Pringle
Replies: 16 Views: 15133
|
Forum: IBM MQ API Support Posted: Mon Nov 12, 2012 2:57 am Subject: "Twice-removed" queue |
Hi there,
A user of our software is having trouble connecting to a remote queue which is itself defined as a remote queue to another queue manager. Are there any special settings that need to be se ... |