Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.1.1
-
Fix Version/s: 1.1.1
-
Component/s: Reporting (Outbound Datafeeds)
-
Labels:None
Description
After triggering the Data feed automatically - through scheduler jobs, Jboss is throwing exception - "org.dom4j.XPathException: Exception occurred evaluting XPath: env:Body/ns2:submitRequestResponse/return. Exception: XPath expression uses unbound namespace prefix ns2"
STEPS FOLLOWED:
1. Update the datafeed properties in future date
sudo vi /usr/local/jboss-5.1.0.GA/server/tsa_datafeed_node/conf/tsa/smb/smb-datafeed-service.properties
datafeed-timer.outbound.cron_trigger_day_of_week=3
datafeed-timer.outbound.cron_trigger_hour_of_day=05
datafeed-timer.outbound.cron_trigger_minute_of_hour=59
2.Restart the jboss5
3.Wait till the set time in the datafeed properties and check the jboss logs.Datafeed process is triggered @ time : 05:59. It is observed that Datafeed reports hasn't generated and Jboss log shows exceptions
====Detailed log is attached===
05:59:10,264 INFO [STDOUT] ERROR 21-02 05:59:10,264 - Get data from XML - org.dom4j.XPathException: Exception occurred evaluting XPath: env:Body/ns2:submitRequestResponse/return. Exception: XPath expression uses unbound namespace prefix ns2
05:59:10,264 INFO [STDOUT] ERROR 21-02 05:59:10,264 - Get data from XML - Unexpected error
05:59:10,265 INFO [STDOUT] ERROR 21-02 05:59:10,265 - Get data from XML - org.pentaho.di.core.exception.KettleException:
Unable to read row from XML file
org.dom4j.XPathException: Exception occurred evaluting XPath: env:Body/ns2:submitRequestResponse/return. Exception: XPath expression uses unbound namespace prefix ns2
at org.pentaho.di.trans.steps.getxmldata.GetXMLData.getXMLRowPutRowWithErrorhandling(GetXMLData.java:720)
at org.pentaho.di.trans.steps.getxmldata.GetXMLData.getXMLRow(GetXMLData.java:691)
at org.pentaho.di.trans.steps.getxmldata.GetXMLData.processRow(GetXMLData.java:648)
at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.pentaho.di.core.exception.KettleException: