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 » WMB Toolkit cannot make a connection to WMB.

Post new topic  Reply to topic
 WMB Toolkit cannot make a connection to WMB. « View previous topic :: View next topic » 
Author Message
humanRebody
PostPosted: Wed Jan 12, 2011 7:01 am    Post subject: WMB Toolkit cannot make a connection to WMB. Reply with quote

Novice

Joined: 05 Feb 2010
Posts: 15

Hi everyone,

I have installed the WMQ V7 & WMB V7 in the RHEL 5.5 64bits machine. Now I would like to connect the WMB Toolkit which is installed in Windows 7 to the WMQ but no luck.

What I have done are listed below:

1) Start the MQ Manager
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[mqm@localhost ~]$ dspmq
QMNAME(mqbroker) STATUS(Running)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2) Start the listener
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dis lsstatus(TCP.MQBROKER7.LISTENER)
2 : dis lsstatus(TCP.MQBROKER7.LISTENER)
AMQ8631: Display listener status details.
LISTENER(TCP.MQBROKER7.LISTENER) STATUS(RUNNING)
PID(3641) STARTDA(2011-01-12)
STARTTI(21.22.53) DESCR( )
TRPTYPE(TCP) CONTROL(QMGR)
IPADDR(*) PORT(1420)
BACKLOG(100)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

3) Set authority to the toolkit user
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[mqm@localhost ~]$ dspmqaut -m mqbroker -t qmgr -p Thomas
Entity Thomas has the following authorizations for object mqbroker:
connect
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

4) Start the broker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[mqm@localhost bin]$ mqsistart broker7
BIP8018E: Component running.
This component is running, the command issued cannot be run against a running component.
Stop the component and reissue the command.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The error shown:
The user 'Thomas' is not authorized to connect to queue manager 'mqbroker' (MQ reason code 2035 while trying to connect)

Check that,
1. The broker is running.
2. The TCP/IP port of the queue manager is active if it is remote.

I was sitting for the issue for 3 nights. Could anyone give me a hand. Million Thanks.

Regards,
Thomas
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jan 12, 2011 7:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You don't use -p on Unix when issuing setmqaut.

You must use -g.
Back to top
View user's profile Send private message
humanRebody
PostPosted: Wed Jan 12, 2011 7:17 am    Post subject: Reply with quote

Novice

Joined: 05 Feb 2010
Posts: 15

Thanks for the opinion and I have already added the user to the mqm group for problem troubleshooting. However, it still not work.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Jan 12, 2011 7:20 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Right.

Best of luck.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 12, 2011 9:36 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

humanRebody wrote:
Thanks for the opinion and I have already added the user to the mqm group for problem troubleshooting. However, it still not work.

Did you log out and log back in, do a refresh security on MQ or bounce the qmgr since?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
eugen
PostPosted: Wed Jan 12, 2011 11:25 pm    Post subject: Reply with quote

Novice

Joined: 28 Dec 2010
Posts: 22

Had the same problem on CentOS 5.5 a while ago, I do not know if it will work for you but give it a try.

1. First log out and log in back. If this does not work - may be reboot RHEL box.

2. Try to issue this command (although I see that you already have the connect permission...) but just in case
mqsicreateaclentry <configmqrname> -u <user> -a -x F -p

I am not sure if it will help - but you can at least try.

Thx,
Eugene.
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 » WMB Toolkit cannot make a connection to WMB.
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.