Foren

Cannot load primefaces-portlet in Liferay 7.0!

thumbnail
Eric Chow, geändert vor 7 Jahren.

Cannot load primefaces-portlet in Liferay 7.0!

Junior Member Beiträge: 79 Beitrittsdatum: 25.02.05 Neueste Beiträge
Hello,

I download the Primefaces portlet with Liferay Faces Bridge-4.2.5 and deploy the WAR into the deploy folder of Liferay 7.0.
It deploy successfully but when I drag the portlet on the page. It failed to load. I did nothing just depoy the downloaded WAR. Is there any problem about using JSF2(Primefaces) portlet in the Liferay 7.0 ?

Furthermore, How can I add a JSF portlet module in the Liferay IDE 3.0? It seems just can add a mvcportlet module now?


Best regards,
Eric
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Eric,

Liferay 7 JSF portlets needs other Liferay Faces version scheme. You can read Neil's post about how to change those versions in your pom.xml.

Additionally, right now Liferay 7JSF portlets still doesn't have Liferay IDE support, so you would have to create them manually. For example you could take a look at primefaces demo portlet. In this case remember to compile using "liferay" Maven profile.
thumbnail
Eric Chow, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Junior Member Beiträge: 79 Beitrittsdatum: 25.02.05 Neueste Beiträge
Hi,

Thanks for your reply.

I tried to download the latest showcase from the github. And build it with maven.

I tried to put the jsf-showcase-portlet-5.0.0-SNAPSHOT.war into the deploy forlder in Liferay 7.0 but it cannot render any JSF components.


Furthermore, I tried to deploy the primefaces-applicant-portlet-5.0.0-SNAPSHOT.war, it shows some exception when deploy.


01:33:18,715 ERROR [http-nio-8080-exec-9][render_portlet_jsp:131] null
javax.faces.view.facelets.TagException: /WEB-INF/views/applicant.xhtml @34,52 <f:validateregex> Parent not an instance of EditableValueHolder: javax.faces.component.html.HtmlForm@79759d5d
	at com.sun.faces.facelets.tag.jsf.ValidatorTagHandlerDelegateImpl.applyNested(ValidatorTagHandlerDelegateImpl.java:235)
	at com.sun.faces.facelets.tag.jsf.ValidatorTagHandlerDelegateImpl.apply(ValidatorTagHandlerDelegateImpl.java:88)
	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
	at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
	at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)
	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
	at com.sun.faces.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:194)
	at com.sun.faces.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:93)
	at com.sun.faces.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:87)
	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:312)
	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:371)
	at com.sun.faces.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:350)
	at com.sun.faces.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:199)
	at com.sun.faces.facelets.tag.ui.IncludeHandler.apply(IncludeHandler.java:124)
	at javax.faces.view.facelets.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:95)
	at javax.faces.view.facelets.DelegatingMetaTagHandler.applyNextHandler(DelegatingMetaTagHandler.java:137)
	at com.sun.faces.facelets.tag.jsf.ComponentTagHandlerDelegateImpl.apply(ComponentTagHandlerDelegateImpl.java:202)
	at javax.faces.view.facelets.DelegatingMetaTagHandler.apply(DelegatingMetaTagHandler.java:120)

</f:validateregex>



Any idea on it? Please teach me. Thanks.

Best regards,
Eric
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Eric, so seems you didn't read the version scheme I've written before. If you would have done that, you would see that bride-impl 5.0,0 (master branch) is for Portlet 3.0, which doesn't apply to current Liferay 7.

Please, retry using bridge-impl 4.x branch, and remember to compile using liferay Maven profile. I just checked it is working fine.
thumbnail
Kyle Joseph Stiemann, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Master Beiträge: 760 Beitrittsdatum: 14.01.13 Neueste Beiträge
Hi Eric,
Sorry we don't have instructions for building the demos from source yet. I just sent a pull request to add instructions for building the demos for Liferay 7.0. Please follow those instructions, build the demo(s) from the bridge-impl 4.x branch, and let us know if that works.

- Kyle
thumbnail
Neil Griffin, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Legend Beiträge: 2655 Beitrittsdatum: 27.07.05 Neueste Beiträge
The PR has been merged for the updated README.md
thumbnail
Eric Chow, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Junior Member Beiträge: 79 Beitrittsdatum: 25.02.05 Neueste Beiträge
Hello,

Thanks for your information.
I re-download the sources from the github and build the sources following the instructions:

- mvn clean install -P liferay70 ( build successfully but
[WARNING] The requested profile "liferay70" could not be activated because it does not exist.
) When I start the Liferay 7.0, it got some errors. Please refer the liferay70.png for the libraries list that build by the maven.

09-May-2016 07:21:22.422 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 80748 ms
09-May-2016 07:21:23.761 SEVERE [http-nio-8080-exec-1] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
 java.lang.ClassNotFoundException: com.liferay.faces.bridge.BridgeFactoryFinder cannot be found by MyAnotherJSFPortletPlugin-portlet_7.0.0.1
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:444)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at com.liferay.faces.bridge.ext.filter.internal.RenderResponseBridgeLiferayImpl.<init>(RenderResponseBridgeLiferayImpl.java:41)
	at com.liferay.faces.bridge.ext.filter.internal.BridgePortletResponseFactoryLiferayImpl.getRenderResponse(BridgePortletResponseFactoryLiferayImpl.java:69)
	at com.liferay.faces.bridge.filter.BridgePortletResponseFactory.getRenderResponseInstance(BridgePortletResponseFactory.java:75)
	at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.<init>(BridgePhaseRenderImpl.java:75)
	at com.liferay.faces.bridge.internal.BridgePhaseFactoryImpl.getBridgeRenderPhase(BridgePhaseFactoryImpl.java:54)
	at com.liferay.faces.bridge.BridgePhaseFactory.getBridgeRenderPhaseInstance(BridgePhaseFactory.java:81)
	at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:120)
	at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:263)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:359)
	at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:212)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:68)
	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.FilterExceptionAdapter.doFilter(FilterExceptionAdapter.java:46)
	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:71)
	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:103)
	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:529)
	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:604)
	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:391)
	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:261)
	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1547)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
	at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:670)
	at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:144)
	at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:126)
	at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
	at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
	at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:126)
	at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:73)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:442)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:286)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:125)
	at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:747)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
	at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:168)
	at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:861)
	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:339)
	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:75)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:569)
	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:546)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.init.servlet.filter.InitFilter.processFilter(InitFilter.java:52)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:301)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:172)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:301)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:419)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:42)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:268)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:358)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)
