|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
Putting a message on MQ from WTX map |
« View previous topic :: View next topic » |
Author |
Message
|
tczielke |
Posted: Tue Aug 12, 2014 12:24 pm Post subject: |
|
|
Guardian
Joined: 08 Jul 2010 Posts: 941 Location: Illinois, USA
|
Assuming the SYSTEM.DEF.SVRCONN channel is running on an amqrmppa process on the queue manager and this is a distributed environment, you could ask the MQ administrator to do a strmqtrc on the amqrmppa process:
strmqtrc -m qmgr -t api -p amqrmppa
and then recreate your issue.
If your application is attempting to connect to the queue manager, you would see evidence of it in the formatted trace, plus the potential error code that you might be getting on the connect attempt. The trace should include your channel name on the connect attempt.
You probably could also get at this with some type of event monitoring, but I personally just use tracing over events, because it is more robust. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Aug 12, 2014 12:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
karthik_varma wrote: |
Hi, i checked with Admin. Connection details are:
SYSTEM.DEF.SVRCONN/TCP/hostname(port) |
Tell your admin from me he shouldn't be giving out SYSTEM SVRCONN details.
karthik_varma wrote: |
And i am able to connect to the queue from the MQ client. |
Amazing how it works with the right SVRCONN name.
karthik_varma wrote: |
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. |
This will be a good thing to figure out
karthik_varma wrote: |
I am trying to read some manual where i can learn how to configure MQ client to WTX. |
What more do you need to configure? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
karthik_varma |
Posted: Tue Aug 12, 2014 2:46 pm Post subject: |
|
|
Newbie
Joined: 11 Aug 2014 Posts: 9
|
@Vitor
I am able to turn on trace for MQS. Now i am able to see logs for connection details. Everything is working good.
Only thing to figure out is:
[m4mqsEndTransaction]
| Rolling back unit of work
[m4mqsEndTransaction] (rc = 0)
It is rolling back work, instead it needs to commit unit of work. I need to figure out why my transactions are rolling back. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 13, 2014 4:41 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
karthik_varma wrote: |
It is rolling back work, instead it needs to commit unit of work. I need to figure out why my transactions are rolling back. |
Which is nothing to do with the client configuration and everything to do with your map. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
JosephGramig |
Posted: Wed Aug 13, 2014 5:40 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
karthik_varma,
I don't see a specific forum here for WTX but there is one on IBM Developer Works.
You might want to try your luck there... |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|