|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Reason Code = 2018 MQRC_HCONN_ERROR |
« View previous topic :: View next topic » |
Author |
Message
|
raalbert |
Posted: Sat Jan 24, 2004 10:13 am Post subject: Reason Code = 2018 MQRC_HCONN_ERROR |
|
|
Newbie
Joined: 24 Jan 2004 Posts: 1 Location: Charlotte, NC
|
I have mutil-threading code that worked fine on MQ 5.2. Now, under 5.3, the code runs fine if single threaded, but when multi-threaded, I get the subject error.
Apparently, my threads are now sharing a connection instead of grabbing a new one per thread, and the threads are "stepping" on each other.
How do I resolve this issue? |
|
Back to top |
|
 |
bduncan |
Posted: Tue Jan 27, 2004 1:38 pm Post subject: |
|
|
Padawan
Joined: 11 Apr 2001 Posts: 1554 Location: Silicon Valley
|
What platform is your queue manager running on? And what language is your program written in? _________________ Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator |
|
Back to top |
|
 |
gordoste |
Posted: Tue Jan 27, 2004 5:18 pm Post subject: |
|
|
 Newbie
Joined: 26 Jan 2004 Posts: 5
|
my ideas:
* Have each thread print out the memory address of the connection handle to ensure they are not sharing it.
* If possible, try different threading models.
* Try changing the scope of the declaration of the connection handle. Make it as small as possible. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|