</init></init>



- for using the bridge-4.2.5 (please refer to the bridge-4.2.5 for the libraries list), it throws the following errors

09-May-2016 07:30:22.487 INFO [localhost-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Spring FrameworkServlet 'Remoting Servlet'
09-May-2016 07:30:22.803 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\conf\Catalina\localhost\ROOT.xml has finished in 75,673 ms
09-May-2016 07:30:22.806 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
09-May-2016 07:30:22.816 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
09-May-2016 07:30:22.818 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 75733 ms
07:30:56,941 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
07:31:04,701 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509073104692INQHIEAQ\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
07:31:04,759 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantBackingBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantModelBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantViewBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ListModelBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\PortletPreferencesBackingBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto\City.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto\Province.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto\UploadedFileWrapper.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\util\FacesMessageUtil.class modified in the future.
  Warning: WEB-INF\classes\test\Car.class modified in the future.
  Warning: WEB-INF\classes\test\CarService.class modified in the future.
  Warning: WEB-INF\classes\test\ReorderView.class modified in the future.
  Warning: WEB-INF\lib\commons-fileupload-1.3.1.jar modified in the future.
  Warning: WEB-INF\lib\commons-io-2.2.jar modified in the future.
  Warning: WEB-INF\lib\jsf-api-2.2.13.jar modified in the future.
  Warning: WEB-INF\lib\jsf-impl-2.2.13.jar modified in the future.
  Warning: WEB-INF\lib\primefaces-5.3.jar modified in the future.
  Warning: WEB-INF\classes\com modified in the future.
  Warning: WEB-INF\classes\com\liferay modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\util modified in the future.
07:31:04,987 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509073104692INQHIEAQ\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war copied successfully
07:31:07,975 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509073104692INQHIEAQ\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
07:31:08,026 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
07:31:08,028 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:965] Updating MyAnotherJSFPortletPlugin from version 7.0.0.1 to version 7.0.0.1
07:31:08,222 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509073104692INQHIEAQ\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war copied successfully
07:31:13,625 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HotDeployImpl:222] Deploying MyAnotherJSFPortletPlugin-portlet from queue
07:31:13,625 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PluginPackageUtil:1006] Reading plugin package for MyAnotherJSFPortletPlugin-portlet
09-May-2016 07:31:13.629 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
07:31:13,636 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HookHotDeployListener:475] Registering hook for MyAnotherJSFPortletPlugin-portlet
07:31:13,650 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HookHotDeployListener:551] Hook for MyAnotherJSFPortletPlugin-portlet is available for use
07:31:13,651 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PortletHotDeployListener:202] Registering portlets for MyAnotherJSFPortletPlugin-portlet
07:31:14,857 INFO  [BridgeImpl] Initializing Liferay Faces Bridge 4.2.5-ga6 (Philippi / Aug 11, 2015 AD)
07:31:14,870 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PortletHotDeployListener:331] 1 portlet for MyAnotherJSFPortletPlugin-portlet is available for use
07:31:16,223 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BundleStartStopLogger:35] STARTED MyAnotherJSFPortletPlugin-portlet_7.0.0.1 [515]
09-May-2016 07:31:33.045 SEVERE [http-nio-8080-exec-3] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
 java.lang.ClassNotFoundException: com.liferay.portal.theme.ThemeDisplay cannot be found by MyAnotherJSFPortletPlugin-portlet_7.0.0.1
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:394)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at com.liferay.faces.bridge.context.internal.BridgePortalContextLiferayCompatImpl.isLiferayNamingspacingParameters(BridgePortalContextLiferayCompatImpl.java:47)
	at com.liferay.faces.bridge.context.internal.BridgePortalContextLiferayImpl.<init>(BridgePortalContextLiferayImpl.java:92)
	at com.liferay.faces.bridge.filter.internal.BridgePortletRequestFactoryImpl.getRenderRequest(BridgePortletRequestFactoryImpl.java:82)
	at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.<init>(BridgePhaseRenderImpl.java:77)
	at com.liferay.faces.bridge.internal.BridgePhaseFactoryImpl.getBridgeRenderPhase(BridgePhaseFactoryImpl.java:52)
	at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:133)
	at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:258)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:359)
	at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:207)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:68)
	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.FilterExceptionAdapter.doFilter(FilterExceptionAdapter.java:46)
	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:71)
	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:103)
	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:529)
	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:604)
	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:391)
	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:261)
	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1547)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
	at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:670)
	at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:144)
	at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:126)
	at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
	at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
	at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:126)
	at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:73)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:442)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:286)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:125)
	at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:747)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
	at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:168)
	at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:861)
	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:339)
	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:75)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:569)
	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:546)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:301)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:47)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:172)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmPostFilter.processFilter(NtlmPostFilter.java:107)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:301)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:47)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:268)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:260)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

</init></init>



All the testings are in Win7x64 (Java 8 + Liferay 7.0).
Please help!

Best regards,
Eric
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
hi Eric,

Eric Chow:

