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 » WebSphere Message Broker (ACE) Support » MQ Error 2039 when using MQPut API within an external Java

Post new topic  Reply to topic
 MQ Error 2039 when using MQPut API within an external Java « View previous topic :: View next topic » 
Author Message
raghavendrarao4
PostPosted: Mon Jan 22, 2007 2:47 pm    Post subject: MQ Error 2039 when using MQPut API within an external Java Reply with quote

Newbie

Joined: 22 Jan 2007
Posts: 8

We get the MQexception 2039 when connecting to the queue manager using Java API provided by MQ. The call to the MQ Java class happens from within the message flow, as an external Java program. MQ put from Java is successful, but the subsequent queue open for output (MQOutput node in the message flow) fails. It is as if only one connection to the queue manager from a single thread is allowed. Is that true? Is there something in MQ environment, queue open options or message put options that will fix this?
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Jan 22, 2007 11:53 pm    Post subject: Re: MQ Error 2039 when using MQPut API within an external Ja Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

raghavendrarao4 wrote:
It is as if only one connection to the queue manager from a single thread is allowed.


AFAIK (which is not that far with Java) that's the case.

I draw your attention to the Java section, where MQ & threading has been discussed frequently. You may find something in there which will allow you to work round this.

You may also want to reconsider calling external programs from inside a message flow, which is an interesting design choice.....
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » WebSphere Message Broker (ACE) Support » MQ Error 2039 when using MQPut API within an external Java
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.