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 » WebSphere Message Broker (ACE) Support » evaluateXPath() in Java Compute node causing EG to restart

Post new topic  Reply to topic
 evaluateXPath() in Java Compute node causing EG to restart « View previous topic :: View next topic » 
Author Message
deepak_paul
PostPosted: Tue Mar 12, 2013 10:46 am    Post subject: evaluateXPath() in Java Compute node causing EG to restart Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

All,

I have a scenario where I have to populate the XPath expression dynamically and execute that Xpath in Java Compute node using evaluateXpath() method. For some reason, our population of XPath expression fails to generate the right value and results in null. And when this null value gets evaluated against the message(XML) as below, the execution group gets shut down and restarted immediately. Even the abend file does not have enough information why this
Code:

Try{
String xpath = <some dynamic processing logic>; --resulted null in a scenario.
inputXMLMsg.evaluateXPath(xpath);
}catch(Throwable e){
--logic to handle exception
}

Abend file content:
Quote:

----------------------------- Stack dump for current thread ( 1
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so[0x2b628be5d80c]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend23dumpCurrentStacksToFileEPKvi+0x106)[0x2b628bcb6c06]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend10dumpToFileEPcPKciS2_RKNS_6InsertES5_S5_S5_S5_S5_PKv+0x72f)[0x2b628bcb7c8f]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend22logSystemErrorInternalEPKciS1_RKNS_6InsertES4_S4_S4_S4_S4_PKvb+0x25e)[0x2b628bcb82de]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend41logSystemErrorAndTerminateProcessInternalEPKciS1_RKNS_6InsertES4_S4_S4_S4_S4_PKvb+0xae)[0x2b628bcb8c8e]
/opt/app/ibm/mqsi/7.0/lib/libCommonServices.so(_ZN8ImbAbend21signalHandlerInternalEiP7siginfoPv+0xf5)[0x2b628bcb8e65]
/lib64/libpthread.so.0[0x300060ebe0]
/opt/app/ibm/wtx/java/lib/amd64/default/libj9vm24.so[0x2aaaacc53b32]

I would like to know why this(null parameter to evaluateXPath() method) is not raising any exception but causing the EG to shut down and restart. Any help is appreciated.
_________________
Regards
Paul
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Mar 12, 2013 10:48 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

It's causing an EG restart because of the reason listed in the abend files.

It's clearly a bug in the product itself.

You'll have to resolve that through a PMR.

But odds are very good that you're at 7.0.0.0 instead of 7.0.0.5 or later.
Back to top
View user's profile Send private message
deepak_paul
PostPosted: Tue Mar 12, 2013 11:52 am    Post subject: Reply with quote

Centurion

Joined: 04 Oct 2008
Posts: 147
Location: US

Thanks or your reply, mqjeff. But how you guessed that i am at 7.0.0.0?. In fact, this behavior was noticed in 7.0.0.4.

And i dont see any entry in the FIX list saying that this is fixed in 7.0.0.5.

http://www-01.ibm.com/support/docview.wss?&uid=swg27019145
_________________
Regards
Paul
Back to top
View user's profile Send private message
McueMart
PostPosted: Tue Mar 12, 2013 2:10 pm    Post subject: Reply with quote

Chevalier

Joined: 29 Nov 2011
Posts: 490
Location: UK...somewhere

Upgrade to 7.0.0.5 and test it - if it still abends raise the PMR. For the time being add some code in to protect against the null!
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 » WebSphere Message Broker (ACE) Support » evaluateXPath() in Java Compute node causing EG to restart
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.