- mvn clean install -P liferay70


Please read the README carefully. There nothing says about specifying new Liferay version, just for older Liferay versions (like 62).

Please use -P liferay instead for Liferay 7.

Thanks.
thumbnail
Eric Chow, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Junior Member Beiträge: 79 Beitrittsdatum: 25.02.05 Neueste Beiträge
Hi Juan,


I tried
mvn clean install -P liferay
. But it still got shoe errors.


09-May-2016 09:43:53.864 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDescriptor Deployment of configuration descriptor D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\conf\Catalina\localhost\ROOT.xml has finished in 76,646 ms
09-May-2016 09:43:53.867 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
09-May-2016 09:43:53.878 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
09-May-2016 09:43:53.879 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 76695 ms
09:44:06,457 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing primefaces-applicant-portlet-5.0.0-SNAPSHOT.war
09:44:14,589 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509094414578RFKQWYQJ\primefaces-applicant-portlet-5.0.0-SNAPSHOT.war
09:44:14,646 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying primefaces-applicant-portlet-5.0.0-SNAPSHOT.war
  Warning: META-INF\MANIFEST.MF modified in the future.
  Warning: META-INF\maven\com.liferay.faces.bridge.demos\primefaces-applicant-portlet\pom.properties modified in the future.
  Warning: WEB-INF\classes\META-INF\NOTICE.txt modified in the future.
  Warning: WEB-INF\classes\META-INF\THIRD-PARTY.txt modified in the future.
  Warning: WEB-INF\classes\META-INF\apache-2.0.txt modified in the future.
  Warning: WEB-INF\classes\META-INF\cddl-1.0-gpl-2.0-cp.txt modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantBackingBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantModelBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantViewBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ListModelBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\bean\PortletPreferencesBackingBean.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto\City.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto\Province.class modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto\UploadedFileWrapper.class modified in the future.
  Warning: WEB-INF\classes\i18n.properties modified in the future.
  Warning: WEB-INF\classes\i18nFaces.properties modified in the future.
  Warning: WEB-INF\classes\log4j.properties modified in the future.
  Warning: WEB-INF\lib\liferay-faces-bridge-ext-5.0.0-20160506.211802-130.jar modified in the future.
  Warning: WEB-INF\lib\liferay-faces-bridge-impl-5.0.0-SNAPSHOT.jar modified in the future.
  Warning: META-INF\maven modified in the future.
  Warning: META-INF\maven\com.liferay.faces.bridge.demos modified in the future.
  Warning: WEB-INF\classes\com modified in the future.
  Warning: WEB-INF\classes\com\liferay modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos modified in the future.
  Warning: WEB-INF\classes\com\liferay\faces\demos\dto modified in the future.
09:44:15,648 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509094414578RFKQWYQJ\primefaces-applicant-portlet-5.0.0-SNAPSHOT.war copied successfully
09:44:19,768 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509094414578RFKQWYQJ\primefaces-applicant-portlet-5.0.0-SNAPSHOT.war
09:44:19,824 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying primefaces-applicant-portlet-5.0.0-SNAPSHOT.war
09:44:19,825 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:965] Updating primefaces-applicant from version 5.0.0-SNAPSHOT to version 5.0.0-SNAPSHOT
09:44:19,978 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160509094414578RFKQWYQJ\primefaces-applicant-portlet-5.0.0-SNAPSHOT.war copied successfully
09:44:26,537 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HotDeployImpl:222] Deploying primefaces-applicant-portlet-500-SNAPSHOT from queue
09:44:26,537 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PluginPackageUtil:1006] Reading plugin package for primefaces-applicant-portlet-500-SNAPSHOT
09-May-2016 09:44:26.541 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
09:44:26,545 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PortletHotDeployListener:202] Registering portlets for primefaces-applicant-portlet-500-SNAPSHOT
09:44:26,661 INFO  [BridgeImpl] Initializing Liferay Faces Bridge Implementation 5.0.0-SNAPSHOT (五月 9, 2016 AD)
09:44:26,731 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PortletHotDeployListener:331] 1 portlet for primefaces-applicant-portlet-500-SNAPSHOT is available for use
09:44:27,401 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BundleStartStopLogger:35] STARTED primefaces-applicant-portlet-5.0.0-SNAPSHOT_5.0.0.SNAPSHOT [518]
09:44:56,797 ERROR [http-nio-8080-exec-6][JSONAction:98] com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/faces/bridge/BridgeFactoryFinder
09:44:56,906 ERROR [http-nio-8080-exec-6][status_jsp:950] com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/faces/bridge/BridgeFactoryFinder
09:44:56,920 ERROR [liferay/monitoring-1][ParallelDestination:55] Unable to process message {destinationName=liferay/monitoring, response=null, responseDestinationName=null, responseId=null, payload=[{displayName=primefaces-applicant, portletId=1_WAR_primefacesapplicantportlet500SNAPSHOT_INSTANCE_0tVpBtqo5SZt, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=1, namespace=com.liferay.monitoring.Portlet, requestStatus=null, stopWatch=0:00:00.136, timeout=0, user=20250}}, {displayName=Product Menu, portletId=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=3, name=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.003, timeout=0, user=20250}}, {displayName=User Personal Bar, portletId=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=3, name=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.003, timeout=0, user=20250}}, {displayName=Search, portletId=com_liferay_portal_search_web_portlet_SearchPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=8, name=com_liferay_portal_search_web_portlet_SearchPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.008, timeout=0, user=20250}}, {displayName=Navigation, portletId=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=7, name=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.007, timeout=0, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=http://localhost:8080/html/common/themes/portal.jsp.jsp_display, statusCode=500, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=Portal Request, duration=95, name=/html/common/themes/portal.jsp, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.095, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=500, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=118, name=/c/portal/status, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.118, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=500, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=174, name=/c/portal/update_layout, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.174, timeout=-1, user=20250}}], values={defaultLocale=en_US, companyId=20202, groupId=0, principalName=20250, permissionChecker=com.liferay.portal.kernel.util.TransientValue@232863d5, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at com.liferay.portal.monitoring.internal.statistics.portlet.PortletStatistics.processDataSample(PortletStatistics.java:106)
	at com.liferay.portal.monitoring.internal.statistics.portlet.CompanyStatistics.processDataSample(CompanyStatistics.java:208)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:116)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:35)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.processDataSample(MonitoringMessageListener.java:93)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.doReceive(MonitoringMessageListener.java:120)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	... 5 more
