[Esapi-user] ESAPI.validator().getValidInput() crashes app on startup

Normando Macaraeg nmacaraeg at jaspersoft.com
Wed Aug 10 20:33:00 EDT 2011


javax.servlet.ServletException: Filter execution threw an exception
	
com.jaspersoft.jasperserver.war.util.CharacterEncodingFilter.doFilter(Char
acterEncodingFilter.java:67)
	
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(Delega
tingFilterProxy.java:236)
	
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFi
lterProxy.java:167)

root cause

java.lang.NoClassDefFoundError:
org/apache/commons/fileupload/ProgressListener
	java.lang.Class.forName0(Native Method)
	java.lang.Class.forName(Class.java:169)
	org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:74)
	org.owasp.esapi.ESAPI.httpUtilities(ESAPI.java:121)
	org.owasp.esapi.ESAPI.currentRequest(ESAPI.java:70)
	org.owasp.esapi.reference.Log4JLogger.log(Log4JLogger.java:434)
	
org.owasp.esapi.reference.Log4JLogger.warning(Log4JLogger.java:205)
	
org.owasp.esapi.reference.DefaultIntrusionDetector.addException(DefaultInt
rusionDetector.java:65)

But when I change ESAPI.properties like so I get a similar error.

ESAPI.Logger==org.apache.log4j.Logger

I'm sure I missed a configuration setting somewhere. Any ideas?

-Norm



More information about the Esapi-user mailing list