Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Marjan Mitev
Liferay primefaces3 exception
12 febbraio 2013 2.55
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

Hi to all, i have issue with liferay primefaces3 portlet example which i downloaded from liferay site (3.0.x branch). After i downloaded
i imported the project into NetBeans, built with maven and successfully deployed on glassfish 3.0.1 server.

Then i added the protlet on the liferay portal, filled all necessary data and when i click on submit button i got this exception:

  1[#|2013-02-12T10:40:19.893+0000|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=http-thread-pool-8080-(1);|java.lang.ClassCastException: com.liferay.portlet.ResourceResponseImpl cannot be cast to javax.servlet.http.HttpServletResponse
  2    at com.sun.faces.util.OnOffResponseWrapper.<init>(OnOffResponseWrapper.java:58)
  3    at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:94)
  4    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
  5    at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
  6    at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.render(LifecycleWrapper.java:45)
  7    at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:118)
  8    at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
  9    at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
 10    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:119)
 11    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
 12    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
 13    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 14    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
 15    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:822)
 16    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 17    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:517)
 18    at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:488)
 19    at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:379)
 20    at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:336)
 21    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:314)
 22    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:635)
 23    at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:747)
 24    at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:504)
 25    at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:871)
 26    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:613)
 27    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:232)
 28    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
 29    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
 30    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:153)
 31    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
 32    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
 33    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
 34    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
 35    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
 36    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 37    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
 38    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
 39    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 40    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 41    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 42    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 43    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 44    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 45    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 46    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 47    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 48    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 49    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
 50    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 51    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 52    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 53    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 54    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 55    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 56    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 57    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 58    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 59    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 60    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 61    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 62    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
 63    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 64    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 65    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 66    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 67    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
 68    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 69    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 70    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 71    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:820)
 72    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
 73    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:517)
 74    at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:488)
 75    at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:379)
 76    at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:336)
 77    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:314)
 78    at com.liferay.portal.servlet.FriendlyURLServlet.service(FriendlyURLServlet.java:134)
 79    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 80    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
 81    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
 82    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 83    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 84    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 85    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 86    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 87    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 88    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
 89    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 90    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 91    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 92    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
 93    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
 94    at org.apache.catalina.core.Application|#]
 95
 96[#|2013-02-12T10:40:19.893+0000|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=http-thread-pool-8080-(1);|FilterChain.internalDoFilter(ApplicationFilterChain.java:256)
 97    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
 98    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
 99    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
100    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
101    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
102    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
103    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
104    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
105    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
106    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
107    at com.liferay.portal.servlet.filters.secure.SecureFilter.processFilter(SecureFilter.java:182)
108    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
109    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
110    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
111    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
112    at com.liferay.portal.servlet.filters.i18n.I18nFilter.processFilter(I18nFilter.java:222)
113    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
114    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
115    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
116    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
117    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
118    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
119    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
120    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
121    at com.liferay.portal.servlet.filters.cache.CacheFilter.processFilter(CacheFilter.java:442)
122    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
123    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
124    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
125    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
126    at com.liferay.portal.servlet.filters.etag.ETagFilter.processFilter(ETagFilter.java:45)
127    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
128    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
129    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
130    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
131    at com.liferay.portal.servlet.filters.autologin.AutoLoginFilter.processFilter(AutoLoginFilter.java:254)
132    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
133    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
134    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
135    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
136    at com.liferay.portal.servlet.filters.sso.ntlm.NtlmPostFilter.processFilter(NtlmPostFilter.java:81)
137    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
138    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
139    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
140    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
141    at com.liferay.portal.sharepoint.SharepointFilter.processFilter(SharepointFilter.java:179)
142    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
143    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
144    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
145    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
146    at com.liferay.portal.servlet.filters.virtualhost.VirtualHostFilter.processFilter(VirtualHostFilter.java:240)
147    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
148    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
149    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
150    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
151    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
152    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
153    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
154    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
155    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
156    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
157    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
158    at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:738)
159    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
160    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
161    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
162    at com.liferay.portal.servlet.filters.threadlocal.ThreadLocalFilter.processFilter(ThreadLocalFilter.java:35)
163    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
164    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
165    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
166    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:277)
167    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
168    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
169    at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
170    at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
171    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
172    at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:325)
173    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:226)
174    at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
175    at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
176    at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
177    at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
178    at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
179    at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
180    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
181    at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
182    at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
183    at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
184    at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
185    at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
186    at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
187    at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
188    at java.lang.Thread.run(Thread.jav|#]
189
190[#|2013-02-12T10:40:19.893+0000|SEVERE|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=http-thread-pool-8080-(1);|a:662)
191|#]
192
193[#|2013-02-12T10:40:19.898+0000|INFO|glassfish3.0.1|javax.enterprise.system.std.com.sun.enterprise.v3.services.impl|_ThreadID=31;_ThreadName=http-thread-pool-8080-(1);|10:40:19,896 DEBUG [BridgePhaseResourceImpl:145] ----------------------------------------------------------------------
194|#]


Can someone help, and tell me what should i do, i didn't change anything in the configuration files, only jsf-impl 2.0 cause i saw post on this issue that the class OnOffResponseWrapper might missing in 2.1 jsf-impl. I gess that FacesServlet can't convert ResourceResponseImpl into HttpServletResponse.

Thanks.
Vernon Singleton
RE: Liferay primefaces3 exception
12 febbraio 2013 14.56
Risposta

Vernon Singleton

LIFERAY STAFF

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 14 gennaio 2013

Messaggi recenti

Hi Marjan,

I just did a quick search of this forum for "OnOffResponseWrapper" ...

Here are some posts that address this very issue:
http://www.liferay.com/community/forums/-/message_boards/view_message/13289830#_19_message_13289844
http://www.liferay.com/community/forums/-/message_boards/view_message/13289538#_19_message_13290086

So it turns out that you should be able to correct this issue using a more recent version of mojarra such as 2.1.3-b02.
This version of mojarra has been tested with Liferay Faces version 3.1.x and Liferay Portal 6.1.1, so you will not be getting this error with that com
bination. If you are getting this error, you are most likely using an earlier version of mojarra like 2.0. So check you global classpath for an earl
ier version of mojarra, maybe in your pom.xml if you are using maven or your WEB-INF/lib or some such place.

Hope this helps,
Vernon Singleton
Marjan Mitev
RE: Liferay primefaces3 exception
13 febbraio 2013 0.16
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

Thanks Vernon for the answer, i see what i can do i gess i need to chnage jsf-impl and jsf-api versions.
Marjan Mitev
RE: Liferay primefaces3 exception
13 febbraio 2013 0.49
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

I've changed jsf-impl and jsf-api in the glassfish server 3.0.1 in liferay-portal 6.0.6 to version 2.1.3-b02 and now i don't get
casting error anymore but when i try using ajax, on submit button i got this error, any suggestions what it might be ?..

this is the stack trace:

 1[#|2013-02-13T08:45:41.242+0000|INFO|glassfish3.0.1|javax.enterprise.resource.webcontainer.jsf.context|_ThreadID=31;_ThreadName=http-thread-pool-8080-(2);|javax.el.PropertyNotFoundException: /xhtml/table.xhtml @13,47 value="#{user.name}": Target Unreachable, identifier 'user' resolved to null
 2javax.el.PropertyNotFoundException: /xhtml/table.xhtml @13,47 value="#{user.name}": Target Unreachable, identifier 'user' resolved to null
 3    at com.sun.faces.facelets.el.TagValueExpression.getType(TagValueExpression.java:100)
 4    at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:95)
 5    at javax.faces.component.UIInput.getConvertedValue(UIInput.java:1030)
 6    at javax.faces.component.UIInput.validate(UIInput.java:960)
 7    at javax.faces.component.UIInput.executeValidate(UIInput.java:1233)
 8    at javax.faces.component.UIInput.processValidators(UIInput.java:698)
 9    at com.sun.faces.context.PartialViewContextImpl$PhaseAwareVisitCallback.visit(PartialViewContextImpl.java:508)
10    at com.sun.faces.component.visit.PartialVisitContext.invokeVisitCallback(PartialVisitContext.java:183)
11    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1589)
12    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
13    at javax.faces.component.UIForm.visitTree(UIForm.java:344)
14    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
15    at javax.faces.component.UIComponent.visitTree(UIComponent.java:1600)
16    at com.sun.faces.context.PartialViewContextImpl.processComponents(PartialViewContextImpl.java:376)
17    at com.sun.faces.context.PartialViewContextImpl.processPartial(PartialViewContextImpl.java:252)
18    at javax.faces.context.PartialViewContextWrapper.processPartial(PartialViewContextWrapper.java:183)
19    at com.liferay.faces.util.context.PartialViewContextCleanupImpl.processPartial(PartialViewContextCleanupImpl.java:100)
20    at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:1170)
21    at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:76)
22    at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:101)
23    at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:118)
24    at com.liferay.faces.bridge.lifecycle.LifecycleWrapper.execute(LifecycleWrapper.java:35)
25    at com.liferay.faces.bridge.BridgePhaseResourceImpl.execute(BridgePhaseResourceImpl.java:99)
26    at com.liferay.faces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:128)
27    at javax.portlet.faces.GenericFacesPortlet.serveResource(GenericFacesPortlet.java:178)
28    at com.liferay.portlet.FilterChainImpl.doFilter(FilterChainImpl.java:119)
29    at com.liferay.portal.kernel.portlet.PortletFilterUtil.doFilter(PortletFilterUtil.java:71)
30    at com.liferay.portal.kernel.servlet.PortletServlet.service(PortletServlet.java:92)
31    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
32    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
33    at org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:822)
34    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:684)
35    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:517)
36    at org.apache.catalina.core.ApplicationDispatcher.doDispatch(ApplicationDispatcher.java:488)
37    at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:379)
38    at org.apache.catalina.core.ApplicationDispatcher.dispatch(ApplicationDispatcher.java:336)
39    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:314)
40    at com.liferay.portlet.InvokerPortletImpl.invoke(InvokerPortletImpl.java:635)
41    at com.liferay.portlet.InvokerPortletImpl.invokeResource(InvokerPortletImpl.java:747)
42    at com.liferay.portlet.InvokerPortletImpl.serveResource(InvokerPortletImpl.java:504)
43    at com.liferay.portal.action.LayoutAction.processPortletRequest(LayoutAction.java:871)
44    at com.liferay.portal.action.LayoutAction.processLayout(LayoutAction.java:613)
45    at com.liferay.portal.action.LayoutAction.execute(LayoutAction.java:232)
46    at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
47    at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
48    at com.liferay.portal.struts.PortalRequestProcessor.process(PortalRequestProcessor.java:153)
49    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
50    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
51    at javax.servlet.http.HttpServlet.service(HttpServlet.java:754)
52    at com.liferay.portal.servlet.MainServlet.callParentService(MainServlet.java:508)
53    at com.liferay.portal.servlet.MainServlet.service(MainServlet.java:485)
54    at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
55    at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
56    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:343)
57    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
58    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
59    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
60    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
61    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
62    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
63    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
64    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
65    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
66    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
67    at com.liferay.portal.servlet.filters.strip.StripFilter.processFilter(StripFilter.java:309)
68    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:123)
69    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)
70    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:215)
71    at com.liferay.portal.kernel.servlet.BaseFilter.processFilter(BaseFilter.java:196)
72    at com.liferay.portal.kernel.servlet.BaseFilter.doFilter(BaseFilter.java:126)
73    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256)................