09:45:05,337 ERROR [http-nio-8080-exec-3][status_jsp:950] com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/faces/bridge/BridgeFactoryFinder
09:45:05,345 ERROR [liferay/monitoring-1][ParallelDestination:55] Unable to process message {destinationName=liferay/monitoring, response=null, responseDestinationName=null, responseId=null, payload=[{displayName=Hello World, portletId=com_liferay_hello_world_web_portlet_HelloWorldPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=com_liferay_hello_world_web_portlet_HelloWorldPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.000, timeout=0, user=20250}}, {displayName=primefaces-applicant, portletId=1_WAR_primefacesapplicantportlet500SNAPSHOT_INSTANCE_0tVpBtqo5SZt, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=1, namespace=com.liferay.monitoring.Portlet, requestStatus=null, stopWatch=0:00:00.088, timeout=0, user=20250}}, {displayName=Product Menu, portletId=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=1, name=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.001, timeout=0, user=20250}}, {displayName=User Personal Bar, portletId=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=2, name=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.002, timeout=0, user=20250}}, {displayName=Search, portletId=com_liferay_portal_search_web_portlet_SearchPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=8, name=com_liferay_portal_search_web_portlet_SearchPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.008, timeout=0, user=20250}}, {displayName=Navigation, portletId=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=4, name=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.004, timeout=0, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=http://localhost:8080/html/common/themes/portal.jsp.jsp_display, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=Portal Request, duration=69, name=/html/common/themes/portal.jsp, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.069, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=87, name=/c/portal/status, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.087, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=119, name=/c/portal/layout, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.119, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=119, name=/web/guest, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.119, timeout=-1, user=20250}}], values={defaultLocale=en_US, companyId=20202, groupId=0, principalName=20250, permissionChecker=com.liferay.portal.kernel.util.TransientValue@7477f9bb, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at com.liferay.portal.monitoring.internal.statistics.portlet.PortletStatistics.processDataSample(PortletStatistics.java:106)
	at com.liferay.portal.monitoring.internal.statistics.portlet.CompanyStatistics.processDataSample(CompanyStatistics.java:208)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:116)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:35)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.processDataSample(MonitoringMessageListener.java:93)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.doReceive(MonitoringMessageListener.java:120)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	... 5 more
09:45:05,446 ERROR [http-nio-8080-exec-9][status_jsp:950] com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/faces/bridge/BridgeFactoryFinder
09:45:05,453 ERROR [liferay/monitoring-1][ParallelDestination:55] Unable to process message {destinationName=liferay/monitoring, response=null, responseDestinationName=null, responseId=null, payload=[{displayName=Hello World, portletId=com_liferay_hello_world_web_portlet_HelloWorldPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=com_liferay_hello_world_web_portlet_HelloWorldPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.000, timeout=0, user=20250}}, {displayName=primefaces-applicant, portletId=1_WAR_primefacesapplicantportlet500SNAPSHOT_INSTANCE_0tVpBtqo5SZt, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=1, namespace=com.liferay.monitoring.Portlet, requestStatus=null, stopWatch=0:00:00.084, timeout=0, user=20250}}, {displayName=Product Menu, portletId=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=2, name=com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.002, timeout=0, user=20250}}, {displayName=User Personal Bar, portletId=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=2, name=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.002, timeout=0, user=20250}}, {displayName=Search, portletId=com_liferay_portal_search_web_portlet_SearchPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=7, name=com_liferay_portal_search_web_portlet_SearchPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.007, timeout=0, user=20250}}, {displayName=Navigation, portletId=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=5, name=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.005, timeout=0, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=http://localhost:8080/html/common/themes/portal.jsp.jsp_display, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=Portal Request, duration=64, name=/html/common/themes/portal.jsp, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.064, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=81, name=/c/portal/status, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.081, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=99, name=/c/portal/layout, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.099, timeout=-1, user=20250}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=100, name=/web/guest, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.100, timeout=-1, user=20250}}], values={defaultLocale=en_US, companyId=20202, groupId=0, principalName=20250, permissionChecker=com.liferay.portal.kernel.util.TransientValue@be4cd7c, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at com.liferay.portal.monitoring.internal.statistics.portlet.PortletStatistics.processDataSample(PortletStatistics.java:106)
	at com.liferay.portal.monitoring.internal.statistics.portlet.CompanyStatistics.processDataSample(CompanyStatistics.java:208)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:116)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:35)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.processDataSample(MonitoringMessageListener.java:93)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.doReceive(MonitoringMessageListener.java:120)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	... 5 more



Thanks.
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Hi Eric, again, you should use the right version according to the Liferay Faces version scheme.

Read some previous comment: https://web.liferay.com/community/forums/-/message_boards/view_message/73978465#_19_message_73903984
thumbnail
Eric Chow, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Junior Member Beiträge: 79 Beitrittsdatum: 25.02.05 Neueste Beiträge
Hi Juan,

In the Liferay faces version schemes, there isn't any bridge for Liferay Portal 7.0 right now, Right?

But in the https://github.com/liferay/liferay-faces-bridge-impl, there is a note:

