IBM Support

How to fix the error "XPath expression contains '101' operators which exceeds a limit of '100'"

How To


Summary

The error "XPath expression contains '101' operators which exceeds a limit of '100' in IBM Content Navigator log systemout.log

Objective

To fix the following error in IBM Content Navigator log systemout.log:

CIWEB Error: [] com.ibm.ecm.protocol.icn.Handler.initialize()
javax.xml.transform.TransformerConfigurationException: com.ibm.xtq.xslt.jaxp.HandledRuntimeException: [ERR 0674] XPath expression contains '101' operators which exceeds a limit of '100'
        at com.ibm.xtq.xslt.jaxp.AbstractTransformerFactory.newTemplates(Unknown Source)
        at com.ibm.ecm.viewone.AnnotationUtil.initialize(AnnotationUtil.java:58)
        at com.ibm.ecm.protocol.icn.Handler.initialize(Handler.java:38)

Environment

IBM Content Navigator with WebSphere application server

Steps

To resolve this error, you can implement the following three generic JVM arguments on your ICN JVM profile:

-Djdk.xml.xpathExprGrpLimit=0
-Djdk.xml.xpathExprOpLimit=0
-Djdk.xml.xpathTotalOpLimit=0
The path in WebSphere Console is Application servers > icn_server1 > Process definition > Java Virtual Machine
then Generic JVM Arguments.
After adding these 3 arguments, restart the each ICN instance.
By implementing these arguments, the error will be fixed.

Document Location

Worldwide


[{"Type":"MASTER","Line of Business":{"code":"LOB18","label":"Miscellaneous LOB"},"Business Unit":{"code":"BU056","label":"Miscellaneous"},"Product":{"code":"SSEUEX","label":"IBM Content Navigator"},"ARM Category":[{"code":"a8m3p000000LRz9AAG","label":"IBM Content Navigator"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"All Versions"}]

Document Information

More support for:
IBM Content Navigator

Component:
IBM Content Navigator

Software version:
All Versions

Operating system(s):
AIX, Linux, Windows

Document number:
7167929

Modified date:
09 September 2024

UID

ibm17167929

Manage My Notification Subscriptions