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 » General IBM MQ Support » Putting a message on MQ from WTX map

Post new topic  Reply to topic Goto page 1, 2  Next
 Putting a message on MQ from WTX map « View previous topic :: View next topic » 
Author Message
karthik_varma
PostPosted: Mon Aug 11, 2014 3:25 pm    Post subject: Putting a message on MQ from WTX map Reply with quote

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
View user's profile Send private message
bruce2359
PostPosted: Mon Aug 11, 2014 4:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
karthik_varma
PostPosted: Mon Aug 11, 2014 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Mon Aug 11, 2014 11:33 pm    Post subject: Re: Putting a message on MQ from WTX map Reply with quote

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
View user's profile Send private message
karthik_varma
PostPosted: Tue Aug 12, 2014 5:55 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2014
Posts: 9

@Jedi

Yes, SIB is on WAS.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Aug 12, 2014 6:19 am    Post subject: Reply with quote

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
View user's profile Send private message
karthik_varma
PostPosted: Tue Aug 12, 2014 7:03 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Tue Aug 12, 2014 7:26 am    Post subject: Reply with quote

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
View user's profile Send private message
karthik_varma
PostPosted: Tue Aug 12, 2014 7:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Aug 12, 2014 7:48 am    Post subject: Reply with quote

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
View user's profile Send private message
exerk
PostPosted: Tue Aug 12, 2014 7:57 am    Post subject: Reply with quote

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
View user's profile Send private message
karthik_varma
PostPosted: Tue Aug 12, 2014 8:35 am    Post subject: Reply with quote

Newbie

Joined: 11 Aug 2014
Posts: 9

@exerk

Connection details:
SYSTEM.ADMIN.SVRCONN/TCP/<hostname>(port)
Back to top
View user's profile Send private message
karthik_varma
PostPosted: Tue Aug 12, 2014 8:37 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Tue Aug 12, 2014 9:21 am    Post subject: Reply with quote

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
View user's profile Send private message
karthik_varma
PostPosted: Tue Aug 12, 2014 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » General IBM MQ Support » Putting a message on MQ from WTX map
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.