* Note: Some versions of the bridge are compatible with multiple versions of Liferay. For example, the Liferay Faces Bridge 4.x version is compatible with both Liferay 7.0 and Liferay 6.2. To build demos for older versions of Liferay, specify the version in the profile. For example, specify -P liferay62 to build a demo for Liferay 6.2. See the Liferay Faces Version Scheme for more details on the bridge's compatibility with Liferay versions.


I tried to using the 4.2.5 bridge in Liferay 7.0, but still get some errors.


10-May-2016 00:25:40.022 SEVERE [http-nio-8080-exec-5] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
java.lang.ClassNotFoundException: com.liferay.portal.theme.ThemeDisplay cannot be found by MyAnotherJSFPortletPlugin-portlet_7.0.0.1
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:394)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at com.liferay.faces.bridge.context.internal.BridgePortalContextLiferayCompatImpl.isLiferayNamingspacingParameters(BridgePortalContextLiferayCompatImpl.java:47)
at com.liferay.faces.bridge.context.internal.BridgePortalContextLiferayImpl.<init>(BridgePortalContextLiferayImpl.java:92)
at com.liferay.faces.bridge.filter.internal.BridgePortletRequestFactoryImpl.getRenderRequest(BridgePortletRequestFactoryImpl.java:82)
at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.<init>(BridgePhaseRenderImpl.java:77)
at com.liferay.faces.bridge.internal.BridgePhaseFactoryImpl.getBridgeRenderPhase(BridgePhaseFactoryImpl.java:52)
at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:133)
at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:258)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:359)
at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:207)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)



00:25:14,510 INFO  [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
00:25:24,014 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510242524003IXGVYAXC\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
00:25:24,093 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
00:25:24,367 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510242524003IXGVYAXC\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war copied successfully
00:25:27,715 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510242524003IXGVYAXC\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
00:25:27,770 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
00:25:27,772 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:965] Updating MyAnotherJSFPortletPlugin from version 7.0.0.1 to version 7.0.0.1
00:25:27,976 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510242524003IXGVYAXC\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war copied successfully
00:25:33,965 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HotDeployImpl:222] Deploying MyAnotherJSFPortletPlugin-portlet from queue
00:25:33,966 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PluginPackageUtil:1006] Reading plugin package for MyAnotherJSFPortletPlugin-portlet
10-May-2016 00:25:33.971 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
00:25:33,983 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HookHotDeployListener:475] Registering hook for MyAnotherJSFPortletPlugin-portlet
00:25:34,001 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][HookHotDeployListener:551] Hook for MyAnotherJSFPortletPlugin-portlet is available for use
00:25:34,002 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PortletHotDeployListener:202] Registering portlets for MyAnotherJSFPortletPlugin-portlet
00:25:35,154 INFO  [BridgeImpl] Initializing Liferay Faces Bridge 4.2.5-ga6 (Philippi / Aug 11, 2015 AD)
00:25:35,172 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][PortletHotDeployListener:331] 1 portlet for MyAnotherJSFPortletPlugin-portlet is available for use
00:25:36,329 INFO  [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BundleStartStopLogger:35] STARTED MyAnotherJSFPortletPlugin-portlet_7.0.0.1 [522]
10-May-2016 00:25:40.022 SEVERE [http-nio-8080-exec-5] org.apache.catalina.core.ApplicationDispatcher.invoke Servlet.service() for servlet jsp threw exception
 java.lang.ClassNotFoundException: com.liferay.portal.theme.ThemeDisplay cannot be found by MyAnotherJSFPortletPlugin-portlet_7.0.0.1
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:394)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:357)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:349)
	at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:160)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at com.liferay.faces.bridge.context.internal.BridgePortalContextLiferayCompatImpl.isLiferayNamingspacingParameters(BridgePortalContextLiferayCompatImpl.java:47)
	at com.liferay.faces.bridge.context.internal.BridgePortalContextLiferayImpl.<init>(BridgePortalContextLiferayImpl.java:92)
	at com.liferay.faces.bridge.filter.internal.BridgePortletRequestFactoryImpl.getRenderRequest(BridgePortletRequestFactoryImpl.java:82)
	at com.liferay.faces.bridge.internal.BridgePhaseRenderImpl.<init>(BridgePhaseRenderImpl.java:77)
	at com.liferay.faces.bridge.internal.BridgePhaseFactoryImpl.getBridgeRenderPhase(BridgePhaseFactoryImpl.java:52)
	at com.liferay.faces.bridge.internal.BridgeImpl.doFacesRequest(BridgeImpl.java:133)
	at javax.portlet.faces.GenericFacesPortlet.doView(GenericFacesPortlet.java:258)
	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:359)
	at javax.portlet.faces.GenericFacesPortlet.doDispatch(GenericFacesPortlet.java:207)
	at javax.portlet.GenericPortlet.render(GenericPortlet.java:262)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:103)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portlet.ScriptDataPortletFilter.doFilter(ScriptDataPortletFilter.java:57)
	at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:100)
	at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:64)
	at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:105)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.ServletExceptionAdapter.service(ServletExceptionAdapter.java:68)
	at org.eclipse.equinox.http.servlet.internal.registration.EndpointRegistration.service(EndpointRegistration.java:153)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:50)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at com.liferay.portal.osgi.web.wab.extender.internal.adapter.FilterExceptionAdapter.doFilter(FilterExceptionAdapter.java:46)
	at org.eclipse.equinox.http.servlet.internal.registration.FilterRegistration.doFilter(FilterRegistration.java:121)
	at org.eclipse.equinox.http.servlet.internal.servlet.FilterChainImpl.doFilter(FilterChainImpl.java:45)
	at org.eclipse.equinox.http.servlet.internal.servlet.ResponseStateHandler.processRequest(ResponseStateHandler.java:71)
	at org.eclipse.equinox.http.servlet.internal.context.DispatchTargets.doDispatch(DispatchTargets.java:103)
	at org.eclipse.equinox.http.servlet.internal.servlet.RequestDispatcherAdaptor.include(RequestDispatcherAdaptor.java:48)
	at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:529)
	at com.liferay.portlet.InvokerPortletImpl.invokeRender(InvokerPortletImpl.java:604)
	at com.liferay.portlet.InvokerPortletImpl.render(InvokerPortletImpl.java:391)
	at com.liferay.portal.monitoring.internal.portlet.MonitoringInvokerPortlet.render(MonitoringInvokerPortlet.java:261)
	at org.apache.jsp.html.portal.render_005fportlet_jsp._jspService(render_005fportlet_jsp.java:1547)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at com.liferay.portal.servlet.DirectRequestDispatcher.include(DirectRequestDispatcher.java:64)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
	at com.liferay.portlet.PortletContainerImpl._doRender(PortletContainerImpl.java:670)
	at com.liferay.portlet.PortletContainerImpl.render(PortletContainerImpl.java:144)
	at com.liferay.portlet.SecurityPortletContainerWrapper.render(SecurityPortletContainerWrapper.java:126)
	at com.liferay.portlet.RestrictPortletContainerWrapper.render(RestrictPortletContainerWrapper.java:126)
	at com.liferay.portal.kernel.portlet.PortletContainerUtil.render(PortletContainerUtil.java:155)
	at com.liferay.portal.layoutconfiguration.util.PortletRenderer._render(PortletRenderer.java:126)
	at com.liferay.portal.layoutconfiguration.util.PortletRenderer.render(PortletRenderer.java:73)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doProcessTemplate(RuntimePageImpl.java:442)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.doDispatch(RuntimePageImpl.java:286)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:113)
	at com.liferay.portal.layoutconfiguration.util.RuntimePageImpl.processTemplate(RuntimePageImpl.java:125)
	at com.liferay.portal.kernel.layoutconfiguration.util.RuntimePageUtil.processTemplate(RuntimePageUtil.java:70)
	at org.apache.jsp.html.portal.layout.view.portlet_jsp._jspService(portlet_jsp.java:747)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:438)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:584)
	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:523)
	at com.liferay.portal.servlet.DirectServletPathRegisterDispatcher.include(DirectServletPathRegisterDispatcher.java:67)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.doDispatch(ClassLoaderRequestDispatcherWrapper.java:78)
	at com.liferay.portal.servlet.ClassLoaderRequestDispatcherWrapper.include(ClassLoaderRequestDispatcherWrapper.java:53)
	at com.liferay.portal.model.impl.LayoutTypeControllerImpl.includeLayoutContent(LayoutTypeControllerImpl.java:168)
	at com.liferay.portal.model.impl.LayoutImpl.includeLayoutContent(LayoutImpl.java:861)
	at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:339)
	at com.liferay.portal.action.LayoutAction.doExecute(LayoutAction.java:178)
	at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:75)
	at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:425)
	at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:228)
	at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:169)
	at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1913)
	at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:449)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:569)
	at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:546)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:301)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:47)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:720)
	at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:466)
	at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:391)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:318)
	at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:172)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:119)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.monitoring.internal.servlet.filter.MonitoringFilter.processFilter(MonitoringFilter.java:180)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.security.sso.ntlm.internal.servlet.filter.NtlmPostFilter.processFilter(NtlmPostFilter.java:107)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.uploadservletrequest.UploadServletRequestFilter.processFilter(UploadServletRequestFilter.java:93)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:336)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.gzip.GZipFilter.processFilter(GZipFilter.java:125)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:301)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:254)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:419)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:86)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.jsoncontenttype.JSONContentTypeFilter.processFilter(JSONContentTypeFilter.java:47)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:268)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:88)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:142)
	at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:260)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:176)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:394)
	at com.liferay.portal.servlet.filters.urlrewrite.UrlRewriteFilter.processFilter(UrlRewriteFilter.java:65)
	at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:48)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:207)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:112)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:168)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:188)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:96)
	at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:115)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

