Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems while Establishing Communication between two Queue Managers!!!

Problems while Establishing Communication between two Queue Managers!!!

by  rajeshavrs  Posted    (Edited  )
I want to put this question because most of the people who are just beginning working with mqseries may go wrong in some aspects. Let me put those points here so that it won't be a big deal while trying this.

1) Suppose we are trying to establish communication between two queue managers sitting on two nt machines which are in different domain, then the necessary things to do are.....i) The user_id with which the sender has logged in has to appear in the receiver's machine. This is irrespective of domain. ii) After doing this you have to give authorities to the user id to send messages to the receiving queue manager. To achieve this you have to use the commands

[color FF0000][bold]setmqaut -m qmgr_name -n queue_name -t queue -p user_id +allmqi[/bold][/color]

by doing this you are giving permissions for all mqi calls

2) Make sure that the queue managers on different machines which are trying to communicate are listening at the same port. For Example, if one queue manager on the first machine is listening at 1430, the second queue manager on the second machine should also listen at 1430. Otherwise it the sender won't recognize the receiver queue manager and will throw an exception

Hope this is helpful.
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top