Author |
Message
|
shashivarungupta |
Posted: Fri Oct 18, 2013 12:35 am Post subject: MQTRIG messages ? |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Hi,
I've been noticing some of the messages are getting generated by Qmgr of format type MQTRIG. And Messages are routed to DLQ and then Forwarded to DLQBACKUP using Rule Table. But the Question is in what scenario(s) we see this MQTRIG Messages.
Where as Trigger MOnitor is ON and Running fine since Long.
InitQ curdepth is 0 and having handle of trigger monitor. Put and Get are enabled for this Queue.
I don't see any Error in the QMgr Error Logs, which I suspected, could have been generated cause of Trigger Monitor Issue Or someother.
There is no FDC either.
Quote: |
****Message descriptor****
StrucId : 'MD ' Version : 2
Report : 0 MsgType : 8
Expiry : -1 Feedback : 0
Encoding : 273 CodedCharSetId : 819
Format : 'MQTRIG '
Priority : 0 Persistence : 1
MsgId : X'414D5120414F5250303351312020202052063E40264F1821'
CorrelId : X'000000000000000000000000000000000000000000000000'
BackoutCount : 0
ReplyToQ : ' '
ReplyToQMgr : 'QMGRQ1 '
** Identity Context
UserIdentifier : ' '
AccountingToken :
X'0000000000000000000000000000000000000000000000000000000000000000'
ApplIdentityData : ' '
** Origin Context
PutApplType : '7'
PutApplName : 'QMGRQ1 '
PutDate : '20131018' PutTime : '07540955'
ApplOriginData : ' '
GroupId : X'000000000000000000000000000000000000000000000000'
MsgSeqNumber : '1'
Offset : '0'
MsgFlags : '0'
OriginalLength : '-1'
**** Message **** |
with MQ v7.0.1.6 at Solaris. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
hughson |
Posted: Fri Oct 18, 2013 12:44 am Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
Could you show the message content as well? _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Oct 18, 2013 1:04 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
hughson wrote: |
Could you show the message content as well? |
Thanks for your response.
But I afraid if I can share that information over here. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Oct 18, 2013 1:19 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
You could obfuscate it you know.
Replace company names with XXXXX
etc
etc
etc
Jest leave the paths etc the same
My guess is that Morag is more interested in the structure of the data than the content at this stage. _________________ 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 |
|
 |
shashivarungupta |
Posted: Fri Oct 18, 2013 1:27 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
smdavies99 wrote: |
You could obfuscate it you know.
Replace company names with XXXXX
etc
etc
etc
Jest leave the paths etc the same. |
I've the message format .. in hex.. and some of it is in readable format. I can obfuscate some of the readable.. but still hex can be converted to readable.. and if I play with hex.. the structure would be of no use (i guess)
smdavies99 wrote: |
My guess is that Morag is more interested in the structure of the data than the content at this stage. |
I trust her. No doubt about that. But I don't trust others who would be ready for phishing. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
mqjeff |
Posted: Fri Oct 18, 2013 1:32 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
MQTRIG messages shouldn't, to the best of my knowledge, contain any business data.
So that's the first thing to notice. Either it's an MQTRIG message that is properly created by the queue manager, or it's an MQTRIG message that is improperly created by an application. |
|
Back to top |
|
 |
smdavies99 |
Posted: Fri Oct 18, 2013 1:39 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
mqjeff wrote: |
MQTRIG messages shouldn't, to the best of my knowledge, contain any business data.
So that's the first thing to notice. Either it's an MQTRIG message that is properly created by the queue manager, or it's an MQTRIG message that is improperly created by an application. |
Code: |
MQCHAR256 ApplId; /* Application identifier */
MQCHAR128 EnvData; /* Environment data */
MQCHAR128 UserData; /* User data */
|
Those fields can contain company names, user names, path data and other 'stuff' the some might regards as sensitive. _________________ 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 |
|
 |
fjb_saper |
Posted: Fri Oct 18, 2013 6:18 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
my guess is you're getting the msgs in the DLQ because of something wrong... In case you are running one of the standard trigger monitors and not your own... :
First thing to consider is the DLQ reason code.
Second thing is to run a trigger monitor log and look at it.
Third thing would be to run the trigger monitor in foreground.
Last but not least: Identify and fix the problem!  _________________ MQ & Broker admin |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Oct 18, 2013 6:38 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Messages are flowing down to DLQBACKUP queue from the DLQ queue based on if Format is MQTRIG (by Rule Table).
Messages are getting routed to DLQ with reason 265 (Appl can not be started) MQFB_APPL_CANNOT_BE_STARTED.
Quote: |
[ 856 bytes] Dead Letter Queue Header (MQDLH)
StrucId :'DLH '
Version :1
Reason :265 (Appl can not be started)
Dest. Queue :'QMGRQ1.INITQ.............................'
Dest. QMgr :'QMGRQ1 '
MQEncoding :0x'111'
CCSID :819
Format :'MQTRIG '
PutApplType :6 (UNIX)
PutApplName :'RUNMQTRM....................'
Put Date :'20130912'
Put Time :'22214411'
[ 684 bytes] Trigger Message (MQTM)
StrucId :'TM '
Version :1
Queue Name :'QMGRQ1.APPLICATIONQUEUE '
Process Name :'QMGRQ1.APPLICATIONQUEUEPROCESS '
Trigger Data :' '
' '
Appl Type :6 (UNIX)
Appl Id :'/usr/local/applicationprocesstriggered & '
' '
' '
' '
' '
Env. Data :' '
' '
' '
User Data :' '
' '
|
_________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
bruce2359 |
Posted: Fri Oct 18, 2013 6:46 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
So, the app fails to start in background ( &). Can you successfully run the application interactively? _________________ 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 |
|
 |
shashivarungupta |
Posted: Fri Oct 18, 2013 6:52 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
bruce2359 wrote: |
So, the app fails to start in background ( &). Can you successfully run the application interactively? |
app fails to start in background is an assumption at this moment. but it is confirmed with above reason code that application failed to start.
Haven't tried to execute that application interactively cause its an application owned process/job, we can not play with it in the environment which is critical.
app fails to start in background can be confirmed if we run the trace. _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
shashivarungupta |
Posted: Fri Oct 18, 2013 11:22 am Post subject: |
|
|
 Grand Master
Joined: 24 Feb 2009 Posts: 1343 Location: Floating in space on a round rock.
|
Thanks Morag for your help and time !  _________________ *Life will beat you down, you need to decide to fight back or leave it. |
|
Back to top |
|
 |
|