00:25:40,258 ERROR [http-nio-8080-exec-5][status_jsp:950] javax.servlet.ServletException: com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/portal/theme/ThemeDisplay
00:25:40,291 ERROR [liferay/monitoring-1][ParallelDestination:55] Unable to process message {destinationName=liferay/monitoring, response=null, responseDestinationName=null, responseId=null, payload=[{displayName=Hello World, portletId=com_liferay_hello_world_web_portlet_HelloWorldPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=1, name=com_liferay_hello_world_web_portlet_HelloWorldPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.001, timeout=0, user=null}}, {displayName=MyAnotherJSFPortletPlugin, portletId=MyAnotherJSFPortletPlugin_WAR_MyAnotherJSFPortletPluginportlet_INSTANCE_5xoaSDMtfkVM, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=MyAnotherJSFPortletPlugin, namespace=com.liferay.monitoring.Portlet, requestStatus=null, stopWatch=0:00:00.280, timeout=0, user=null}}, {displayName=User Personal Bar, portletId=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=6, name=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.006, timeout=0, user=null}}, {displayName=Search, portletId=com_liferay_portal_search_web_portlet_SearchPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=57, name=com_liferay_portal_search_web_portlet_SearchPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.057, timeout=0, user=null}}, {displayName=Navigation, portletId=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=18, name=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.018, timeout=0, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=http://localhost:8080/html/common/themes/portal.jsp.jsp_display, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=Portal Request, duration=229, name=/html/common/themes/portal.jsp, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.229, timeout=-1, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=261, name=/c/portal/status, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.261, timeout=-1, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=357, name=/c/portal/layout, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.357, timeout=-1, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=361, name=/web/guest, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.361, timeout=-1, user=null}}], values={defaultLocale=en_US, companyId=20202, groupId=0, principalName=20205, permissionChecker=com.liferay.portal.kernel.util.TransientValue@129004f5, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at com.liferay.portal.monitoring.internal.statistics.portlet.PortletStatistics.processDataSample(PortletStatistics.java:106)
	at com.liferay.portal.monitoring.internal.statistics.portlet.CompanyStatistics.processDataSample(CompanyStatistics.java:208)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:116)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:35)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.processDataSample(MonitoringMessageListener.java:93)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.doReceive(MonitoringMessageListener.java:120)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	... 5 more
