Hello Jeroen, bad news :). Okay, we have to wait for the next release and hope, that this will be fixed.
Thanks for youre answer! Regards Jochen > -----Ursprüngliche Nachricht----- > Von: "MyFaces Discussion" <[email protected]> > Gesendet: 31.08.07 14:09:03 > An: "MyFaces Discussion" <[email protected]> > Betreff: Re: Problem with myfaces and Tomcat 6 > > Jochen, > > I've been experiencing the same problems. Somewhere in the generation of > the Java code based on the JSP either Tomcat or Myfaces screw up very > badly. It's trying to interpret static values as EL-expressions (as you > can see from the stacktrace). As far as I know, (tested about two weeks > ago) this hasn't been solved yet in the SVN version of MyFaces 1.2, so > the only option is to wait for these bugs to be solved. Because of this > I reverted back to the MyFaces 1.1.6 implementation. > > Another option would be to incorporate the Facelets library. Using > facelets, the JSP compilation of Tomcat isn't used and things work fine. > Off course it requires introduction of yet-another-library, which may be > a problem. > > In general I hope that this will be fixed soon as tomcat is probably a > primary deployment target for many people.. > > Regards, > > Jeroen > > On Fri, 2007-08-31 at 13:54 +0200, Jochen Zink wrote: > > Hello, > > > > I have a problem to get a working myfaces1.1.6 application migrated to > > myfaces 1.2. > > > > I copied all libs from myfaces 1.2 bin distribution to WEB-INF/lib dir. > > After deploying to tomcat 6.0.16 an exception is thrown, if I cal the > > start.jsf Page. You can found the exception on the end of this mail. I > > searched a little bit and found this > > (http://www.mail-archive.com/[email protected]/msg40409.html). But > > it does not really solve the problem. I got the same exception too, after > > adding standard-xxx.jar and the other stuff. > > > > The application runs successfully with myfaces1.1.6 on both server's tomcat > > 5.5 and tomcat 6. > > > > The application uses the tomahawk TilesViewHandler to enable tiles support. > > I don't know if it is important. > > > > Thanks a lot!! > > > > > > Here is the Exception: > > org.apache.jasper.JasperException: Unable to convert string "1" to class > > "javax.el.ValueExpression" for attribute "columns": Property Editor not > > registered with the PropertyEditorManager > > at > > org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887) > > at > > org.apache.jsp.template_jsp._jspx_meth_h_005fpanelGrid_005f0(template_jsp.java:298) > > at > > org.apache.jsp.template_jsp._jspx_meth_f_005ffacet_005f0(template_jsp.java:271) > > at > > org.apache.jsp.template_jsp._jspx_meth_t_005fpanelLayout_005f0(template_jsp.java:226) > > at > > org.apache.jsp.template_jsp._jspx_meth_f_005fview_005f0(template_jsp.java:167) > > at org.apache.jsp.template_jsp._jspService(template_jsp.java:127) > > 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.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236) > > at > > org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222) > > 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.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > at > > org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) > > at > > org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) > > at > > org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) > > at > > org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) > > at > > org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) > > at > > org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) > > at > > org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) > > at > > org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) > > at > > org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) > > at > > org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) > > at > > org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) > > at > > org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) > > at java.lang.Thread.run(Thread.java:595) > > _____________________________________________________________________ > > Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! > > http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 > > > > > > _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

