shale-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reind (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SHALE-305) commonsValidator has a dependency on JSP that should be removed (for facelets + JSF1.2RI support)
Date Fri, 06 Oct 2006 22:47:15 GMT
     [ http://issues.apache.org/struts/browse/SHALE-305?page=all ]

Reind updated SHALE-305:
------------------------

    Attachment: site.patch

patch as described in original report.

> commonsValidator has a dependency on JSP that should be removed (for facelets + JSF1.2RI
support)
> -------------------------------------------------------------------------------------------------
>
>                 Key: SHALE-305
>                 URL: http://issues.apache.org/struts/browse/SHALE-305
>             Project: Shale
>          Issue Type: Bug
>         Environment: Facelets 1.1.11
> JBoss 4.0.4GA (Tomcat 5.5)
> Sun JSF 1.2_01
> Tomahawk 1.1.5-SNAPSHOT
>            Reporter: Reind
>         Attachments: site.patch
>
>
> A NoClassDefFoundError is raised when using the commonsValidator component. There are
a few other places in shale that
> This is likely caused by calls to UIComponentTag.isValueReference().
> A similar issue was reported by Ryan Lubke for the MyFaces Tomahawk project:
> https://issues.apache.org/jira/browse/TOMAHAWK-589
> The attached patch contains the same method contributed by Ryan to Tomahawk. Similar
changes should be made throughout shale (to a few places in shale-clay and shale-core).
> stacktrace follows:
> java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/JspIdConsumer
> 	java.lang.ClassLoader.defineClass1(Native Method)
> 	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> 	org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
> 	org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
> 	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
> 	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
> 	java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 	java.lang.ClassLoader.defineClass1(Native Method)
> 	java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> 	java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> 	org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1812)
> 	org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:866)
> 	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1319)
> 	org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
> 	java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 	org.apache.shale.validator.faces.ValidatorInputRenderer.encodeBegin(ValidatorInputRenderer.java:141)
> 	javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
> 	javax.faces.component.UIComponent.encodeAll(UIComponent.java:881)
> 	javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
> 	javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
> 	javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
> 	javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
> 	com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:578)
> 	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:134)
> 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
> 	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
> 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
> 	org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
> 	org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:267)
> 	org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message