Author |
Message
|
sebastia |
Posted: Wed Feb 20, 2013 2:37 am Post subject: toolkit connectivity pre-requisites |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Hi.
We will have the MB toolkit on a local Windows machine,
and the broker on a remote AIX machine, all version 7.1
What MQ software do we need on the windows/toolkit machine ?
==========================================
Is client enough ? Any configuration setting ?
This is what we have tested and it is not working, even AMQSPUTC works OK
When we try to connect to remote Broker, it asks for
*) queue manager name
*) IP + port
*) SVRCONN channel name, default SYSTEM.BKR.CONFIG
MQRC = 2059 -> this indicates bindings is in use, isnt it ?
Is server mandatory ? Any important configuration (to reach remote QM from local QM) ?
Thanks. |
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 20, 2013 2:54 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
MQRC 2059 means that the QM you have asked to connect to is not available at the address/port specified.
Could be the listener is not running. |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 2:58 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
AMQSPUTC works with the same IP:PORT and SVRCONN channel, sorry |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 20, 2013 3:58 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sebastia wrote: |
AMQSPUTC works with the same IP:PORT and SVRCONN channel, sorry |
What is the exact type of error you are getting? Is SSL involved?
If you are using brokerExplorer can you create a .broker file for this remote broker (thereby having the definition). You can then use the .broker file to connect with the toolkit.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 4:40 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
MQRC = 2059 ; MQRC_Q_MGR_NOT_AVAILABLE
but AMQSPUTC works fine with same parameters ...
no SSL, thanks ( )
yes, we are exporting the NAME.broker file using MQExplorer, but I expect to have the same error ...
Something STUPID is in front of my face and I dont see it .... as usual |
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 20, 2013 4:40 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
amqsputc will generally use the connection details from a CCDT, are you sure you are using exactly the same details?
Are you using the same channel with amqsputc? If not try that. |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 4:41 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
AMQSPUTC uses MQSERVER envir variable, and yes, I swear, it hs the very same IP parameters ... |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed Feb 20, 2013 5:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
sebastia wrote: |
AMQSPUTC uses MQSERVER envir variable, and yes, I swear, it hs the very same IP parameters ... |
Maybe a user exit on the svrconn channel?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
adubya |
Posted: Wed Feb 20, 2013 5:03 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
sebastia wrote: |
MQRC = 2059 ; MQRC_Q_MGR_NOT_AVAILABLE
but AMQSPUTC works fine with same parameters ...
no SSL, thanks ( )
yes, we are exporting the NAME.broker file using MQExplorer, but I expect to have the same error ...
Something STUPID is in front of my face and I dont see it .... as usual |
Be careful with those .broker export files from MQ Explorer, it always seems to generate a file with the svrconn="SYSTEM.BKR.CONFIG" even if you're not actually using that channel.
In MQ Explorer if you select the Qmgr definition in the QueueManager section, what Channel name is listed in the right hand pane ? |
|
Back to top |
|
 |
zpat |
Posted: Wed Feb 20, 2013 5:31 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
The Toolkit being Java may pass a blank id on connection. Make sure the toolkit has the latest fixpack applied.
If you use blockip2 exit, this may be rejected.
With MQ 7.1 it may be the channel auth records doing this. |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 6:02 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
fjb_saper wrote: |
sebastia wrote: |
AMQSPUTC uses MQSERVER envir variable, and yes, I swear, it hs the very same IP parameters ... |
Maybe a user exit on the svrconn channel?  |
I used UserExit's years ago and promised no to do it again except under real danger of death ...
No UserExits, mr Saper. Thanks for the support ! |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 6:03 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
zpat wrote: |
The Toolkit being Java may pass a blank id on connection. Make sure the toolkit has the latest fixpack applied.
If you use blockip2 exit, this may be rejected.
With MQ 7.1 it may be the channel auth records doing this. |
Got the idea : apply Toolkit fixes - thanks. |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 6:15 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
adubya wrote: |
Be careful with those .broker export files from MQ Explorer, it always seems to generate a file with the svrconn="SYSTEM.BKR.CONFIG" even if you're not actually using that channel.
In MQ Explorer if you select the Qmgr definition in the QueueManager section, what Channel name is listed in the right hand pane ? |
on mqexplorer ... we have ... SYSTEM.ADMIN.SVRCONN on the right ...
The problem is that I get nothing in AMQERR01.LOG in the destination machine ... |
|
Back to top |
|
 |
adubya |
Posted: Wed Feb 20, 2013 6:37 am Post subject: |
|
|
Partisan
Joined: 25 Aug 2011 Posts: 377 Location: GU12, UK
|
Have you tried connecting to broker using channel SYSTEM.ADMIN.SVRCONN ?
(this is probably far from best practice but as a test worth a go) |
|
Back to top |
|
 |
sebastia |
Posted: Wed Feb 20, 2013 8:05 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
... I will try in a minute
let me change the question ...
a) where does Toolkit write a LOG ?
b) does Toolkit require MQ client or server to connect to remote broker ? |
|
Back to top |
|
 |
|