Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
RobertBln schrieb: Werner Punz-2 wrote: anyway guys in the meanwhile give this package a try, it contains the latest versions of the core, and the missing jar: http://people.apache.org/~werpu/myfaces12custom.zip Werner, thank you very much, this package is working very well for me! :-D Btw. guys I also added a small facelet kickstarter to the dir for another user in the list. It contains a) MyFaces 1.2 in the latest codebase b) A somewhat a little bit older version of Tomahawk and the sandbox c) Most of the facelet definitions needed for Tomahawk and the sandbox d) Sane settings so that it instantly gets up and running if you unpack it (was too lazy to make a war it was past midnight already) I was using this configuration to test a somewhat bigger app of mine if it was working on myfaces 1.2. So if you want to toy around with all of this give it a shot http://people.apache.org/~werpu/faceletskickstarter.zip Werner
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
Werner Punz-2 wrote: > > > anyway guys in the meanwhile give this package a try, it contains > the latest versions of the core, and the missing jar: > > http://people.apache.org/~werpu/myfaces12custom.zip > > Werner, thank you very much, this package is working very well for me! :-D -- View this message in context: http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11823688 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
RobertBln schrieb: Hi, I'm new to JSF and have managed it to get a very simple Application running with jsf-1.2 ri on Tomcat 6.0.13. When I try to replace jsf ri with myfaces 1.2, the Result is a exception javax.servlet.ServletException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) root cause Ok I spent now about two hours to track the error down since I finally could get a reproducable configuration, I have good and bad news. The bad news is, this is a bug triggered by 1.2.0 the good news is, it seems to be resolved by the latest builds. There also is another issue with the packaging missing a jar. (Already filed in jira for the next version) anyway guys in the meanwhile give this package a try, it contains the latest versions of the core, and the missing jar: http://people.apache.org/~werpu/myfaces12custom.zip This one was the configuration which resolved this issue for me and also fixes the other one, missing the standard.jar
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
Werner Punz schrieb: > Ok I nailed down one of the main problems... > > as it seems a standard.jar is needed so that jasper compiles properly > under myfaces 1.2, otherwise I get null pointer exceptions, > that was one of the main points I ran into testing: > > http://people.apache.org/~werpu/ > has some wars with the simple tomahawk examples and a blank webapp > (you can savely remove the jstl 1.1 I will repack it soon without it) > > the main thing I noticed is once the standard.jar is removed things > start to fail, as it seems it simply is missing. > > Werner > > Ok I double checked the download packaging: there neither is the jstl.jar nor standard.jar packed but nor does tomcat provide those jars and they are needed. So things probably start to work as soon as you add the jars. (Things started to fail on me once I started to remove the standard.jar) Not sure if the packaging is correct the way it is...
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
Ok I nailed down one of the main problems... as it seems a standard.jar is needed so that jasper compiles properly under myfaces 1.2, otherwise I get null pointer exceptions, that was one of the main points I ran into testing: http://people.apache.org/~werpu/ has some wars with the simple tomahawk examples and a blank webapp (you can savely remove the jstl 1.1 I will repack it soon without it) the main thing I noticed is once the standard.jar is removed things start to fail, as it seems it simply is missing. Werner RobertBln schrieb: > Hi, > > I'm new to JSF and have managed it to get a very simple Application running > with jsf-1.2 ri on Tomcat 6.0.13. > > When I try to replace jsf ri with myfaces 1.2, the Result is a > > exception > > javax.servlet.ServletException: Unable to convert string "OK" to class > "javax.el.ValueExpression" for attribute "value": Property Editor not > registered with the PropertyEditorManager > javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) > > root cause > > javax.faces.FacesException: Unable to convert string "OK" to class > "javax.el.ValueExpression" for attribute "value": Property Editor not > registered with the PropertyEditorManager > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:340) > > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) > > org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) > > root cause > > org.apache.jasper.JasperException: Unable to convert string "OK" to class > "javax.el.ValueExpression" for attribute "value": Property Editor not > registered with the PropertyEditorManager > > org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) > > org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175) > > org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145) > > org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105) > org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334) > > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) > > org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) > > = > Error Log: > org.apache.jasper.JasperException: Unable to convert string "OK" to class > "javax.el.ValueExpression" for attribute "value": Property Editor not > registered with the PropertyEditorManager > at > org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) > at > org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175) > at > org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145) > at > org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105) > at org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71) > at > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) > at > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) > at > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) > at > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > at > org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) > at > org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) > at > org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) >
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
thanks for all ,i was also pain for this problem now . -- View this message in context: http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11810674 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
ok,thanks for reply... -- View this message in context: http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11809580 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
hamidaga wrote: > > hi, i've the exact same problem. > have you solved the problem? > thanks > No, I'm sorry, I am waiting for 1.2.01 now. Maybe in the meantime one could give a try to facelets ... -- View this message in context: http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11808896 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
hi, i've the exact same problem. have you solved the problem? thanks -- View this message in context: http://www.nabble.com/jsf-1.2-RI--%3E-myfaces-1.2%3A-Newbie-seeking-for-help-tf4116746.html#a11808567 Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
You miss nothing, we basically have some el related problems here which we do not know which causes this, this bug is basically in the same line of other el related bugs we have encountered the last two days https://issues.apache.org/jira/browse/MYFACES-1682 all of them seem to happen with jsps, as soon as you use facelets they are gone all I can say for now is, please, wait for the 1.2.01 release which will come very soon. Since I am not the implementor I cannot say if we trigger a tomcat bug here or it is a bug in myfaces. Werner RobertBln schrieb: Hi, I'm new to JSF and have managed it to get a very simple Application running with jsf-1.2 ri on Tomcat 6.0.13. When I try to replace jsf ri with myfaces 1.2, the Result is a exception javax.servlet.ServletException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) root cause javax.faces.FacesException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:340) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) root cause org.apache.jasper.JasperException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175) org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145) org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105) org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) = Error Log: org.apache.jasper.JasperException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) at org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175) at org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145) at org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105) at org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org.apache.myfaces.context.servl
jsf-1.2 RI -> myfaces 1.2: Newbie seeking for help
Hi, I'm new to JSF and have managed it to get a very simple Application running with jsf-1.2 ri on Tomcat 6.0.13. When I try to replace jsf ri with myfaces 1.2, the Result is a exception javax.servlet.ServletException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) root cause javax.faces.FacesException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:340) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) root cause org.apache.jasper.JasperException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175) org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145) org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105) org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) = Error Log: org.apache.jasper.JasperException: Unable to convert string "OK" to class "javax.el.ValueExpression" for attribute "value": Property Editor not registered with the PropertyEditorManager at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) at org.apache.jsp.index2_jsp._jspx_meth_h_005fcommandButton_005f0(index2_jsp.java:175) at org.apache.jsp.index2_jsp._jspx_meth_h_005fform_005f0(index2_jsp.java:145) at org.apache.jsp.index2_jsp._jspx_meth_f_005fview_005f0(index2_jsp.java:105) at org.apache.jsp.index2_jsp._jspService(index2_jsp.java:71) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292) at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254) at org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.ap