Return-Path: Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 62423 invoked from network); 11 Jul 2000 18:46:57 -0000 Received: from unknown (HELO mail.tenzing.com) (qmailr@209.100.201.10) by locus.apache.org with SMTP; 11 Jul 2000 18:46:57 -0000 Received: (qmail 10280 invoked from network); 11 Jul 2000 18:46:54 -0000 Received: from unknown (HELO AKRAMLIK2K) (209.100.201.57) by 209.100.201.10 with SMTP; 11 Jul 2000 18:46:54 -0000 From: "Aron Kramlik" To: Subject: error page deployment descriptor Date: Tue, 11 Jul 2000 11:44:37 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <031124ACED5ED311BDD50000C0F0620098F276@cismail.creativeis.com> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal Hello, I have encountered a problem when I added the error page element to the web deployment descriptor. It's complaining something about the tag library DTD. I am using Tomcat 3.1 and Apache 1.3.9 on Linux (RedHat and/or Mandrake). I have 3 application contexts (air, gcs, portal). In the tomcat/webapps/air/WEB-INF/web.xml I added the following to the webapps element. 404 http://localhost/air/inaccessibleURL.html I get an error when I access a JSP. I use custom tags and the DTD for this is specified in the same web.xml file as: http://localhost/air/gcs-taglib /WEB-INF/jsp/gcs-taglib.tld I have the DTD in the following file system location: tomcat/webapps/air/WEB-INF/jsp/gcs-taglib.tld The error when I access a JSP is: Internal Servlet Error: org.apache.jasper.JasperException: Unable to open taglibrary http://localhost/gcs/gcs-taglib : Parse Error in the tag library descriptor: Element "web-app" does not allow "error-page" here. at org.apache.jasper.compiler.JspParseEventListener.handleDirective(JspParseEve ntListener.java:672) at org.apache.jasper.compiler.DelegatingListener.handleDirective(DelegatingList ener.java:116) at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:215) at org.apache.jasper.compiler.Parser.parse(Parser.java:1073) at org.apache.jasper.compiler.Parser.parse(Parser.java:1038) at org.apache.jasper.compiler.Parser.parse(Parser.java:1034) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:182) at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspSe rvlet.java:149) at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja va:161) at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261) at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.RequestDispatcherImpl.forwardRequestDispatcherImpl.ja va:163) at com.tenzing.servlet.RequestContextImpl.forward(RequestContextImpl.java:149) at com.tenzing.servlet.jsp.JSPLauncherServlet.processJSP(JSPLauncherServlet.jav a:198) at com.tenzing.servlet.jsp.JSPLauncherServlet.doGetDerivedJSPLauncherServlet.ja va:149) at com.tenzing.servlet.ServletBase.handleRequest(ServletBase.java:306) at com.tenzing.servlet.ServletBase.doGet(ServletBase.java:146) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559) at org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection (Ajp12ConnectionHandler.java:156) at org.apache.tomcat.service.TcpWorkerThread.run(PoolTcpEndpoint.java:366) at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:411) at java.lang.Thread.run(Thread.java:475) Thanks for your help, Aron --- Aron Kramlik Software Engineer Tenzing Communications Inc, Seattle WA aron.kramlik@tenzing.com 425-895-2708