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 » IBM MQ Java / JMS » MQ JMS returns XAER_RMFAIL

Post new topic  Reply to topic
 MQ JMS returns XAER_RMFAIL « View previous topic :: View next topic » 
Author Message
atheek
PostPosted: Mon Mar 22, 2010 10:19 pm    Post subject: MQ JMS returns XAER_RMFAIL Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Hi All,

We are using a 3rd party resource adaptor deployed on weblogic app server which involves in global 2 pc transaction with Weblogic as Transaction Manager and MQ as a resource manager. Often we are seeing very randomly, MQ JMS returning a XAER_RMFAIL error. This causes weblogic JTA health monitoring system to mark the resource manager as dead and causing all further global transactions to fail. The resource adaptor doesn't have much logging so cant figure out any linked exceptions returned by MQ JMS. Can you suggest what could lead to a XAER_RMFAIL error. The adaptor connects to queue manager in bindings mode only and the queue manager is in running state when the issue occurs.

MQ Version: 6.0.2.7

Thanks,
Atheek
Back to top
View user's profile Send private message
mvic
PostPosted: Tue Mar 23, 2010 5:33 am    Post subject: Re: MQ JMS returns XAER_RMFAIL Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

atheek wrote:
MQ JMS returning a XAER_RMFAIL error.

What call is being made when the error is thrown?

In the XA specification XAER_RMFAIL typically means the RM has become unavailable. Are there any FDC files in /var/mqm/errors from the time concerned? In your described scenario (server bound app, qmgr running) this sounds likely to be a bug somewhere, rather than simply a lost connection.
Back to top
View user's profile Send private message
atheek
PostPosted: Wed Mar 24, 2010 3:59 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

The error is thrown for XAClose I think. Below is the FDC generated. I serached weblogic support site and couldn't find any known issues related to this for the version of weblogic we are using (9.2)

|
Code:
| Date/Time         :- Thu March 18 00:58:13 AUS Eastern Daylight Time 2010   |
| Host Name         :- XXXXXXXX (Windows Server 2003, Build 3790:      |
|   Service Pack 2)                                                           |
| PIDS              :- 5724H7200                                              |
| LVLS              :- 6.0.2.7                                                |
| Product Long Name :- WebSphere MQ for Windows                               |
| Vendor            :- IBM                                                    |
| Probe Id          :- AT040010                                               |
| Application Name  :- MQM                                                    |
| Component         :- atxClose                                               |
| SCCS Info         :- lib/lqm/amqatxca.c, 1.54.1.3                           |
| Line Number       :- 298                                                    |
| Build Date        :- Jun 11 2009                                            |
| CMVC level        :- p600-207-090611                                        |
| Build Type        :- IKAP - (Production)                                    |
| UserID            :- s-mqusr                                                |
| Process Name      :- C:\Program Files\IBM\WebSphere MQ\bin\amqzlaa0.exe     |
| Addressing mode   :- 32-bit                                                 |
| Process           :- 00002948                                               |
| Thread            :- 00013697                                               |
| QueueManager      :- QM130                                                 |
| ConnId(1) IPCC    :- 78329                                                  |
| ConnId(2) QM      :- 13728                                                  |
| Major Errorcode   :- arcE_XAER_PROTO                                        |
| Minor Errorcode   :- OK                                                     |
| Probe Type        :- INCORROUT                                              |
| Probe Severity    :- 2                                                      |
| Probe Description :- AMQ6125: An internal WebSphere MQ error has occurred.  |
| FDCSequenceNumber :- 0                                                      |
|                               
Back to top
View user's profile Send private message
mvic
PostPosted: Wed Mar 24, 2010 4:11 pm    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

This is an XAER_PROTO error because MQ believes it was called outside of the correct protocol. This type of error is fairly common when bringing down the app server very fast - eg. without quiescing all applications first.
Back to top
View user's profile Send private message
atheek
PostPosted: Wed Mar 24, 2010 6:18 pm    Post subject: Reply with quote

Partisan

Joined: 01 Jun 2006
Posts: 327
Location: Sydney

Thanks mvic. I understand this could be something like calling XAClose before doing a xaend or xacommit/ xarollback etc which could lead to XA sequencing error. I couldn;t see any other FDC's related to XA error. But the behaviour we are observing is MQ RM returning a RMFAIL randomly in no patterns. I have turned on some JTA debugging flags to track which exact XA call is causing the RMFAIL error and I am waiting for the next occurence of the issue.
Back to top
View user's profile Send private message
mvic
PostPosted: Thu Mar 25, 2010 1:33 am    Post subject: Reply with quote

Jedi

Joined: 09 Mar 2004
Posts: 2080

atheek wrote:
I have turned on some JTA debugging flags to track which exact XA call is causing the RMFAIL error and I am waiting for the next occurence of the issue.

I suggest to open a PMR if you believe MQ has a bug here. As you've described it, it sounds like a bug.
Back to top
View user's profile Send private message
MQSIB
PostPosted: Tue Oct 23, 2012 3:31 am    Post subject: XAER_RMFAIL Reply with quote

Newbie

Joined: 23 Oct 2012
Posts: 1

Hi Atheek,

I am also getting the same error. How did you resolved this error??
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ JMS returns XAER_RMFAIL
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.