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 » General IBM MQ Support » Using MQSeries within multi-thread code

Post new topic  Reply to topic
 Using MQSeries within multi-thread code « View previous topic :: View next topic » 
Author Message
aprats
PostPosted: Mon Mar 04, 2002 7:56 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2002
Posts: 1

Hi all,

we are using MQSeries within multi-thread code (gcc over sun-solaris platform). We would like to know if it is supported and what libraries we should use to link with. Because we see that using the connect code that comes with the samples inside of our multi-thread code returns the following code/error:

MQCONN ended with reason code 2059

After that the queue manager died and a kill over all process is needed to re-start it.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Mar 04, 2002 8:35 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

I got this from the Application Manual
I know you are using the gcc compiler.

If you use the unsupported compiler /usr/ucb/cc, your application may compile and link successfully. However when you run it, it will fail when it attempts to connect to the queue manager.

PS. On HPUX you add _r to the lib for threading IE -lmqm -> -lmqm_r
I didnt see this descripted in the Sun Application, I guess you can look for the LIB's

_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
RogerLacroix
PostPosted: Mon Mar 04, 2002 9:44 pm    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3253
Location: London, ON Canada

Hi,

I have had no problems compiling / linking / executing my C programs (with MQ calls)using gcc on Solaris 8.

later
Roger...
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Using MQSeries within multi-thread code
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.