-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 7.0.1 CE GA2
-
Fix Version/s: None
-
Component/s: Core Infrastructure, Core Infrastructure > Wab Extender
-
Labels:None
Problem Background
LPS-65488 fixed a problem that manifested itself on WildFly. The solution was to make the com.sun.* wildcard to be less inclusive by changing it to com.sun.ccpp.*, com.sun.crypto.*, com.sun.el, com.sun.el.*.
However, on WebLogic com.sun.el, com.sun.el.* must not be included in the value.
Steps to Reproduce:
1. Start WebLogic 12c R2
2. Deploy the jsf-applicant-portlet (see attachment)
Expected Results
No errors appear in the log and the portlet can be added to a portal page.
Actual Results
The following appears in the WebLogic server log:
<Aug 18, 2016 12:16:43 PM EDT> <Error> <osgi.logging.com_liferay_portal_osgi_web_wab_extender> <BEA-000000> <Catastrophic initialization failure! Shutting down comliferayfacesdemojsfapplicantportlet WAB due to: java.lang.ClassCastException: com.sun.el.ExpressionFactoryImpl cannot be cast to javax.el.ExpressionFactory java.lang.RuntimeException: java.lang.ClassCastException: com.sun.el.ExpressionFactoryImpl cannot be cast to javax.el.ExpressionFactory at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:292) at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletContextListenerExceptionAdapter.contextInitialized(ServletContextListenerExceptionAdapter.java:51) at sun.reflect.GeneratedMethodAccessor961.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) Truncated. see log file for complete stacktrace Caused By: java.lang.ClassCastException: com.sun.el.ExpressionFactoryImpl cannot be cast to javax.el.ExpressionFactory at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:197) at javax.el.ExpressionFactory.newInstance(ExpressionFactory.java:168) at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:108) at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:725) at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:243) Truncated. see log file for complete stacktrace
- duplicates
-
LPS-65488 The module framework boot delegation permits com.sun.* which is too broad
- Closed