Author |
Message
|
karthik_varma |
Posted: Mon Aug 11, 2014 3:25 pm Post subject: Putting a message on MQ from WTX map |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
Hi,
I am trying to put a message on MQ Server queue from a WTX map.
From the output card of WTX i am using the following put method:
=PUT("MQS","-QN TEST_QUEUE -QMN <Queue_Manager> -CD SYSTEM.ADMIN.SVRCONN/TCP/<hostname>(port)","sample data")
And in the map settings i put target as "IBM WebsphereMQ (Client).
Info:
My Queue Manager is on WAS. I am running WTX map on my local machine and i am trying to connect to Queue on WAS.
Thanks! |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Aug 11, 2014 4:36 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
And? Is it working? Not working? Some kind of error? _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
karthik_varma |
Posted: Mon Aug 11, 2014 4:53 pm Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
It is not working. I am not able to see any error. I am new to wtx. I turned on audit and trace but none of the files get generated. Is there any way to see detail logs in wtx? |
|
Back to top |
|
 |
exerk |
Posted: Mon Aug 11, 2014 11:33 pm Post subject: Re: Putting a message on MQ from WTX map |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
karthik_varma wrote: |
My Queue Manager is on WAS. I am running WTX map on my local machine and i am trying to connect to Queue on WAS. |
Do you mean Service Integration Bus (SIB) on WAS? _________________ 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 |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 5:55 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
@Jedi
Yes, SIB is on WAS. |
|
Back to top |
|
 |
exerk |
Posted: Tue Aug 12, 2014 6:19 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
karthik_varma wrote: |
@Jedi
Yes, SIB is on WAS. |
Try exerk, then we'll know whom you're talking to
I'm WTX aware, so:
1. Who set up the SIB, and what connection details did they pass you?
2. What does the WTX manual say about connecting to a Queue Manager or SIB? _________________ 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 |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 7:03 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
@exerk
I am really sorry, i am not connecting to SIB. I am connecting to MQ. I just realized that MQ is not on WAS. We have a dedicated MQ Server running on a node.
Connection details that i am passing to MQ are SYSTEM.ADMIN.SVRCONN/TCP/<hostname>(port) |
|
Back to top |
|
 |
smdavies99 |
Posted: Tue Aug 12, 2014 7:26 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
What version of WMQ are you using?
Are you sure that you can use that channel?
Where have you looked for errors relating to your connection?
You really should be using a SVRCONN channel dedicated for WTX AND then have the authoriation setup so that WTX can connect correctly AND put the message to the desired queue.
If you happen to be running V7.1.0.0 or later there might be a security rule defined that stops you using any SYSTEM.* channel. _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 7:37 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
@smdavies99
Hi,
I am using Version: 7.0.1.8
I looked at the trace file from WTX and I see no errors. I am trying to look for errors related to connection. But, i don't know where to look.
Thanks! |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 12, 2014 7:48 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
karthik_varma wrote: |
I am using Version: 7.0.1.8 |
Even so, whoever runs that queue manager may have taken steps to prevent connection via a SYSTEM channel, especially the ADMIN one. What prompted you to use that channel, i.e. why that rather than a dedicated one as my associated suggested which is far more the normal pattern?
karthik_varma wrote: |
I am trying to look for errors related to connection. But, i don't know where to look. |
The WMQ error logs would be a good place to start.
If you can't find them, ask whoever's administering the queue manager where he's located them. You might also ask if there's any security on the admin channel that might be blocking you and if he'd mind giving you a dedicated SVRCONN. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Tue Aug 12, 2014 7:57 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
karthik_varma wrote: |
@exerk
I am really sorry, i am not connecting to SIB. I am connecting to MQ. |
OK, so I'll restate my question - Who set up MQ, and what connection details did they pass you? _________________ 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 |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 8:35 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
@exerk
Connection details:
SYSTEM.ADMIN.SVRCONN/TCP/<hostname>(port) |
|
Back to top |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 8:37 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
I haven't setup MQ client locally. Do i need to setup client for MQ or the libraries are included in the WTX? |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 12, 2014 9:21 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
karthik_varma wrote: |
Connection details:
SYSTEM.ADMIN.SVRCONN/TCP/<hostname>(port) |
And again I ask, as my worthy associate is about to ask again - where did you get those details? Who told you to use SYSTEM .ADMIN.SVRCONN rather than a more usual channel? Did this person confirm that the security which typically prevents the unauthorised use of this channel will permit your use of this channel? Is this person your WMQ admin or anyone else who would be in a position to actually know this?
karthik_varma wrote: |
I haven't setup MQ client locally. Do i need to setup client for MQ or the libraries are included in the WTX? |
If you're running WTX locally did you select WTX's WMQ client support as part of the install? If yes, you don't need to configure the client. If no, you need to install the client and ask yourself why the error handling built into your WTX map didn't report the various exceptions as the runtime failed to find a load of client libs.
You might also want to verify (even if you have client support) any WMQ return codes are being correctly reported as these contain valuable clues. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 11:59 am Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
@Vitor
Hi, i checked with Admin. Connection details are:
SYSTEM.DEF.SVRCONN/TCP/hostname(port)
And i am able to connect to the queue from the MQ client.
I am working with WTX for the first time and with MQ as well. I am trying to figure out error flow and why i am not able to see any error messages if a call to MQ sever is failing. I am trying to read some manual where i can learn how to configure MQ client to WTX.
Thanks for all help.[/code] |
|
Back to top |
|
 |
|