00:25:40,458 ERROR [http-nio-8080-exec-9][status_jsp:950] com.liferay.portal.kernel.portlet.PortletContainerException: com.liferay.portal.kernel.portlet.PortletContainerException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/liferay/portal/theme/ThemeDisplay
00:25:40,465 ERROR [liferay/monitoring-1][ParallelDestination:55] Unable to process message {destinationName=liferay/monitoring, response=null, responseDestinationName=null, responseId=null, payload=[{displayName=Hello World, portletId=com_liferay_hello_world_web_portlet_HelloWorldPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=1, name=com_liferay_hello_world_web_portlet_HelloWorldPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.001, timeout=0, user=null}}, {displayName=MyAnotherJSFPortletPlugin, portletId=MyAnotherJSFPortletPlugin_WAR_MyAnotherJSFPortletPluginportlet_INSTANCE_5xoaSDMtfkVM, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=0, name=MyAnotherJSFPortletPlugin, namespace=com.liferay.monitoring.Portlet, requestStatus=null, stopWatch=0:00:00.110, timeout=0, user=null}}, {displayName=User Personal Bar, portletId=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=1, name=com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.001, timeout=0, user=null}}, {displayName=Search, portletId=com_liferay_portal_search_web_portlet_SearchPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=14, name=com_liferay_portal_search_web_portlet_SearchPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.014, timeout=0, user=null}}, {displayName=Navigation, portletId=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, requestType=RENDER, {attributes=null, companyId=20202, groupId=20233, description=null, duration=5, name=com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet, namespace=com.liferay.monitoring.Portlet, requestStatus=SUCCESS, stopWatch=0:00:00.005, timeout=0, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=http://localhost:8080/html/common/themes/portal.jsp.jsp_display, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=Portal Request, duration=81, name=/html/common/themes/portal.jsp, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.081, timeout=-1, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=108, name=/c/portal/status, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.108, timeout=-1, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=158, name=/c/portal/layout, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.158, timeout=-1, user=null}}, {referer=http://localhost:8080/web/guest, remoteAddr=127.0.0.1, requestURL=, statusCode=400, userAgent=Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko, {attributes=null, companyId=20202, groupId=20233, description=null, duration=159, name=/web/guest, namespace=com.liferay.monitoring.Portal, requestStatus=SUCCESS, stopWatch=0:00:00.159, timeout=-1, user=null}}], values={defaultLocale=en_US, companyId=20202, groupId=0, principalName=20205, permissionChecker=com.liferay.portal.kernel.util.TransientValue@4512eb8d, siteDefaultLocale=en_US, themeDisplayLocale=en_US}}
com.liferay.portal.kernel.messaging.MessageListenerException: java.lang.NullPointerException
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:32)
	at com.liferay.portal.kernel.messaging.InvokerMessageListener.receive(InvokerMessageListener.java:74)
	at com.liferay.portal.kernel.messaging.ParallelDestination$1.run(ParallelDestination.java:52)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask._runTask(ThreadPoolExecutor.java:756)
	at com.liferay.portal.kernel.concurrent.ThreadPoolExecutor$WorkerTask.run(ThreadPoolExecutor.java:667)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at com.liferay.portal.monitoring.internal.statistics.portlet.PortletStatistics.processDataSample(PortletStatistics.java:106)
	at com.liferay.portal.monitoring.internal.statistics.portlet.CompanyStatistics.processDataSample(CompanyStatistics.java:208)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:116)
	at com.liferay.portal.monitoring.internal.statistics.portlet.ServerStatistics.processDataSample(ServerStatistics.java:35)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.processDataSample(MonitoringMessageListener.java:93)
	at com.liferay.portal.monitoring.internal.messaging.MonitoringMessageListener.doReceive(MonitoringMessageListener.java:120)
	at com.liferay.portal.kernel.messaging.BaseMessageListener.receive(BaseMessageListener.java:26)
	... 5 more

</init></init>


Please see the image for my library list in the WEB-INF/lib.


Furthermore, if I add the liferay-faces-portal-4.2.5.jar in the WEB-INF/lib, it raises the following exception:


