My Oracle Support Banner

Error Loading Login Page After Redeploying The Sites Web Application In Weblogic (Doc ID 2080026.1)

Last updated on OCTOBER 03, 2017

Applies to:

Oracle WebCenter Sites - Version 12.2.1.0.0 and later
Information in this document applies to any platform.

Symptoms

After redeploying the Sites web application, when loading the login page see the following errors in the browser:

Error 500--Internal Server Error

java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:74)
at org.owasp.esapi.ESAPI.validator(ESAPI.java:191)
at com.fatwire.wem.sso.cas.filter.CASFilter.getEncodedService(CASFilter.java:868)
at com.fatwire.wem.sso.cas.filter.CASFilter.getRedirectUrl(CASFilter.java:807)
at com.fatwire.wem.sso.cas.filter.CASFilter.sendResponse(CASFilter.java:677)
at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:598)
at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
at COM.FutureTense.Security.Common.ContentSecurityFilter.doFilter(ContentSecurityFilter.java:88)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:78)
...
Caused by: java.lang.ClassCastException: org.owasp.esapi.reference.Log4JLogger cannot be cast to org.owasp.esapi.Logger
at org.owasp.esapi.reference.Log4JLogFactory.getLogger(Log4JLogFactory.java:88)
at org.owasp.esapi.ESAPI.getLogger(ESAPI.java:154)
at org.owasp.esapi.reference.DefaultEncoder.(DefaultEncoder.java:75)
at org.owasp.esapi.reference.DefaultValidator.(DefaultValidator.java:91)
... 40 more


Or

Error 500--Internal Server Error

java.lang.NoClassDefFoundError: Could not initialize class org.owasp.esapi.reference.DefaultValidator
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.owasp.esapi.util.ObjFactory.make(ObjFactory.java:74)
at org.owasp.esapi.ESAPI.validator(ESAPI.java:191)
at com.fatwire.wem.sso.cas.filter.CASFilter.getEncodedService(CASFilter.java:868)
at com.fatwire.wem.sso.cas.filter.CASFilter.getRedirectUrl(CASFilter.java:807)
at com.fatwire.wem.sso.cas.filter.CASFilter.sendResponse(CASFilter.java:677)
at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:598)
at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
...

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.