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 » MQTRIG messages ?

Post new topic  Reply to topic
 MQTRIG messages ? « View previous topic :: View next topic » 
Author Message
shashivarungupta
PostPosted: Fri Oct 18, 2013 12:35 am    Post subject: MQTRIG messages ? Reply with quote

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
View user's profile Send private message Send e-mail
hughson
PostPosted: Fri Oct 18, 2013 12:44 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
shashivarungupta
PostPosted: Fri Oct 18, 2013 1:04 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Fri Oct 18, 2013 1:19 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.

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
View user's profile Send private message
shashivarungupta
PostPosted: Fri Oct 18, 2013 1:27 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Oct 18, 2013 1:32 am    Post subject: Reply with quote

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
View user's profile Send private message
smdavies99
PostPosted: Fri Oct 18, 2013 1:39 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.

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
View user's profile Send private message
fjb_saper
PostPosted: Fri Oct 18, 2013 6:18 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Fri Oct 18, 2013 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
bruce2359
PostPosted: Fri Oct 18, 2013 6:46 am    Post subject: Reply with quote

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
View user's profile Send private message
shashivarungupta
PostPosted: Fri Oct 18, 2013 6:52 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Fri Oct 18, 2013 11:22 am    Post subject: Reply with quote

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

MQSeries.net Forum Index » General IBM MQ Support » MQTRIG messages ?
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.