1 2 Previous Next 16 Replies Latest reply on Apr 16, 2007 3:07 PM by Sergey Smirnov

    a4j-simpleRepeator does not work

    Chris Stell Newbie

      Hi,

      i am using Netbeans 5.5, JBoss 4.0.5 GA and JEE.
      I want to use the ajax4jsf for my jsf page...

      but when i deploy the a4j-simpleRepeator.war file i get some errors.
      i downloaded the file from here and renamed it from a4j-simpleRepeator.zip to a4j-simpleRepeator.war! Is this correct? I think so!

      But after the deploy i get this errors:
      on my webpage:

      HTTP Status 500 -
      
      --------------------------------------------------------------------------------
      
      type Exception report
      
      message
      
      description The server encountered an internal error () that prevented it from fulfilling this request.
      
      exception
      
      org.apache.jasper.JasperException: Exception in JSP: /index.jsp:5
      
      2: <html>
      3: <head></head>
      4: <body>
      5: <jsp:forward page="/demo.jsf" />
      6: </body>
      7: </html>
      
      
      Stacktrace:
       org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
       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:810)
       org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
       org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      root cause
      
      org.apache.jasper.JasperException: Exception in JSP: /demo.jsp:10
      
      7:
      8: </head>
      9: <body>
      10: <f:view>
      11: <h:form>
      12: <h:panelGrid columns="2">
      13:
      
      
      Stacktrace:
       org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
       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:810)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
       org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
       org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       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:810)
       org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
       org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      root cause
      
      java.lang.NullPointerException
       javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
       javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
       org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
       org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
       org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       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:810)
       com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
       org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
       org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
       com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       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:810)
       org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
       org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
       org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
      
      
      note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
      
      
      --------------------------------------------------------------------------------
      
      Apache Tomcat/5.5.20
      


      and jboss says:

      13:24:35,184 ERROR [UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.
      13:24:35,184 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NullPointerException
       at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
       at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
       at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
       at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
       at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
       at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:619)
      13:24:35,574 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
      java.lang.NullPointerException
       at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
       at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
      
       at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
       at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
       at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
       at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:619)
      13:24:35,606 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
      java.lang.NullPointerException
       at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
       at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
       at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
       at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
       at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
       at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
       at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
       at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
       at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
       at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
       at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
       at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
       at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
       at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
       at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
       at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
       at java.lang.Thread.run(Thread.java:619)
      




      so where is the problem? I did not change something on this example.

      Thanks for help

      Chris

        • 1. Re: a4j-simpleRepeator does not work
          Sergey Smirnov Master

          ajax4jsf examples have very old libraries there. Replace them before deploying.

          • 2. Re: a4j-simpleRepeator does not work
            Chris Stell Newbie

            nope still not works...

            http://labs.jboss.com/portal/jbossajax4jsf/demo/index.html
            the a4j-simpleRepeatorFacelets example works
            but the a4j-simpleRepeator not!

            Why?? Why does the example with facelets works? I think something is wrong with my jsp. But simple jsp pages works fine.

            and i thought i only need the ajax4jsf.jar and oscache.jar
            but why are there other jars in the example?

            chris

            • 3. Re: a4j-simpleRepeator does not work
              Ilya Shaikovsky Master

              clean the jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\ directory. It has the same libraries bundled by default and deply simpleRepeater without changes (except jar's updating). Works fine for me.

              • 4. Re: a4j-simpleRepeator does not work
                Chris Stell Newbie

                aaaahhh come on....
                i hate it!
                still not work.

                ajax4jsf-1.1.0.jar
                common-annotations.jar
                commons-beanutils-1.6.jar
                commons-collections-2.1.jar
                commons-digester-1.5.jar
                commons-logging-1.0.4.jar
                jsf-api-1.1_02.jar
                jsf-impl-1.1_02.jar
                jstl.jar
                oscache-2.3.2.jar
                standard.jar

                are the libs.
                i tried it with jsf 1.2.04 but still some errors...

                damn...

                • 5. Re: a4j-simpleRepeator does not work
                  Chris Stell Newbie

                  btw
                  this is from jboss

                  14:03:33,046 INFO [TomcatDeployer] deploy, ctxPath=/a4j-simpleRepeator, warUrl=.../tmp/deploy/tmp9471a4j-simpleRepeator-exp.war/
                  14:03:33,312 WARN [Digester] [ComponentRule]{faces-config/component} Merge(javax.faces.ViewRoot)
                  14:03:53,750 INFO [ServletCacheAdministrator] Created new instance of ServletCacheAdministrator
                  14:03:53,750 INFO [ServletCacheAdministrator] Created new application-scoped cache at key: __oscache_cache
                  14:03:53,953 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                  java.lang.NoClassDefFoundError: org.apache.myfaces.taglib.core.ViewTag
                   at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:104)
                   at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                   at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                   at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
                   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                   at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                   at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                   at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
                   at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                   at java.lang.Thread.run(Thread.java:619)
                  14:03:54,421 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
                  java.lang.NoClassDefFoundError: org.apache.myfaces.taglib.core.ViewTag
                   at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:104)
                   at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                   at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                   at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
                   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                   at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                   at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                   at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
                   at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                  
                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                   at java.lang.Thread.run(Thread.java:619)
                  14:03:54,421 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                  java.lang.NoClassDefFoundError: org.apache.myfaces.taglib.core.ViewTag
                   at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:104)
                   at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                   at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                   at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                   at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                   at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
                   at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                   at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                   at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                   at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                   at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                  
                   at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                   at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                   at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                  
                   at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                   at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                   at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                   at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                   at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
                   at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                   at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                   at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                   at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                   at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                   at java.lang.Thread.run(Thread.java:619)
                  
                  


                  • 6. Re: a4j-simpleRepeator does not work
                    Ilya Shaikovsky Master

                    try to clear your server cache carefully.

                    • 7. Re: a4j-simpleRepeator does not work
                      Sergey Smirnov Master

                      What if you temporary removed ajax4jsf from the project. Does it work fine?

                      • 8. Re: a4j-simpleRepeator does not work
                        Chris Stell Newbie

                        so guys...
                        now i downloaded the jboss 4.0.5 GA
                        http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=456223

                        than downloaded the a4j-simpleRepeator
                        http://webdownload.exadel.com//downloads/ajax4jsf/examples/a4j-simpleRepeator/a4j-simpleRepeator.war

                        changed nothing only rename it to .war!
                        does not work.
                        than delete the ajax4jsf and oscache and added the new jars (ajax4jsf and oscache )

                        but the jsf and common jars are still in the lib folder!
                        and of course...does not work

                        jboss:

                        20:12:57,078 ERROR [UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.
                        20:12:57,093 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                        java.lang.NullPointerException
                         at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
                         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
                         at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
                         at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
                         at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
                         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
                         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                         at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                        
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
                         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                         at java.lang.Thread.run(Thread.java:619)
                        20:12:57,390 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
                        java.lang.NullPointerException
                         at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
                         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
                        
                         at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
                         at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
                         at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
                         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
                         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                         at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
                         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                         at java.lang.Thread.run(Thread.java:619)
                        20:12:57,421 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                        java.lang.NullPointerException
                         at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
                         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
                         at org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70)
                         at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:107)
                         at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                        
                         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101)
                         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:221)
                         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                         at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:75)
                         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:213)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                         at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                         at java.lang.Thread.run(Thread.java:619)
                        



                        Is this JBoss version to old?? Something to configure in the JBoss?
                        I only downloaded it and run the run.bat.

                        Damn this is really frustrating...
                        Can anybody try the same?
                        Thanks

                        Chris

                        • 9. Re: a4j-simpleRepeator does not work
                          Sergey Smirnov Master

                          remove ajax4jsf and oscache from lib, remove ajax4jsf filter and filter mapping from web.xml. I.e. try to launch the application without ajax4jsf first.

                          • 10. Re: a4j-simpleRepeator does not work
                            Chris Stell Newbie

                            ah okay the problem is not ajax4jsf?!

                            21:11:48,156 INFO [TomcatDeployer] deploy, ctxPath=/a4j-simpleRepeator, warUrl=.../tmp/deploy/tmp57976a4j-simpleRepeator-exp.war/
                            21:12:13,062 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                            java.lang.NoClassDefFoundError: org.apache.myfaces.taglib.core.ViewTag
                             at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:104)
                             at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                             at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                             at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                             at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                             at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                             at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                            
                             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                             at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                             at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                             at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                             at java.lang.Thread.run(Thread.java:619)
                            21:12:13,171 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
                            java.lang.NoClassDefFoundError: org.apache.myfaces.taglib.core.ViewTag
                             at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:104)
                             at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                            
                             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                             at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                             at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                             at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                             at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                             at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                             at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                             at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                             at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                             at java.lang.Thread.run(Thread.java:619)
                            21:12:13,171 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
                            java.lang.NoClassDefFoundError: org.apache.myfaces.taglib.core.ViewTag
                             at org.apache.jsp.demo_jsp._jspx_meth_f_view_0(demo_jsp.java:104)
                             at org.apache.jsp.demo_jsp._jspService(demo_jsp.java:82)
                             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                             at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
                             at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
                             at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                             at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
                             at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
                             at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
                             at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
                             at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
                             at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
                             at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:688)
                             at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:658)
                             at org.apache.jsp.index_jsp._jspService(index_jsp.java:48)
                             at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                             at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
                             at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
                             at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
                             at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
                            
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
                             at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
                             at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
                             at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
                             at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
                             at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
                             at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
                             at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
                             at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
                             at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
                             at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
                             at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
                             at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
                             at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
                             at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
                             at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
                             at java.lang.Thread.run(Thread.java:619)
                            


                            web.xml

                            <?xml version="1.0" encoding="UTF-8"?>
                            <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
                             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                             <display-name>a4j-simpleRepeator</display-name>
                             <context-param>
                             <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                             <param-value>server</param-value>
                             </context-param>
                             <listener>
                             <listener-class>com.sun.faces.config.ConfigureListener</listener-class>
                             </listener>
                             <servlet>
                             <servlet-name>Faces Servlet</servlet-name>
                             <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                             <load-on-startup>1</load-on-startup>
                             </servlet>
                             <servlet-mapping>
                             <servlet-name>Faces Servlet</servlet-name>
                             <url-pattern>*.jsf</url-pattern>
                             </servlet-mapping>
                            </web-app>
                            
                            


                            • 11. Re: a4j-simpleRepeator does not work
                              Sergey Smirnov Master

                              I wonder, why it is a problem with missing MyFaces class if:
                              a) simpleRepeator has no MyFaces inside (it uses jsf-ri 1.0)
                              b) it has nothing in the web.xml that can provoke loading MyFaces implementation

                              So, it sounds you have some correlation with other application installed in the same run-time

                              • 12. Re: a4j-simpleRepeator does not work
                                Chris Stell Newbie

                                yeeeeahhh! Damn it works!
                                I made a new Netbeans Project and changed the web.xml and now it works!
                                Great

                                Thanks for help anyway

                                • 13. Re: a4j-simpleRepeator does not work
                                  Ilya Shaikovsky Master

                                  As I already mentioned I was able to see this problem also. As far as all my applications provide the library in own web-inf/lib folders - I just removed all jsf jars from common (jboss-4.0.5.GA\server\default\deploy\jbossweb-tomcat55.sar\jsf-libs\) folder of the JBoss. After cleaning cache and restart - works fine. Did you tried to clean this folder?

                                  • 14. Re: a4j-simpleRepeator does not work
                                    Ilya Shaikovsky Master

                                    Sorry I have small mistake in previous post, I mean all my test applications provides all needed jars in web-inf/lib.. So no need in jars bundled with JBoss.

                                    1 2 Previous Next