Marking more than 50K rows to run on demand table throws exception "Failed to execute data query"
book
Article ID: KB0080021
calendar_today
Updated On:
Products
Versions
Spotfire Analyst
All Versions
Description
Marking more than 50K rows to run on demand table throws the exception "Failed to execute data query".
The following error is seen in the log file.
"org.apache.cxf.interceptor.Fault: Unmarshalling Error: Maximum Number of Child Elements limit (50000) Exceeded"
This error is coming from the third party org.apache.cxf.stax.maxChildElements being set to 50000 and the comparison expression for more than 50000 values will contain more than 50000 child elements.
Environment
All Supported OS
Resolution
To resolve this issue:
1). Goto location C:\tibco\tss\X.X.X\tomcat\bin on Spotfire Server machine.
2). Edit the service.bat file.
3). At the end of file, under the JVM options add -Dorg.apache.cxf.stax.maxChildElements=1000000 as shown below. See the attached file (Filename: service.bat) for reference.