02:23:07,924 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:250] Processing MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
02:23:13,370 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BundleStartStopLogger:38] STOPPED MyAnotherJSFPortletPlugin-portlet_7.0.0.1 [536]
02:23:13,388 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510022313374TMGLOQPU\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
02:23:13,449 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantBackingBean.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantModelBean.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ApplicantViewBean.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\bean\ListModelBean.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\bean\PortletPreferencesBackingBean.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\dto\City.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\dto\Province.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\dto\UploadedFileWrapper.class modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\util\FacesMessageUtil.class modified in the future.
Warning: WEB-INF\classes\test\Car.class modified in the future.
Warning: WEB-INF\classes\test\CarService.class modified in the future.
Warning: WEB-INF\classes\test\ReorderView.class modified in the future.
Warning: WEB-INF\lib\liferay-faces-bridge-api-4.2.5-ga6.jar modified in the future.
Warning: WEB-INF\lib\liferay-faces-bridge-impl-4.2.5-ga6.jar modified in the future.
Warning: WEB-INF\lib\liferay-faces-portal-4.2.5-ga6.jar modified in the future.
Warning: WEB-INF\lib\liferay-faces-util-4.2.5-ga6.jar modified in the future.
Warning: WEB-INF\classes\com modified in the future.
Warning: WEB-INF\classes\com\liferay modified in the future.
Warning: WEB-INF\classes\com\liferay\faces modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\dto modified in the future.
Warning: WEB-INF\classes\com\liferay\faces\demos\util modified in the future.
02:23:13,697 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510022313374TMGLOQPU\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war copied successfully
02:23:16,345 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:42] Copying portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510022313374TMGLOQPU\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
02:23:16,405 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:860] Deploying MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war
02:23:16,407 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseDeployer:965] Updating MyAnotherJSFPortletPlugin from version 7.0.0.1 to version 7.0.0.1
02:23:16,616 INFO [fileinstall-D:/Projects/workspace/internalportal/DSEInternalPortal/bundles/osgi/war][BaseAutoDeployListener:50] Portlets for D:\Projects\workspace\internalportal\DSEInternalPortal\bundles\tomcat-8.0.32\temp\20160510022313374TMGLOQPU\MyAnotherJSFPortletPlugin-portlet-7.0.0.1.war copied successfully
02:23:20,405 INFO [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123][BundleStartStopLogger:35] STARTED MyAnotherJSFPortletPlugin-portlet_7.0.0.1 [536]
02:23:23,752 INFO [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123][HotDeployImpl:222] Deploying MyAnotherJSFPortletPlugin-portlet from queue
02:23:23,754 INFO [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123][PluginPackageUtil:1006] Reading plugin package for MyAnotherJSFPortletPlugin-portlet
10-May-2016 02:23:23.759 INFO [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123] org.apache.catalina.core.ApplicationContext.log Initializing Spring root WebApplicationContext
02:23:23,764 INFO [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123][PortletHotDeployListener:202] Registering portlets for MyAnotherJSFPortletPlugin-portlet
02:23:24,874 INFO [BridgeImpl] Initializing Liferay Faces Bridge 4.2.5-ga6 (Philippi / Aug 11, 2015 AD)
02:23:24,888 INFO [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123][PortletHotDeployListener:331] 1 portlet for MyAnotherJSFPortletPlugin-portlet is available for use
02:23:25,438 ERROR [Refresh Thread: Equinox Container: 502bb293-5416-0016-1b2c-dc62a461a123][com_liferay_portal_osgi_web_wab_extender:97] Catastrophic initialization failure! Shutting down MyAnotherJSFPortletPlugin-portlet WAB due to: java.lang.NoClassDefFoundError: Lcom/liferay/portal/model/User;
java.lang.RuntimeException: java.lang.NoClassDefFoundError: Lcom/liferay/portal/model/User;
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.GeneratedMethodAccessor463.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.http.servlet.internal.registration.ListenerRegistration$EventListenerInvocationHandler.invoke(ListenerRegistration.java:132)
at com.sun.proxy.$Proxy500.contextInitialized(Unknown Source)
at org.eclipse.equinox.http.servlet.internal.context.ContextController.doAddListenerRegistration(ContextController.java:359)
at org.eclipse.equinox.http.servlet.internal.context.ContextController.addListenerRegistration(ContextController.java:312)



Thanks.
thumbnail
Juan Gonzalez, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Legend Beiträge: 3089 Beitrittsdatum: 28.10.08 Neueste Beiträge
Eric Chow:

In the Liferay faces version schemes, there isn't any bridge for Liferay Portal 7.0 right now, Right?


As I said some posts ago, you have to read the Liferay Faces version scheme carefully. Please read it: https://dev.liferay.com/develop/tutorials/-/knowledge_base/6-2/understanding-the-liferay-faces-version-scheme#liferay-faces-version-scheme-for-releases-after-liferay-faces-ga6.

Eric Chow:

* Note: Some versions of the bridge are compatible with multiple versions of Liferay. For example, the Liferay Faces Bridge 4.x version is compatible with both Liferay 7.0 and Liferay 6.2. To build demos for older versions of Liferay, specify the version in the profile. For example, specify -P liferay62 to build a demo for Liferay 6.2. See the Liferay Faces Version Scheme for more details on the bridge's compatibility with Liferay versions.


Don't know what do you mean by this. Already said you should use -P liferay.

Eric, please read all of this carefully. Is not that tough emoticon.
thumbnail
Kyle Joseph Stiemann, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Liferay Master Beiträge: 760 Beitrittsdatum: 14.01.13 Neueste Beiträge
Hi Eric,

If you just want to test out the primefaces-applicant-portlet, you can try downloading a SNAPSHOT of it.

If a SNAPSHOT is not enough, and you need to build the primefaces-applicant-portlet from source for Liferay 7.0:

1. Clone the liferay-faces-bridge-impl repo:

git clone https://github.com/liferay/liferay-faces-bridge-impl.git

2. Checkout the 4.x branch.

git checkout 4.x

3. Navigate to the primefaces-applicant-portlet:

cd demos/primefaces-applicant-portlet

4. Build the portlet for Liferay 7.0:

mvn clean install -P liferay

5. Copy the portlet to Liferay 7.0's deploy/ folder:

cp target/primefaces-applicant-portlet-4.0.0-SNAPSHOT.war $LIFERAY_70_HOME/deploy/

Please let us know if you have any other issues.

- Kyle
thumbnail
Eric Chow, geändert vor 7 Jahren.

RE: Cannot load primefaces-portlet in Liferay 7.0!

Junior Member Beiträge: 79 Beitrittsdatum: 25.02.05 Neueste Beiträge
Hi Kyle,

Thank you very much. It works fine.

Best regards,
Eric