ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » Reason Code = 2018 MQRC_HCONN_ERROR

Post new topic  Reply to topic
 Reason Code = 2018 MQRC_HCONN_ERROR « View previous topic :: View next topic » 
Author Message
raalbert
PostPosted: Sat Jan 24, 2004 10:13 am    Post subject: Reason Code = 2018 MQRC_HCONN_ERROR Reply with quote

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
View user's profile Send private message Send e-mail
bduncan
PostPosted: Tue Jan 27, 2004 1:38 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website AIM Address
gordoste
PostPosted: Tue Jan 27, 2004 5:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » Reason Code = 2018 MQRC_HCONN_ERROR
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.