Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Jose Alvarez de Lara
liferay on glassfish-3.1.2.2
December 20, 2012 3:17 PM
Answer

Jose Alvarez de Lara

Rank: Junior Member

Posts: 45

Join Date: December 10, 2012

Recent Posts

Hi,

I have Liferay 6.1 CE GA2 installed on Glassfish 3.1.2.2 and I am having some problems with my configuration.
I have developed a portlet based on jsf2-portlet example that acces a MySQL database using JDBC having its
default configuration. On rendering from de view mode to confirmation I get the following exception,

INFO: 22:33:40,392 DEBUG [HeadPhaseListener:61] After INVOKE_APPLICATION: viewId=[/views/portletViewMode.xhtml]

INFO: 22:33:40,404 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/jsf.js?ln=javax.faces&stage=Development]

INFO: 22:33:40,406 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[jsf.js]

INFO: 22:33:40,407 DEBUG [PortletContainerImpl:388] Copied parameter to portletURL name= value=[javax.faces]

INFO: 22:33:40,408 DEBUG [PortletContainerImpl:388] Copied parameter to portletURL name= value=

INFO: 22:33:40,410 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/icepush.uncompressed.js]

INFO: 22:33:40,411 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[icepush.uncompressed.js]

INFO: 22:33:40,413 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/bridge.uncompressed.js]

INFO: 22:33:40,414 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[bridge.uncompressed.js]

INFO: 22:33:40,421 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/liferay-logo.png?ln=example]

INFO: 22:33:40,422 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[liferay-logo.png]

INFO: 22:33:40,423 DEBUG [PortletContainerImpl:388] Copied parameter to portletURL name= value=

INFO: 22:33:40,426 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/portletViewMode.xhtml] is extension-mapped to urlPattern=[*.xhtml]

INFO: 22:33:40,427 DEBUG [PortletContainerImpl:107] createActionURL fromURL=[/icefaces3-portlet-3/views/portletViewMode.xhtml?_facesViewIdRender=/views/portletViewMode.xhtml]

INFO: 22:33:40,428 DEBUG [PortletContainerImpl:388] Copied parameter to portletURL name=[_facesViewIdRender] value=[/views/portletViewMode.xhtml]

INFO: 22:33:40,430 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/portletViewMode.xhtml] is extension-mapped to urlPattern=[*.xhtml]

INFO: 22:33:40,431 DEBUG [PortletContainerImpl:124] createPartialActionURL fromURL=[/icefaces3-portlet-3/views/portletViewMode.xhtml?_jsfBridgeAjax=true&_facesViewIdResource=/views/portletViewMode.xhtml]

INFO: 22:33:40,432 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/views/portletViewMode.xhtml?_jsfBridgeAjax=true&_facesViewIdResource=/views/portletViewMode.xhtml]

INFO: 22:33:40,433 DEBUG [PortletContainerImpl:388] Copied parameter to portletURL name=[_jsfBridgeAjax] value=

INFO: 22:33:40,434 DEBUG [PortletContainerImpl:388] Copied parameter to portletURL name=[_facesViewIdResource] value=[/views/portletViewMode.xhtml]

INFO: 22:33:40,445 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/portletViewMode.xhtml] is extension-mapped to urlPattern=[*.xhtml]

INFO: 22:33:40,446 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/portletViewMode.xhtml] is extension-mapped to urlPattern=[*.xhtml]

INFO: 22:33:40,447 DEBUG [PortletContainerImpl:124] createPartialActionURL fromURL=[/icefaces3-portlet-3/views/portletViewMode.xhtml?_jsfBridgeAjax=true&_facesViewIdResource=/views/portletViewMode.xhtml]

INFO: 22:33:40,449 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/portletViewMode.xhtml] is extension-mapped to urlPattern=[*.xhtml]

INFO: 22:33:40,451 DEBUG [FacesViewImpl:90] Attempting to determine if viewId=[/views/portletViewMode.xhtml] is extension-mapped to urlPattern=[*.xhtml]

INFO: 22:33:40,453 DEBUG [PortletContainerImpl:124] createPartialActionURL fromURL=[/icefaces3-portlet-3/views/portletViewMode.xhtml?_jsfBridgeAjax=true&_facesViewIdResource=/views/portletViewMode.xhtml]