Thanks,

Marjan.
Marjan Mitev
RE: Liferay primefaces3 exception
13 febbraio 2013 0.52
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

maybe the problem is that glassfish server stores some configuration files about jsf-impl and there still is written the old jsf-api/impl version
which was 2.0.2.... ?
Marjan Mitev
RE: Liferay primefaces3 exception
13 febbraio 2013 3.45
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

I downloaded 3.0.x liferay faces project, i am testing the primefaces3 portlet and i've changed jsf-impl/api jars in the glassfish server to 2.1 version.

When i start liferay-portal and import the portal on the page i get error message: PrimeFaces3 is temporarily unavailable., btw i didn't
get any exceptions at the server side and i don't know what causes this issue.

If anyone got this kind of problem, please help...

Thanks.
Vernon Singleton
RE: Liferay primefaces3 exception
15 febbraio 2013 8.55
Risposta

Vernon Singleton

LIFERAY STAFF

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 14 gennaio 2013

Messaggi recenti

Hi Marjan,

I have been looking into this issue for you ... I have tried several, but not found a magic combination of jars that let's the newer version of mojarra run well under glassfish 3.0 but we suspect that the weld jars may need to be upgraded also. I will try to look into this some more to see if there is an easy way to upgrade the version of weld on glassfish 3.0, but this is getting a bit difficult.

