|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Using MQSeries within multi-thread code |
« View previous topic :: View next topic » |
Author |
Message
|
aprats |
Posted: Mon Mar 04, 2002 7:56 am Post subject: |
|
|
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 |
|
 |
mrlinux |
Posted: Mon Mar 04, 2002 8:35 am Post subject: |
|
|
 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 |
|
 |
RogerLacroix |
Posted: Mon Mar 04, 2002 9:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 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 |
|
 |
|
|
 |
|
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
|
|
|
|