1 Reply Latest reply on Feb 23, 2004 6:39 AM by rmaucher

    JBoss 3.2.3 RC1 and Tomcat 5 with Struts Tiles

    gchen77

      I know that the Tomcat 5 integration is not complete so this is more just FYI while you guys are fixing bugs with it.

      I get the following when using Struts Tiles.
      I'm using the tlds that are packaged in the struts jar and not making a copy of it nor referencing it in my web.xml. This is allowed by the JSP standard.
      The same war application will work in Tomcat 5.0.18 standalone. :-/

      23:34:27,280 INFO [TilesRequestProcessor] Tiles definition factory found for request processor ''.
      23:34:27,471 ERROR [Engine] ApplicationDispatcher[/rademaker-ui] Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-tiles cannot be resolved in e
      ither web.xml or the jar files deployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:358)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:190)
       at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
       at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:525)
       at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1616)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:173)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
       at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:243)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
       at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
       at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
       at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
       at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
       at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
       at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:707)
       at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:41)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:87)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
       at java.lang.Thread.run(Thread.java:534)
      23:34:27,481 ERROR [Engine] ApplicationDispatcher[/rademaker-ui] Servlet.service() for servlet action threw exception
      org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-tiles cannot be resolved in e
      ither web.xml or the jar files deployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:358)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:190)
       at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
       at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:525)
       at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1616)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:173)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
       at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:243)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
       at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
       at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
       at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
       at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
       at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
       at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:707)
       at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:41)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:87)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
       at java.lang.Thread.run(Thread.java:534)
      23:34:27,491 ERROR [Engine] StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
      org.apache.jasper.JasperException: The absolute uri: http://jakarta.apache.org/struts/tags-tiles cannot be resolved in e
      ither web.xml or the jar files deployed with this application
       at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:94)
       at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:404)
       at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:154)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:358)
       at org.apache.jasper.compiler.TagLibraryInfoImpl.<init>(TagLibraryInfoImpl.java:190)
       at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:460)
       at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:525)
       at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1616)
       at org.apache.jasper.compiler.Parser.parse(Parser.java:173)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:247)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:149)
       at org.apache.jasper.compiler.ParserController.parse(ParserController.java:135)
       at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:243)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:459)
       at org.apache.jasper.compiler.Compiler.compile(Compiler.java:442)
       at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
       at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
       at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:274)
       at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:254)
       at org.apache.struts.tiles.TilesRequestProcessor.internalModuleRelativeForward(TilesRequestProcessor.java:341)
       at org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582)
       at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260)
       at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
       at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:742)
       at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:506)
       at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:443)
       at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
       at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:707)
       at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
       at org.apache.jsp.index_jsp._jspService(index_jsp.java:41)
       at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
       at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
       at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:87)
       at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
       at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
       at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
       at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
       at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
       at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:563)
       at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
       at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:209)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:781)
       at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:549)
       at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:589)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:666)
       at java.lang.Thread.run(Thread.java:534)