Until then,
Vernon
Marjan Mitev
RE: Liferay primefaces3 exception
15 febbraio 2013 10.31
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

I've tried to upgrade jsf-impl and jsf-api on the glassfish 3.0.1 server using pkg and update tools but on fresh copy of glassfish.
Tools are missing from liferay 6.0.6 bundled glassfish server and i don't know why they are removed.
I successfully updated to 2.1.6 jsf version but then i got some errors with other packages, so i gess it's not going to work, need to figure out something else.

Thanks for your effort trying to help me,

Marjan.
Vernon Singleton
RE: Liferay primefaces3 exception
15 febbraio 2013 14.17
Risposta

Vernon Singleton

LIFERAY STAFF

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 14 gennaio 2013

Messaggi recenti

Hi Marjan,

Just to let you know, we tried upgrading mojarra, weld, and switching to a different InjectionProvider ... nothing yet. Also, it might be late next week before we could try any more testing. Let us know if you find any work around.

Until then,
Vernon.
Marjan Mitev
RE: Liferay primefaces3 exception
16 febbraio 2013 2.08
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

Ok.
Marjan Mitev
RE: Liferay primefaces3 exception
17 febbraio 2013 12.35
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

Ajax Bug solved emoticon. I finally managed to make liferay primefaces3 portlet working on liferay 6.0.6 portal bundled with glassfish 3.0.1.I've downloaded
weld-integration-3.1.1.jar file and excluded some files from it in pom.xml project file, so now portlet comes with bundled javax.faces 2.1.7 and weld-integration 3.1.1.

