Author |
Message
|
itsme_001 |
Posted: Wed Apr 13, 2011 2:54 am Post subject: AMQ6187 |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
I'm trying to connect from a MQ V7 client on a linux box to a MQ 5.3 server queue mgr on AIX using a JMS Connector.
But I'm getting AMQ6187 error on the client machine and the connector is hung with the starting status.
searched for AMQ6187 but it says - User is not authorized for RestrictedMode queue manager......
Have checked the usr id in the JMS connector; but it is using the mqm user itself.
Any help would be appreciated. |
|
Back to top |
|
 |
Mr Butcher |
Posted: Wed Apr 13, 2011 6:43 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
i have some troubles on z/Os connecting with a client. due to that, i also know that there is a fix for connecting with a MQV7 client to a MQV6 queuemanager, as this resulted in a 2046 returncode. Thats a fix for MQV6 on z/OS.
Although your envorinment is different it may be the same reason, "old" mq server not understanding the MQV7 connect request properly.
unfortunately, i dont think that opening a pmr is usefull as you use unsupported MQ 5.3 on the server.
does it work if you use the mqv6 client ?
[edit]
thinking again about it ... i dont connect as a client, its local binding but uses mqv7 java classes and fails with 2046. queuemanager is mqv7 compat mode. with mqv6 java classes it works. maybe your case is different though ...
sorry
[/edit]
[second edit]
Solution (just in case someone has the same problem)
the userid i used to execute the java program from uss had the MQS.SCSQ* Libraries in the environment variable "STEPLIB" set. these where at version MQV6. using my MQV7 Libraries here resolved my problem.
so it was a bad environment setting
[/second edit] _________________ Regards, Butcher
Last edited by Mr Butcher on Fri Apr 15, 2011 2:15 am; edited 1 time in total |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 13, 2011 7:10 am Post subject: Re: AMQ6187 |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
itsme_001 wrote: |
I'm trying to connect from a MQ V7 client on a linux box to a MQ 5.3 server queue mgr on AIX using a JMS Connector. |
Why do you think this will work? A v7 client would not have been tested against a v5.3 queue manager because v5.3 is out of support.
Also the v7 client has a lot of changes and new functionality, more than the v6 did against the v5.3 client for example. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Apr 13, 2011 4:25 pm Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
MQ 7 Clients should be able to talk to 5.3 Queue Managers.
http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/topic/com.ibm.mq.csqzao.doc/mi13001_.htm
Quote: |
WebSphere MQ clients are interoperable with earlier and later versions of WebSphere MQ....
|
I have used an MQ 7.0.1.4 client to talk to a decrepit 5.3 Queue Manager running on Windows 2000.
I suppose if the MQ Client is trying to use MQ 7 features that would cause a problem with the old QM, but for basic MQ API calls, it should be ok. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Apr 13, 2011 7:02 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Quote: |
I'm trying to connect from a MQ V7 client on a linux box to a MQ 5.3 server queue mgr on AIX using a JMS Connector. |
Wasn't the JMS Connector architecture introduced with 6.0.2.4 and above?
So how do you figure you are going to be successful connecting to a 5.3 qmgr using that architecture?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
itsme_001 |
Posted: Thu Apr 14, 2011 10:41 pm Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
Have established the connectivity previously also.....
But this issue has come up only since last 3 days. Have checked in the complete environment for any changes done on the app side. but no use... |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Apr 19, 2011 3:56 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
I have used the amqscnxc command to check the connectivity from the MQ 7 client to the MQ 5.3 server..... its throwing a reason code 2538 error - which means that either the listener is not running or the channel name is incorrect.
when I try to restart the queue mgr on the MQ 5.3 server, its not stopping....the stop process is running, but the queue mgr is in queising state only ....
any suggestions plzzzz...... |
|
Back to top |
|
 |
exerk |
Posted: Tue Apr 19, 2011 4:02 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
itsme_001 wrote: |
I have used the amqscnxc command to check the connectivity from the MQ 7 client to the MQ 5.3 server..... its throwing a reason code 2538 error - which means that either the listener is not running or the channel name is incorrect.
when I try to restart the queue mgr on the MQ 5.3 server, its not stopping....the stop process is running, but the queue mgr is in queising state only ....
any suggestions plzzzz...... |
Use -i and if that doesn't work take it down pre-emptively - if you're allowed. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Apr 19, 2011 4:06 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
Not able to stop the queue mgr even with -i |
|
Back to top |
|
 |
exerk |
Posted: Tue Apr 19, 2011 4:11 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
itsme_001 wrote: |
Not able to stop the queue mgr even with -i |
And what else have you tried? As is usual, getting full answers from you is a painful process... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Apr 19, 2011 4:12 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
Used endmqm QM2001 & endmqm -i QM2001
Both in different sessions ...... still no,luck in stopping the queue mgrs |
|
Back to top |
|
 |
Vitor |
Posted: Tue Apr 19, 2011 4:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
itsme_001 wrote: |
still no,luck in stopping the queue mgrs |
Even if you use the other documented procedures for stopping reluctant queue managers? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Apr 19, 2011 4:16 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
Also when I use the syntax ./amqscnxc -x 'X.X.X.X(1419)' -c CHLCONN
I'm able to connect to the queue mgr and it says:
Sample AMQSCNXC start
Connecting to queue manager QMGR
using the server connection channel CHLCONN
on connection name X.X.X.X(1419).
But it does not disconnect....until I manually stop it |
|
Back to top |
|
 |
exerk |
Posted: Tue Apr 19, 2011 4:20 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
There is a problem with your ancient queue manager, which may be 'fixed' (note the italics and quotes) by you stopping and starting it. You have problems stopping it and both I and my venerable master (in the wisdom sense) have alluded to other methods of bringing it down. As usual, you seem not to have read the posts, or absorbed, assimilated, and applied the content - you're on your own, have fun  _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
itsme_001 |
Posted: Tue Apr 19, 2011 4:23 am Post subject: |
|
|
Disciple
Joined: 02 Feb 2009 Posts: 157
|
exerk wrote: |
There is a problem with your ancient queue manager, which may be 'fixed' (note the italics and quotes) by you stopping and starting it. You have problems stopping it and both I and my venerable master (in the wisdom sense) have alluded to other methods of bringing it down. As usual, you seem not to have read the posts, or absorbed, assimilated, and applied the content - you're on your own, have fun  |
Able to stop the qmgr preemptively; but not the listener.... Can I kill the listener process manually |
|
Back to top |
|
 |
|