[appengine-java] Re: jsp.error.beans.property.conversion
On Sep 3, 11:08 am, objectuser kevin.k.le...@gmail.com wrote: I think one difference might be your use of JSPs. I'm using JSF 2.0 but with XHTML. But that's just a guess. Did you follow the instructions here? https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-P... Before I followed the instructions from this website you pointed at, but only loosely - for instance I've been using .jsp extension in filenames. Now I followed it more strictly - Ia am using .xhtml extension. Now JSF seems to work. I haven't investigated it deeper, but it seems possible that the problem was somehow related to the extension I've been using in filenames. Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: jsp.error.beans.property.conversion
I think one difference might be your use of JSPs. I'm using JSF 2.0 but with XHTML. But that's just a guess. Did you follow the instructions here? https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine On Sep 3, 6:35 am, Piotrek test200909...@gmail.com wrote: Hello, I was trying to run JSF (Mojarra implementation) with google apps engine. I tried both 1.2 and 2.0 versions. My test page was simple, just: f:view h:outputText value=tralala/ /f:view Whenever I tried to view this page (under developer appserver) I received such error: HTTP ERROR: 500 jsp.error.beans.property.conversion RequestURI=/test.faces Caused by: org.apache.jasper.JasperException: jsp.error.beans.property.conversion at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager (JspRuntimeLibrary.java:885) at org.apache.jsp.test_jsp._jspx_meth_h_outputText_0(test_jsp.java: 123) at org.apache.jsp.test_jsp._jspx_meth_f_view_0(test_jsp.java:98) at org.apache.jsp.test_jsp._jspService(test_jsp.java:62) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) (...) I looked at compiled test_jsp.java, around line 123. It looked like that: _jspx_th_h_outputText_0.setPageContext(_jspx_page_context); _jspx_th_h_outputText_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_f_view_0); _jspx_th_h_outputText_0.setValue((javax.el.ValueExpression) org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager (javax.el.ValueExpression.class, value, tralala)); int _jspx_eval_h_outputText_0 = _jspx_th_h_outputText_0.doStartTag(); (...) I guessed it had something to do with Jasper. So I entered the directory google_app_engine/appengine-java-sdk-1.2.2/lib/shared/jsp. There I deleted files repackaged-appengine-jasper-compiler-5.0.28.jar and repackaged-appengine-jasper-runtime-5.0.28.jar. Then I downloaded Tomcat (version 6.0.20) and I found in it files jasper-el.jar, jasper.jar and tomcat-juli.jar. I copied them to google_app_engine/ appengine-java-sdk-1.2.2/lib/shared/jsp. After that error dieappeared when I run my application under developmnent server. However, when I upload it to appspot, it fails with 500 error code. Log says something about NullPointerException, but I don't remember details now. Have any of you encountered problem like that? I read that people use JSF with GAE. Maybe somebody could post a full zipped example of a project using JSF under GAE? Maybe I do something wrong and I could find it by comparing my broken code with such working example? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---
[appengine-java] Re: jsp.error.beans.property.conversion
Yes, I followed that instructions. objectuser wrote: I think one difference might be your use of JSPs. I'm using JSF 2.0 but with XHTML. But that's just a guess. Did you follow the instructions here? https://sites.google.com/a/wildstartech.com/adventures-in-java/Java-Platform-Enterprise-Edition/JavaServer-Faces/sun-javaserver-faces-reference-implementation/configuring-jsf-20-to-run-on-the-google-appengine On Sep 3, 6:35 am, Piotrek test200909...@gmail.com wrote: Hello, I was trying to run JSF (Mojarra implementation) with google apps engine. I tried both 1.2 and 2.0 versions. My test page was simple, just: f:view h:outputText value=tralala/ /f:view Whenever I tried to view this page (under developer appserver) I received such error: HTTP ERROR: 500 jsp.error.beans.property.conversion RequestURI=/test.faces Caused by: org.apache.jasper.JasperException: jsp.error.beans.property.conversion at org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager (JspRuntimeLibrary.java:885) at org.apache.jsp.test_jsp._jspx_meth_h_outputText_0(test_jsp.java: 123) at org.apache.jsp.test_jsp._jspx_meth_f_view_0(test_jsp.java:98) at org.apache.jsp.test_jsp._jspService(test_jsp.java:62) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94) at javax.servlet.http.HttpServlet.service(HttpServlet.java:806) (...) I looked at compiled test_jsp.java, around line 123. It looked like that: _jspx_th_h_outputText_0.setPageContext(_jspx_page_context); _jspx_th_h_outputText_0.setParent((javax.servlet.jsp.tagext.Tag) _jspx_th_f_view_0); _jspx_th_h_outputText_0.setValue((javax.el.ValueExpression) org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager (javax.el.ValueExpression.class, value, tralala)); int _jspx_eval_h_outputText_0 = _jspx_th_h_outputText_0.doStartTag(); (...) I guessed it had something to do with Jasper. So I entered the directory google_app_engine/appengine-java-sdk-1.2.2/lib/shared/jsp. There I deleted files repackaged-appengine-jasper-compiler-5.0.28.jar and repackaged-appengine-jasper-runtime-5.0.28.jar. Then I downloaded Tomcat (version 6.0.20) and I found in it files jasper-el.jar, jasper.jar and tomcat-juli.jar. I copied them to google_app_engine/ appengine-java-sdk-1.2.2/lib/shared/jsp. After that error dieappeared when I run my application under developmnent server. However, when I upload it to appspot, it fails with 500 error code. Log says something about NullPointerException, but I don't remember details now. Have any of you encountered problem like that? I read that people use JSF with GAE. Maybe somebody could post a full zipped example of a project using JSF under GAE? Maybe I do something wrong and I could find it by comparing my broken code with such working example? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App Engine for Java group. To post to this group, send email to google-appengine-java@googlegroups.com To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en -~--~~~~--~~--~--~---