INFO: 22:33:40,458 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[com.icesoft.faces.component.JavaScriptContextSetup$1]

INFO: 22:33:40,459 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[org.icefaces.impl.event.JavaScriptRunnerSetup$1]

INFO: 22:33:40,460 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[org.icefaces.impl.event.BridgeSetup$1]

INFO: 22:33:40,464 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/listen.icepush.xml]

INFO: 22:33:40,466 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[listen.icepush.xml]

INFO: 22:33:40,467 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/create-push-id.icepush.txt]

INFO: 22:33:40,468 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[create-push-id.icepush.txt]

INFO: 22:33:40,469 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/notify.icepush.txt]

INFO: 22:33:40,470 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[notify.icepush.txt]

INFO: 22:33:40,471 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/add-group-member.icepush.txt]

INFO: 22:33:40,472 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[add-group-member.icepush.txt]

INFO: 22:33:40,473 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/remove-group-member.icepush.txt]

INFO: 22:33:40,474 DEBUG [PortletContainerImpl:244] Added parameter to portletURL name=[javax.faces.resource] value=[remove-group-member.icepush.txt]

INFO: 22:33:40,479 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[org.icefaces.impl.event.BridgeSetup$2]

INFO: 22:33:40,481 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[com.icesoft.faces.application.ExtrasSetup$2]

WARNING: queued exception
java.lang.NullPointerException
at com.liferay.faces.bridge.container.liferay.PortletContainerLiferayCompatImpl.beforePhase(PortletContainerLiferayCompatImpl.java:131)
at com.liferay.faces.bridge.event.PortletContainerProxyPhaseListener.beforePhase(PortletContainerProxyPhaseListener.java:50)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:45)
at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:117)
at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

INFO: 22:33:40,518 ERROR [ExceptionHandlerAjaxImpl:62]
java.lang.NullPointerException
at com.liferay.faces.bridge.container.liferay.PortletContainerLiferayCompatImpl.beforePhase(PortletContainerLiferayCompatImpl.java:131)
at com.liferay.faces.bridge.event.PortletContainerProxyPhaseListener.beforePhase(PortletContainerProxyPhaseListener.java:50)
at com.sun.faces.lifecycle.Phase.handleBeforePhase(Phase.java:228)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:99)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:45)
at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:117)
at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:118)
at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:111)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:531)
at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:626)
at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:436)
at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:1075)
at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:719)
at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:249)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:176)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:688)
at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:560)
at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:537)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:807)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:671)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:505)
at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:476)
at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:355)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:305)
at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:138)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:770)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1550)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:72)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:294)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:241)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFil
INFO: terChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:246)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:83)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:80)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:163)
at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:216)
at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:57)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDoFilter(InvokerFilterChain.java:206)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:108)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:167)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:116)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.processDirectCallFilter(InvokerFilterChain.java:187)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilterChain.doFilter(InvokerFilterChain.java:95)
at com.liferay.portal.kernel.servlet.filters.invoker.InvokerFilter.doFilter(InvokerFilter.java:73)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:217)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:331)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper$AdapterCallable.call(ContainerMapper.java:317)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

Take a look at the debugger on the following lines,

INFO: 22:33:40,453 DEBUG [PortletContainerImpl:124] createPartialActionURL fromURL=[/icefaces3-portlet-3/views/portletViewMode.xhtml?_jsfBridgeAjax=true&_facesViewIdResource=/views/portletViewMode.xhtml]
INFO: 22:33:40,458 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[com.icesoft.faces.component.JavaScriptContextSetup$1]
INFO: 22:33:40,459 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[org.icefaces.impl.event.JavaScriptRunnerSetup$1]
INFO: 22:33:40,460 DEBUG [BodyRenderer:149] Rendering resource just before closing liferay-faces-bridge-body </div> name= library= rendererType=[javax.faces.Text] value= className=[org.icefaces.impl.event.BridgeSetup$1]
INFO: 22:33:40,464 DEBUG [PortletContainerImpl:209] createResourceURL fromURL=[/icefaces3-portlet-3/javax.faces.resource/listen.icepush.xml]

