IBM Support

webMethods Knowlegebase : esapi jar (1796370)

Troubleshooting


Problem

Deploying a web application on v10.3 Application Platform and this web application has some references to org.owasp.esapi.* classes.

It was earlier conveyed that esapi-2.0.1.jar will be provided at run time by Application Platform so have not added any esapi jar into the web application libs folder.

However, now getting 'class not found exception' for esapi classes as shown below:

"java.lang.ClassNotFoundException: org.owasp.esapi.errors.ValidationException

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1291)

at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1119)"

If esapi-2.0.1.jar is included then get the following exception:

"Classcast Exception:

java.lang.ClassCastException: org.apache.log4j.Logger

incompatible with org.owasp.esapi.Logger"

Document Location

Worldwide

[{"Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSVYEV","label":"IBM webMethods Integration"},"ARM Category":[{"code":"a8mKe00000000AQIAY","label":"Application Platform Server (PLS)"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Windows 10 Professional Edts"}],"Version":"10.3"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
19 March 2025

UID

ibm17190183