Marjan.
Marjan Mitev
RE: Liferay primefaces3 exception
17 febbraio 2013 12.36
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

btw i ecluded bundledJSf in sun-web.xml file.
Vernon Singleton
Re: [Liferay Forums][Liferay Faces - English] RE: Liferay primefaces3 excep
28 febbraio 2013 21.33
Risposta

Vernon Singleton

LIFERAY STAFF

Punteggio: Expert

Messaggi: 278

Data di Iscrizione: 14 gennaio 2013

Messaggi recenti

Wow, so glad you figured it out so quickly. We may want to get some more details from you, but for now, Good job!

- Vernon


sent from a blackberry

-----Original Message-----
From: "Marjan Mitev from liferay.com" <forums@liferay.com>
Date: Sun, 17 Feb 2013 20:36:14
To: forums@liferay.com<forums@liferay.com>
Reply-To: "forums@liferay.com" <forums@liferay.com>
Subject: [Liferay Forums][Liferay Faces - English] RE: Liferay primefaces3
exception



btw i ecluded bundledJSf in sun-web.xml file.

To view the thread, follow the link below:
http://www.liferay.com/community/forums/-/message_boards/view_message/21566469
--
Thanks, Liferay.com Forums <http://http://www.liferay.com>
Marjan Mitev
RE: Re: [Liferay Forums][Liferay Faces - English] RE: Liferay primefaces3 e
1 marzo 2013 0.09
Risposta

Marjan Mitev

Punteggio: New Member

Messaggi: 15

Data di Iscrizione: 23 dicembre 2012

Messaggi recenti

Thanks and no problem, i will help with anything you need emoticon)