×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Problems while Establishing Communication between two Queue Managers!!! by rajeshavrs
Posted: 9 Aug 00

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

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

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.

Back to IBM: MQSeries FAQ Index
Back to IBM: MQSeries Forum

My Archive

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close