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
> 
> 
ÿþDit bericht is vertrouwelijk en kan 
geheime informatie bevatten enkel

bestemd voor de geadresseerde. Indien 
dit bericht niet voor u is bestemd,

verzoeken wij u dit onmiddellijk aan 
ons te melden en het bericht te

vernietigen.

Aangezien de integriteit van het 
bericht niet veilig gesteld is middels

verzending via internet, kan Atos 
Origin niet aansprakelijk worden 
gehouden

voor de inhoud daarvan.

Hoewel wij ons inspannen een virusvrij 
netwerk te hanteren, geven

wij geen enkele garantie dat dit 
bericht virusvrij is, noch aanvaarden 
wij

enige aansprakelijkheid voor de 
mogelijke aanwezigheid van een virus in 
dit

bericht.

 

Op al onze rechtsverhoudingen, 
aanbiedingen en overeenkomsten 
waaronder

Atos Origin goederen en/of diensten 
levert zijn met uitsluiting van alle

andere voorwaarden de 
Leveringsvoorwaarden van Atos Origin 
van toepassing.

Deze worden u op aanvraag direct 
kosteloos toegezonden.

 

This e-mail and the documents attached 
are confidential and intended solely

for the addressee; it may also be 
privileged. If you receive this e-mail

in error, please notify the sender 
immediately and destroy it.

As its integrity cannot be secured on 
the Internet, the Atos Origin group

liability cannot be triggered for the 
message content. Although the

sender endeavours to maintain a 
computer virus-free network, the sender

does not warrant that this transmission 
is virus-free and will not be

liable for any damages resulting from 
any virus transmitted.

 

On all offers and agreements under 
which Atos Origin supplies goods and/or

services of whatever nature, the Terms 
of Delivery from Atos Origin

exclusively apply. 

The Terms of Delivery shall be promptly 
submitted to you on your request.

 

Atos Origin Nederland B.V. / Utrecht

KvK Utrecht 30132762

Reply via email to