Re: MyFaces 1.1.5 and Geronimo 2.0.2
filename. That jar (like all the other JavaEE API jars) is automatically inherited by webapps deployed into Geronimo as a descendent of the jee-specs component. I have verified that this works using the MyFaces 1.1.5 sample app. Obviously after taking these steps you would no longer have a JavaEE 5 compliant container since every JSF enabled webapp in the container would be using the JSF 1.1 API. Best wishes, Paul On Nov 1, 2007, at 1:30 PM, David Jencks wrote: Paul may have more info, but my understanding is that for javaee compliance we need to, by default, support myfaces 1.2 and ignore any attempt to use earlier/other jsf implementations. You might be able to disable this support by turning off the myfaces and myfaces-deployer modules in config.xml by adding a load=false attribute. I can't promise this will work but it might be worth a try. thanks david jencks On Nov 1, 2007, at 8:57 AM, Jochen Zink wrote: Hello all, I try to deploy a JSF-Webapplication which depends on myfaces 1.1.5. This Application runs successfully under Tomcat 6. Know, I want deploy this application under Geronimo 2.0.2. With exactly the same WAR file, nothing is happen. No Error Messages and no HTML Page is shown in the browser, if I call the URL from the Webapplication. Just a empty page, containing no HTML appears. I expect, that this could be, that Geronimo has myfaces1.2 Libs loaded. After this, I added dep:hidden-classes dep:filterorg.apache.myfaces/dep:filter /dep:hidden-classes to the deploymentdescriptor of the Webapp. And know I get the following Error Message, after calling the WebApplication URL: Some Messages looks like this: An error occurred at line: 114 in the jsp file: /template.jsp The method setHeight(String) in the type HtmlGraphicImageTagBase is not applicable for the arguments (JspValueExpression) 111: h:graphicImage value=pics/spacer.gif width=0 height=20 / 112: h:outputText / 113: h:graphicImage value=pics/spacer.gif width=0 height=20 / 114: h:graphicImage value=pics/spacer.gif width=0 height=20 / 115: 116: h:outputText / 117: h:outputText / And an Exception which looks like: javax.servlet.ServletException: java.lang.InstantiationException: Can't load class org.apache.jsp.template_jsp in classloader: [EMAIL PROTECTED] javax.faces.webapp.FacesServlet.service(FacesServlet.java: 152) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (ExtensionsFilter.java:147) root cause javax.faces.FacesException: java.lang.InstantiationException: Can't load class org.apache.jsp.template_jsp in classloader: [EMAIL PROTECTED] org.apache.myfaces.context.servlet.ServletExternalContextImpl.disp atc h(ServletExternalContextImpl.java:425) org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImp l.d ispatch(JspTilesViewHandlerImpl.java:236) org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImp l.r enderView(JspTilesViewHandlerImpl.java:222) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute (RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render (LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java: 138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (ExtensionsFilter.java:147) Has anyone an idea, what I must do, to use myfaces 1.1.5 with geronimo 2.0.2? We're not able to switch to myfaces 1.2! Thanks! Regards Jochen __ ___ __ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/? mc=00
Re: MyFaces 1.1.5 and Geronimo 2.0.2
) org.apache.myfaces.lifecycle.LifecycleImpl.render (LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (ExtensionsFilter.java:147) Has anyone an idea, what I must do, to use myfaces 1.1.5 with geronimo 2.0.2? We're not able to switch to myfaces 1.2! Thanks! Regards Jochen _ __ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/? mc=00
MyFaces 1.1.5 and Geronimo 2.0.2
Hello all, I try to deploy a JSF-Webapplication which depends on myfaces 1.1.5. This Application runs successfully under Tomcat 6. Know, I want deploy this application under Geronimo 2.0.2. With exactly the same WAR file, nothing is happen. No Error Messages and no HTML Page is shown in the browser, if I call the URL from the Webapplication. Just a empty page, containing no HTML appears. I expect, that this could be, that Geronimo has myfaces1.2 Libs loaded. After this, I added dep:hidden-classes dep:filterorg.apache.myfaces/dep:filter /dep:hidden-classes to the deploymentdescriptor of the Webapp. And know I get the following Error Message, after calling the WebApplication URL: Some Messages looks like this: An error occurred at line: 114 in the jsp file: /template.jsp The method setHeight(String) in the type HtmlGraphicImageTagBase is not applicable for the arguments (JspValueExpression) 111:h:graphicImage value=pics/spacer.gif width=0 height=20 / 112:h:outputText / 113:h:graphicImage value=pics/spacer.gif width=0 height=20 / 114:h:graphicImage value=pics/spacer.gif width=0 height=20 / 115: 116:h:outputText / 117:h:outputText / And an Exception which looks like: javax.servlet.ServletException: java.lang.InstantiationException: Can't load class org.apache.jsp.template_jsp in classloader: [EMAIL PROTECTED] javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) root cause javax.faces.FacesException: java.lang.InstantiationException: Can't load class org.apache.jsp.template_jsp in classloader: [EMAIL PROTECTED] org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:425) org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.dispatch(JspTilesViewHandlerImpl.java:236) org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.renderView(JspTilesViewHandlerImpl.java:222) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) Has anyone an idea, what I must do, to use myfaces 1.1.5 with geronimo 2.0.2? We're not able to switch to myfaces 1.2! Thanks! Regards Jochen ___ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=00
Re: MyFaces 1.1.5 and Geronimo 2.0.2
Paul may have more info, but my understanding is that for javaee compliance we need to, by default, support myfaces 1.2 and ignore any attempt to use earlier/other jsf implementations. You might be able to disable this support by turning off the myfaces and myfaces-deployer modules in config.xml by adding a load=false attribute. I can't promise this will work but it might be worth a try. thanks david jencks On Nov 1, 2007, at 8:57 AM, Jochen Zink wrote: Hello all, I try to deploy a JSF-Webapplication which depends on myfaces 1.1.5. This Application runs successfully under Tomcat 6. Know, I want deploy this application under Geronimo 2.0.2. With exactly the same WAR file, nothing is happen. No Error Messages and no HTML Page is shown in the browser, if I call the URL from the Webapplication. Just a empty page, containing no HTML appears. I expect, that this could be, that Geronimo has myfaces1.2 Libs loaded. After this, I added dep:hidden-classes dep:filterorg.apache.myfaces/dep:filter /dep:hidden-classes to the deploymentdescriptor of the Webapp. And know I get the following Error Message, after calling the WebApplication URL: Some Messages looks like this: An error occurred at line: 114 in the jsp file: /template.jsp The method setHeight(String) in the type HtmlGraphicImageTagBase is not applicable for the arguments (JspValueExpression) 111: h:graphicImage value=pics/spacer.gif width=0 height=20 / 112:h:outputText / 113: h:graphicImage value=pics/spacer.gif width=0 height=20 / 114: h:graphicImage value=pics/spacer.gif width=0 height=20 / 115: 116:h:outputText / 117:h:outputText / And an Exception which looks like: javax.servlet.ServletException: java.lang.InstantiationException: Can't load class org.apache.jsp.template_jsp in classloader: [EMAIL PROTECTED] javax.faces.webapp.FacesServlet.service(FacesServlet.java:152) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (ExtensionsFilter.java:147) root cause javax.faces.FacesException: java.lang.InstantiationException: Can't load class org.apache.jsp.template_jsp in classloader: [EMAIL PROTECTED] org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch (ServletExternalContextImpl.java:425) org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.di spatch(JspTilesViewHandlerImpl.java:236) org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl.re nderView(JspTilesViewHandlerImpl.java:222) org.apache.myfaces.lifecycle.RenderResponseExecutor.execute (RenderResponseExecutor.java:41) org.apache.myfaces.lifecycle.LifecycleImpl.render (LifecycleImpl.java:132) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter (ExtensionsFilter.java:147) Has anyone an idea, what I must do, to use myfaces 1.1.5 with geronimo 2.0.2? We're not able to switch to myfaces 1.2! Thanks! Regards Jochen __ _ Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 3 Monate kostenlos testen. http://www.pc-sicherheit.web.de/startseite/? mc=00
Re: MyFaces 1.1.5 and Geronimo 2.0.2
On 11/1/07, David Jencks [EMAIL PROTECTED] wrote: Paul may have more info, but my understanding is that for javaee compliance we need to, by default, support myfaces 1.2 and ignore any attempt to use earlier/other jsf implementations. You might be able to disable this support by turning off the myfaces and myfaces-deployer modules in config.xml by adding a load=false attribute. I can't promise this will work but it might be worth a try. Good chance that will work. Alternatively, if you only require simple web container support (e.g. Tomcat), you can use the minimal server. Our minimal servers don't contain myfaces/myfaces-deployer. --kevan