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 IndexGeneral IBM MQ SupportMessage rollback, message vanishing

Post new topicReply to topic
Message rollback, message vanishing View previous topic :: View next topic
Author Message
LJM
PostPosted: Thu Dec 20, 2018 1:27 am Post subject: Message rollback, message vanishing Reply with quote

Novice

Joined: 05 Jul 2018
Posts: 10

Hi Team,

i have an odd issue, I have a 3rd party connecting to me, QMGR to QMGR,
Whey they manually send me a message via test message in explorer, or via amqsput, i get the message just fine,

eg

A VER 2
A RPT 0
A MST 8
A EXP -1
A FDB 0
A ENC 546
A CCS 819
A FMT MQSTR
A PRI 0
A PER 0
A MSI 414D51204357535349315330312020208443095C09E84423
A COI 000000000000000000000000000000000000000000000000
A BOC 0
A RTQ
A RTM CWSSI1S01
A USR mqm
A ACC 0334393700000000000000000000000000000000000000000000000000000006
A AIX 2020202020202020202020202020202020202020202020202020202020202020
A PAT 6
A PAN amqsput
A PTD 20181219
A PTT 17073338
A AOX 20202020
A GRP 000000000000000000000000000000000000000000000000
A MSQ 1
A OFF 0
A MSF 0
A ORL -1
S "manual test to TESTLOZ and SSM target (by Sabre "
S "MWE)"


However when thier APPLICATION ( java i think ) try this,

i see my QDEPTH increase, but then decresese, with no GET from myside, i am not consuming.

eg

8450I: Display queue status details.
QUEUE(SSI.ALC.SSM.IN) TYPE(QUEUE)
CURDEPTH(1) IPPROCS(0)
LGETDATE(2018-12-19) LGETTIME(14.50.16)
LPUTDATE(2018-12-19) LPUTTIME(16.17.00)
MEDIALOG( ) MONQ(LOW)
MSGAGE(31) OPPROCS(1)
QTIME(17651, 17651) UNCOM(NO)


Then

AMQ8450I: Display queue status details.
QUEUE(SSI.ALC.SSM.IN) TYPE(QUEUE)
CURDEPTH(0) IPPROCS(0)
LGETDATE(2018-12-19) LGETTIME(14.50.16)
LPUTDATE(2018-12-19) LPUTTIME(16.17.00)
MEDIALOG( ) MONQ(LOW)
MSGAGE(0) OPPROCS(1)
QTIME(17651, 17651) UNCOM(NO)


Now i have asked them to check thier application logs, would i be right to assime this is probably thier app issue, and they are not actually completing the PUT.

Thanks
Laurence
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 20, 2018 5:12 am Post subject: Re: Message rollback, message vanishing Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19946
Location: LI,NY

LJM wrote:
Hi Team,

i have an odd issue, I have a 3rd party connecting to me, QMGR to QMGR,
Whey they manually send me a message via test message in explorer, or via amqsput, i get the message just fine,

eg

A VER 2
A RPT 0
A MST 8
A EXP -1
A FDB 0
A ENC 546
A CCS 819
A FMT MQSTR
A PRI 0
A PER 0
A MSI 414D51204357535349315330312020208443095C09E84423
A COI 000000000000000000000000000000000000000000000000
A BOC 0
A RTQ
A RTM CWSSI1S01
A USR mqm
A ACC 0334393700000000000000000000000000000000000000000000000000000006
A AIX 2020202020202020202020202020202020202020202020202020202020202020
A PAT 6
A PAN amqsput
A PTD 20181219
A PTT 17073338
A AOX 20202020
A GRP 000000000000000000000000000000000000000000000000
A MSQ 1
A OFF 0
A MSF 0
A ORL -1
S "manual test to TESTLOZ and SSM target (by Sabre "
S "MWE)"


However when thier APPLICATION ( java i think ) try this,

i see my QDEPTH increase, but then decresese, with no GET from myside, i am not consuming.

eg

8450I: Display queue status details.
QUEUE(SSI.ALC.SSM.IN) TYPE(QUEUE)
CURDEPTH(1) IPPROCS(0)
LGETDATE(2018-12-19) LGETTIME(14.50.16)
LPUTDATE(2018-12-19) LPUTTIME(16.17.00)
MEDIALOG( ) MONQ(LOW)
MSGAGE(31) OPPROCS(1)
QTIME(17651, 17651) UNCOM(NO)


Then

AMQ8450I: Display queue status details.
QUEUE(SSI.ALC.SSM.IN) TYPE(QUEUE)
CURDEPTH(0) IPPROCS(0)
LGETDATE(2018-12-19) LGETTIME(14.50.16)
LPUTDATE(2018-12-19) LPUTTIME(16.17.00)
MEDIALOG( ) MONQ(LOW)
MSGAGE(0) OPPROCS(1)
QTIME(17651, 17651) UNCOM(NO)


Now i have asked them to check thier application logs, would i be right to assime this is probably thier app issue, and they are not actually completing the PUT.

Thanks
Laurence

Negative. From what you're saying it looks like they are indeed completing the put (otherwise you would have no queue depth) but they are never committing their transaction and as such the message gets rolled back...
If they have a request - reply model you need to remind them that you cannot process the request unless it is committed and they cannot have the request and response in the same transaction...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
LJM
PostPosted: Thu Dec 20, 2018 5:30 am Post subject: Reply with quote

Novice

Joined: 05 Jul 2018
Posts: 10

much appreciated,

going back to them. ill update
Back to top
View user's profile Send private message
LJM
PostPosted: Thu Dec 20, 2018 7:10 am Post subject: Reply with quote

Novice

Joined: 05 Jul 2018
Posts: 10

manages to caputre one of the messages before it vanished

[mqm@esb-mq-rmicsit01 errors]$ cat loz
* DMPMQMSG Version:9.1.0.0 Created:Thu Dec 20 11:28:43 2018
* Qmgr = MQRMICSIT01
* Queue = SSI.ALC.SSM.IN

A VER 2
A RPT 0
A MST 8
A EXP 16
A FDB 0
A ENC 546
A CCS 1208
A FMT MQHRF2
A PRI 0
A PER 0
A MSI 0A39C2A8D3460AAE999DCB0A000001000B00000000000000
A COI 0A39C2A8D3460AAE999DCB0A000001000000000000000000



its expiring right, that A EXP 16 is 16 seconds ?

thats why its vanaishing, the 3rd party are setting a message expiry.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Dec 20, 2018 8:40 am Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2078

MQMD.Expiry is measured in tenths of a second.
You can look this up in the MQ Knowledge Center.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportMessage rollback, message vanishing
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.