I think that is the issue and I do not know if it belongs to the configuration of Glassfish or it is a bug of ICEfaces 3.1.0 or what else.

Any help should be appreciated,

Best regards,
Jose
Neil Griffin
RE: liferay on glassfish-3.1.2.2
December 20, 2012 3:37 PM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2378

Join Date: July 26, 2005

Recent Posts

In your post you wrote:
I have developed a portlet based on jsf2-portlet example


But I'm seeing some ICEfaces related resources in the debug log. If you deploy the jsf2-portlet and icefaces3-portlet demo WARs from the Liferay Faces download page, do they work OK?
Jose Alvarez de Lara
RE: liferay on glassfish-3.1.2.2
December 21, 2012 3:00 AM
Answer

Jose Alvarez de Lara

Rank: Junior Member

Posts: 45

Join Date: December 10, 2012

Recent Posts

Thank you for your reply
I have downloaded the source code and the war files of both portlets.
I could not deploy the war files so I have create the app in NetBeans 7.2.1 with all its dependencies
and when I try to deploy the jsf2-portlet portlet I get the exception as follows,

(this is the log of Liferay)
11:45:26,622 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:177] Processing jsf2-portlet-4.xml
11:45:27,279 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletExplodedTomcatListener:60] Modifying portlets for /home/jose/servers/glassfish-3.1.2.2/deploy/jsf2-portlet-4.xml
11:45:28,155 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2083] Modifying Servlet 2.5 /home/jose/NetBeansProjects/jsf2-portlet/target/jsf2-portlet-4.1.0-ga1-SNAPSHOT/WEB-INF/web.xml
11:45:28,156 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletExplodedTomcatListener:66] Portlets for /home/jose/servers/glassfish-3.1.2.2/deploy/jsf2-portlet-4.xml modified successfully
11:45:28,157 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseExplodedTomcatListener:49] Copying file /home/jose/servers/glassfish-3.1.2.2/deploy/jsf2-portlet-4.xml to ../conf/Catalina/localhost
Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
Exception while loading the app
Exception while loading the app : FLOW
java.lang.NoSuchFieldError: FLOW
at com.sun.faces.flow.FlowDiscoveryCDIExtension.<clinit>(FlowDiscoveryCDIExtension.java:90)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:235)
at org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:209)
at org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:177)
at org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:149)
at org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:292)
at org.glassfish.weld.DeploymentImpl.getExtensions(DeploymentImpl.java:368)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:325)
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:177)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

(the log of glassfish)
INFO: 11:45:26,622 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][AutoDeployDir:177] Processing jsf2-portlet-4.xml

INFO: 11:45:27,279 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletExplodedTomcatListener:60] Modifying portlets for /home/jose/servers/glassfish-3.1.2.2/deploy/jsf2-portlet-4.xml

INFO: 11:45:28,155 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseDeployer:2083] Modifying Servlet 2.5 /home/jose/NetBeansProjects/jsf2-portlet/target/jsf2-portlet-4.1.0-ga1-SNAPSHOT/WEB-INF/web.xml

INFO: 11:45:28,156 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][PortletExplodedTomcatListener:66] Portlets for /home/jose/servers/glassfish-3.1.2.2/deploy/jsf2-portlet-4.xml modified successfully

INFO: 11:45:28,157 INFO [com.liferay.portal.kernel.deploy.auto.AutoDeployScanner][BaseExplodedTomcatListener:49] Copying file /home/jose/servers/glassfish-3.1.2.2/deploy/jsf2-portlet-4.xml to ../conf/Catalina/localhost

WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
WARNING: Error in annotation processing: java.lang.NoClassDefFoundError: org/springframework/transaction/PlatformTransactionManager
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.composite.PropertyHandlerManager$DefaultPropertyHandler cannot access its superinterface com.sun.faces.facelets.tag.composite.PropertyHandler
WARNING: Error while trying to load Bean Class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory : java.lang.IllegalAccessError: class com.sun.faces.facelets.tag.AbstractTagLibrary$CompositeComponentTagFactory cannot access its superinterface com.sun.faces.facelets.tag.TagHandlerFactory
SEVERE: Exception while loading the app
SEVERE: Exception while loading the app : FLOW
java.lang.NoSuchFieldError: FLOW
at com.sun.faces.flow.FlowDiscoveryCDIExtension.<clinit>(FlowDiscoveryCDIExtension.java:90)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
at org.jboss.weld.util.ServiceLoader.prepareInstance(ServiceLoader.java:235)
at org.jboss.weld.util.ServiceLoader.loadService(ServiceLoader.java:209)
at org.jboss.weld.util.ServiceLoader.loadServiceFile(ServiceLoader.java:177)
at org.jboss.weld.util.ServiceLoader.reload(ServiceLoader.java:149)
at org.jboss.weld.util.ServiceLoader.iterator(ServiceLoader.java:292)
at org.glassfish.weld.DeploymentImpl.getExtensions(DeploymentImpl.java:368)
at org.jboss.weld.bootstrap.WeldBootstrap.startInitialization(WeldBootstrap.java:325)
at org.glassfish.weld.WeldDeployer.event(WeldDeployer.java:177)
at org.glassfish.kernel.event.EventsImpl.send(EventsImpl.java:128)
at org.glassfish.internal.data.ApplicationInfo.load(ApplicationInfo.java:277)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:460)
at com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:240)
at org.glassfish.deployment.admin.DeployCommand.execute(DeployCommand.java:389)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$1.execute(CommandRunnerImpl.java:348)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:363)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.doCommand(CommandRunnerImpl.java:1085)
at com.sun.enterprise.v3.admin.CommandRunnerImpl.access$1200(CommandRunnerImpl.java:95)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1291)
at com.sun.enterprise.v3.admin.CommandRunnerImpl$ExecutionContext.execute(CommandRunnerImpl.java:1259)
at com.sun.enterprise.v3.admin.AdminAdapter.doCommand(AdminAdapter.java:461)
at com.sun.enterprise.v3.admin.AdminAdapter.service(AdminAdapter.java:212)
at com.sun.grizzly.tcp.http11.GrizzlyAdapter.service(GrizzlyAdapter.java:179)
at com.sun.enterprise.v3.server.HK2Dispatcher.dispath(HK2Dispatcher.java:117)
at com.sun.enterprise.v3.services.impl.ContainerMapper$Hk2DispatcherCallable.call(ContainerMapper.java:354)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:195)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:860)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:757)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1056)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:229)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

I do not know what is the log seying about FLOW.
On the other hand I could deploy the war files but I do not know how to

Regards,
Jose
Neil Griffin
RE: liferay on glassfish-3.1.2.2
December 21, 2012 5:35 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2378

Join Date: July 26, 2005

Recent Posts

The mention of "com.sun.faces.flow.FlowDiscoveryCDIExtension" indicates JSF 2.2 -- Are you working with the master branch of the Liferay Faces Git repository? The master branch is currently being used as a proof of concept for JSF 2.2 compatibility. JSF 2.2 is scheduled to be released by the JCP in 2013.

If you need to work with the latest source from Git, then I would recommend that you work with the 3.1.x branch. But branches are not guaranteed to be stable. To ensure stability, better to download the pre-compiled WARs from the demos page.
Jose Alvarez de Lara
RE: liferay on glassfish-3.1.2.2
December 21, 2012 9:00 AM
Answer

Jose Alvarez de Lara

Rank: Junior Member

Posts: 45

Join Date: December 10, 2012

Recent Posts

Sorry,

I have deployed both portlets (war files) into my /LIFERAY-HOME/deploy folder and then I started Glassfish
and everything wentt right. I am using jsf2-portlet and works fine. Now I am going to try icefaces3-portlet.

By the way, thanks for the link to the portlets.

Best regards,
Jose emoticon
Neil Griffin
RE: liferay on glassfish-3.1.2.2
December 21, 2012 11:32 AM
Answer

Neil Griffin

LIFERAY STAFF

Rank: Liferay Legend

Posts: 2378

Join Date: July 26, 2005

Recent Posts

Glad to hear that its working now. emoticon