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 » [SOLVED]Multiple Queue Managers w/same name

Post new topic  Reply to topic
 [SOLVED]Multiple Queue Managers w/same name « View previous topic :: View next topic » 
Author Message
jmac
PostPosted: Thu Jul 10, 2003 5:10 am    Post subject: [SOLVED]Multiple Queue Managers w/same name Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

I have the following situation in an MQWorkflow environment. It is my belief that this problem is not due to MQWF.

I have a java program which recieves a message that requires a reply to FMCQM/EXEXMLINPUTQ on Host1. This program is required to send a message to FMCQM/EXEXMLINPUTQ on Host2. The following is what I am currently observing:

    Application receives control with the appropriate Replyto QMGR/Q on Host 1.
    Application sends message to Host2 by specifiying Host, port and channel.
    Host2 performs its required task and returns to the App on Host1.
    Host1 sends its reply (based on my log) but MQWF never recieves it.


Based on some testing we've done, I am pretty certain that what is happening is that the reply that is meant for Host1 is somehow being sent to Host2 and thus MQWF thinks the app is still running, I have not been able to proove this 100% but I am fairly certain that this is the case. I know if I remove the code from the Application that contacts Host2, the app sends its reply and MQWF is happy.

Not being really up on MQ, I am confused as to how this can be happening. IF anyone can shed some light on this I would be very appreciative.

THANKS.
_________________
John McDonald
RETIRED


Last edited by jmac on Thu Jul 10, 2003 1:59 pm; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
leongor
PostPosted: Thu Jul 10, 2003 7:08 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

Quote:

Application receives control with the appropriate Replyto QMGR/Q on Host 1.
Application sends message to Host2 by specifiying Host, port and channel.
Host2 performs its required task and returns to the App on Host1.
Host1 sends its reply (based on my log) but MQWF never recieves it.

In the last line - how application knows to reply to Host1 ?
When it get message from Host2 does it sends reply by ReplyQ/QM fields or specifically to host1 ?
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jul 10, 2003 7:12 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

I believe that I have found the problem. There is a static reference to the MQEnvironment and this is what is causing the problem. Once the hostname, channel, and port are set, they are never being cleared. I will mark this topic solved once my testing is complete, and post an update if I find that my current theory (static reference) is not correct.

THANKS
_________________
John McDonald
RETIRED
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » [SOLVED]Multiple Queue Managers w/same name
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.