In Tomahawl 1.1.3, this class (HtmlBufferResponseWriterWrapper) is in
/org/apache/myfaces/renderkit/html/util/.

BTW:  I really like JSF/MyFaces/Tomahawk when they work; but the promise of JSF 
making my life
easier has turned out to be a false promise.  In the time I've spent figuring 
out config issues in
JSF I could have gotten a lot more done using Struts. :(

Mike



--- Mike Duffy <[EMAIL PROTECTED]> wrote:

> Did anyone find a solution to this?
> 
> Here is my stack trace which is different from the one in this thread:
> 
> java.lang.NoClassDefFoundError: 
> org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper
>         at java.lang.Class.getDeclaredConstructors0(Native Method)
>         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
>         at java.lang.Class.getConstructor0(Class.java:2640)
>         at java.lang.Class.newInstance0(Class.java:321)
>         at java.lang.Class.newInstance(Class.java:303)
>         at 
> org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:274)
>         at 
> org.apache.myfaces.shared_impl.util.ClassUtils.newInstance(ClassUtils.java:265)
>         at
> org.apache.myfaces.config.FacesConfigurator.configureLifecycle(FacesConfigurator.java:652)
>         at 
> org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:144)
>         at
>
org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:66)
>         at
>
org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:49)
>         at 
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729)
>         at 
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4183)
>         at 
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
>         at 
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
>         at 
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
> 
> 
> ---------------------------------------------------------------------------------
> ---------------------------------------------------------------------------------
> 
> 
> By default filters do not run on forward and include, only on initial
> requests. With the servlet 2.4 spec (I don't think 2.3 has it), there
> is a new DISPATCHER element for filters. Possible values that I use
> are REQUEST, INCLUDE and FORWARD. Once I did that my JSF installation
> was able to run the MyFaces extension filter for internal forwards and
> includes (like during a container managed forward to a JSF security
> page for example).
> 
> -Andrew
> 
> On 6/11/06, Richard Capraro <[EMAIL PROTECTED]> wrote:
> > Stacktrace:
> >        
> org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
> >         
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
> >         
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >
> > *cause m�re*
> >
> > javax.servlet.ServletException: ExtensionsFilter not correctly configured. 
> > JSF mapping
> missing. JSF pages not covered. Please see:
> http://myfaces.apache.org/tomahawk/extensionsFilter.html
> >         javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
> >         
> > org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:703)
> >         
> > org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:670)
> >         org.apache.jsp.index_jsp._jspService(index_jsp.java:52)
> >         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >         
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
> >         
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
> >         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
> >         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> >
> >
> > Regards,
> >
> > Richard
> >
> > Matthias Wessendorf a �crit :
> > > strange.
> > >
> > > can you provide the full stack trace ?
> > >
> > > -Matthias
> > >
> > > On 6/11/06, Richard Capraro <[EMAIL PROTECTED]> wrote:
> > >> Hello, Matthias,
> > >> with <jsp:forward page="/login.jsf"/>, i get:
> > >> javax.servlet.ServletException: ExtensionsFilter not correctly
> > >> configured. JSF mapping missing. JSF pages not covered. Please see:
> > >> http://myfaces.apache.org/tomahawk/extensionsFilter.html
> > >>
> > >>
> > >> the web.xml i use is this one:
> > >>
>
http://svn.apache.org/repos/asf/myfaces/tomahawk/branches/1_1_3/examples/simple/src/main/webapp/WEB-INF/web.xml
> > >>
> > >>
> > >> 2006/6/10, Matthias Wessendorf <[EMAIL PROTECTED]>:
> > >> > what's with
> > >> >
> > >> > <jsp:forward page="/login.jsf"/>
> > >> >
> > >> > -Matthias
> > >> >
> > >> > On 6/10/06, Richard Capraro <[EMAIL PROTECTED]> wrote:
> > >> > > Thanks Andrew,
> > >> > > i managed to get it work, replacing a <jsp:forward
> > >> page="login.jsf"> by a <%
> > >> > > response.sendRedirect("login.jsf");
> > >> > > %>
> > >> > >
> > >> > > Strange but it works...
> > >> > >
> > >> > > 2006/6/8, Andrew Robinson <[EMAIL PROTECTED]>:
> > >> > > > In 1.1.2 it is located at
> > >> > > >
> > >> > > >
> > >> org.apache.myfaces.renderkit.html.util.HtmlBufferResponseWriterWrapper
> > >> > > >
> > >> > > > Is it possible that you have something cached or old still
> > >> lying around?
> > >> > > >
> > >> > > > On 6/8/06, Richard Capraro <[EMAIL PROTECTED]>
> wrote:
> > >> > > > > Hello,
> > >> > > > > i have a problem, which was already mentionned in the list,
> > >> but never resolved.
> > >> > > > >
> > >> > > > > When i use myfaces core 1.1.3 and tomahawk 1.1.2, with tomcat
> > >> 5.5.17,
> > >> > > > > the server starts with error
> > >> > > > >
> > >> > > > > java.lang.NoClassDefFoundError:
> > >> > > > > org/apache/myfaces/custom/buffer/HtmlBufferResponseWriterWrapper
> > >> > > > >
> > >> > > > > There is no HtmlBufferResponseWriterWrapper class in tomahawk
> > >> package.
> > >> > > > >
> > >> > > > > I have all required commons jar.
> > >> > > > > My web.xml and extensionsFilter are well configured, exactly
> > >> like
> > >> > > > > explained in
> > >> http://myfaces.apache.org/tomahawk/extensionsFilter.html
> > >> > > > >
> > >> > > > > What is the problem ?
> > >> > > > >
> > >> > > > > versions:
> > >> > > > > commons-beanutils-1.7.0.jar
> > >> > > > > commons-codec-1.3.jar
> > >> > > > > commons-collections-3.1.jar
> > >> > > > > commons-digester-1.6.jar
> > >> > > > > commons-el-1.0.jar
> > >> > > > > commons-lang-2.1.jar
> > >> > > > > commons-logging-1.0.4.jar
> > >> > > > > jstl-1.1.0.jar
> > >> > > > > myfaces-api-1.1.3.jar
> > >> > > > > myfaces-impl-1.1.3.jar
> > >> > > > > tomahawk-1.1.2.jar
> > >> > > > >
> > >> > > >
> > >> > >
> > >> >
> > >> >
> > >> > --
> > >> > Matthias Wessendorf
> > >> > Aechterhoek 18
> > >> > 48282 Emsdetten
> > >> > blog: http://jroller.com/page/mwessendorf
> > >> > mail: mwessendorf-at-gmail-dot-com
> > >> >
> > >>
> > >
> > >
> >
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to