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-arc
hive.com/users myfaces.apache.org/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.getValueFromProp
ertyEditorManager(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(tem
plate_jsp.java:271)
> at
org.apache.jsp.template_jsp._jspx_meth_t_005fpanelLayout_005
f0(template_jsp.java:226)
> at
org.apache.jsp.template_jsp._jspx_meth_f_005fview_005f0(temp
late_jsp.java:167)
> at
org.apache.jsp.template_jsp._jspService(template_jsp.java:12
7)
> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.ja
va:70)
> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
> at
org.apache.jasper.servlet.JspServletWrapper.service(JspServl
etWrapper.java:393)
> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServl
et.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.internalDoFi
lter(ApplicationFilterChain.java:290)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:206)
> at
org.apache.catalina.core.ApplicationDispatcher.invoke(Applic
ationDispatcher.java:654)
> at
org.apache.catalina.core.ApplicationDispatcher.processReques
t(ApplicationDispatcher.java:445)
> at
org.apache.catalina.core.ApplicationDispatcher.doForward(App
licationDispatcher.java:379)
> at
org.apache.catalina.core.ApplicationDispatcher.forward(Appli
cationDispatcher.java:292)
> at
org.apache.myfaces.context.servlet.ServletExternalContextImp
l.dispatch(ServletExternalContextImpl.java:334)
> at
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHand
lerImpl.dispatch(JspTilesViewHandlerImpl.java:236)
> at
org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHand
lerImpl.renderView(JspTilesViewHandlerImpl.java:222)
> at
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(
RenderResponseExecutor.java:41)
> at
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleI
mpl.java:132)
> at
javax.faces.webapp.FacesServlet.service(FacesServlet.java:13
8)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:290)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:206)
> at
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(E
xtensionsFilter.java:147)
> at
org.apache.catalina.core.ApplicationFilterChain.internalDoFi
lter(ApplicationFilterChain.java:235)
> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(App
licationFilterChain.java:206)
> at
org.apache.catalina.core.StandardWrapperValve.invoke(Standar
dWrapperValve.java:233)
> at
org.apache.catalina.core.StandardContextValve.invoke(Standar
dContextValve.java:175)
> at
org.apache.catalina.core.StandardHostValve.invoke(StandardHo
stValve.java:128)
> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorRepo
rtValve.java:102)
> at
org.apache.catalina.core.StandardEngineValve.invoke(Standard
EngineValve.java:109)
> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAd
apter.java:263)
> at
org.apache.coyote.http11.Http11Processor.process(Http11Proce
ssor.java:844)
> at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHand
ler.process(Http11Protocol.java:584)
> at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoin
t.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&dis
tributionid=000000000066
>
>
|