tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ja...@hookom.net
Subject RE: Problem with JSF 1.2 converters in Tomcat 6.0.2
Date Wed, 29 Nov 2006 16:55:46 GMT
What version of JSF 1.2 are you running exactly?


>There seems to be a problem with Converter subclasses when running a
>JSF 1.2 Web app inside Tomcat 6.0.2. This problem can be reproduced by
>running the JSF car demo Web app that comes with the JSF 1.2
>distribution. To reproduce, in the car demo startup page, choose
>locale (click English for instance), then click More, then Buy, then
>Buy again in the choice confirmation page. The last Buy will cause a
>page submission and when invoking the converter on that page, the
>following exception will be raised:
>
>org.apache.jasper.JasperException: /customerInfo.jsp(157,0) Cannot
>coerce value (creditCardConverter) to type
>(javax.faces.convert.Converter) for attribute converter.
>	
>org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.jav
>a:40)
>	
>org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:406)
>	
>org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:255)
>	
>org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validat
>or.java:1080)
>	
>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:818)
>
>	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>	
>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>	
>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>	
>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>	
>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>	org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>	org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>	org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
>	org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
>	org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>	org.apache.jasper.compiler.Validator.validate(Validator.java:1679)
>	org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
>	org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
>	org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>	org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
>	
>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
>
>	
>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314)
>
>	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)
>	
>com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:413
>)
>	
>com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImp
>l.java:480)
>	
>com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)
>
>	
>com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:13
>3)
>	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
>	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>	javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: dev-help@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message