Thanks Jeanfrancois,

That was exactly the problem.  I was surprised to find that there is no web.xml 
validation in the ant  or Tomcat deployment process.  Maybe I'll pass that through a 
validator from now on. :)

New issue.  Upon server start everything is OK.  When I pull up my application 
(http://localhost:8080/ISOdownload/index.jsp) I receive an exception in the server.  
The exception tells me that it is unable to find 
org.apache.jasper.runtime.HttpJspBase, which cannot be right - something must be 
wrapping this exception.  Afterwards the exception occurs at intervals.  Full output 
is below.  Thanks in advance for your help:

-----------------------------------------
Oct 23, 2002 9:55:39 AM org.apache.commons.modeler.Registry loadRegistry
INFO: Loading registry information
Oct 23, 2002 9:55:39 AM org.apache.commons.modeler.Registry getRegistry
INFO: Creating new Registry instance
Oct 23, 2002 9:55:40 AM org.apache.commons.modeler.Registry getServer
INFO: Creating MBeanServer
Oct 23, 2002 9:55:43 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on port 8080
Starting service Tomcat-Standalone
Apache Tomcat/4.1.12
WebappClassLoader: addRepository(/WEB-INF/classes/)
WebappClassLoader: loadClass(java.lang.Integer, false)
WebappClassLoader: loadClass(java.lang.Number, false)
Oct 23, 2002 9:55:50 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on port 8080
Oct 23, 2002 9:55:50 AM org.apache.jk.common.ChannelSocket init
INFO: JK2: ajp13 listening on tcp port 8009
Oct 23, 2002 9:55:50 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=10/30  config=C:\Apache\Tomcat4.1\conf\jk2.properties
WebappClassLoader: modified()
WebappClassLoader: modified()

< HERE IS WHERE I OPEN MY INDEX.JSP>

WebappClassLoader: getResource(index_jsp.class)
WebappClassLoader:   Searching local repositories
WebappClassLoader:     findResource(index_jsp.class)
WebappClassLoader:     --> Resource not found, returning null
WebappClassLoader:   --> Resource not found, returning null
WebappClassLoader: loadClass(org.apache.jasper.runtime.HttpJspBase, false)
WebappClassLoader:   Searching local repositories
WebappClassLoader:     findClass(org.apache.jasper.runtime.HttpJspBase)
WebappClassLoader:       findClassInternal(org.apache.jasper.runtime.HttpJspBase)
WebappClassLoader:     --> Passing on ClassNotFoundException
java.lang.ClassNotFoundException: org.apache.jasper.runtime.HttpJspBase
        at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1608)
        at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:197)
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:431)
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:215)
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
        at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:504)
        at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:145)
        at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:383)
        at org.apache.jasper.compiler.Compiler.isOutDated(Compiler.java:333)
        at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:472)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:184)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(java.util.List, false)
WebappClassLoader: loadClass(javax.servlet.Servlet, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.ServletRequest, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.ServletResponse, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.jsp.JspFactory, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.http.HttpServletResponse, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.jsp.PageContext, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.jsp.JspWriter, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(org.apache.jasper.runtime.JspRuntimeLibrary, false)
WebappClassLoader:   Searching local repositories
WebappClassLoader:     findClass(org.apache.jasper.runtime.JspRuntimeLibrary)
WebappClassLoader:       findClassInternal(org.apache.jasper.runtime.JspRuntimeLibrary)
WebappClassLoader:     --> Passing on ClassNotFoundException
java.lang.ClassNotFoundException: org.apache.jasper.runtime.JspRuntimeLibrary
        at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1608)
        at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:197)
        at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
        at org.apache.jsp.index_jsp._jspService(index_jsp.java:52)
        at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:136)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:204)
        at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:289)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:240)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2396)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at 
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
        at 
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
        at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
        at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
        at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:405)
        at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:380)
        at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:508)
        at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:533)
        at java.lang.Thread.run(Thread.java:536)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.http.HttpServletResponse, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(javax.servlet.http.HttpServletRequest, false)
WebappClassLoader:   Delegating to parent classloader
WebappClassLoader:   Loading class from parent
WebappClassLoader: loadClass(java.util.Enumeration, false)
WebappClassLoader: loadClass(java.lang.String, false)
WebappClassLoader: loadClass(java.lang.StringBuffer, false)
WebappClassLoader: loadClass(java.io.PrintWriter, false)
WebappClassLoader: modified()
-------------------------------------------------------------------------




>>> [EMAIL PROTECTED] 10/22/02 08:04PM >>>
Seems to be related to a parsing error. Are you sure your web.xml file 
is a proper XML instance? Try to validate your XML file againts the DTD 
included in the DOCTYPE element of the file.

-- Jeanfrancois

Becky Phaneuf wrote:

>Hello,
>
>After installing Tomcat 4.1.12 I copied a relatively simple web application called 
>ISOdownload (1 jsp invoking 1 servlet that prints http headers) from my post-ant 
>build directory to /webapps/ISOdownload/.  Upon restarting Tomcat I received the 
>exception below:
>
>-----------------
>Oct 22, 2002 3:41:54 PM org.apache.commons.modeler.Registry loadRegistry
>INFO: Loading registry information
>Oct 22, 2002 3:41:55 PM org.apache.commons.modeler.Registry getRegistry
>INFO: Creating new Registry instance
>Oct 22, 2002 3:41:55 PM org.apache.commons.modeler.Registry getServer
>INFO: Creating MBeanServer
>Oct 22, 2002 3:41:58 PM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>Starting service Tomcat-Standalone
>Apache Tomcat/4.1.12
>WebappClassLoader: addRepository(/WEB-INF/classes/)
>Oct 22, 2002 3:42:05 PM org.apache.commons.digester.Digester endElement
>SEVERE: End event threw exception
>java.lang.reflect.InvocationTargetException
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:228)
>        at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:260)
>        at org.apache.commons.digester.Digester.endElement(Digester.java:1036)
>        at 
>org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:579)
>        at 
>org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceBinder.java:646)
>        at 
>org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTDValidator.java:1972)
>        at 
>org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValidator.java:878)
>        at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndElement(XMLDocumentFragmentScannerImpl.java:144)
>        at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:987
>        at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentcannerImpl.java:1445)
>        at 
>org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:333)
>        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:524)
>        at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:580)
>        at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
>        at 
>org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1169)
>        at org.apache.commons.digester.Digester.parse(Digester.java:1495)
>        at 
>org.apache.catalina.startup.ContextConfig.applicationConfig(ContextConfig.java:282)
>        at org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:639)
>        at 
>org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:243)
>        at 
>org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:166)
>        at org.apache.catalina.core.StandardContext.start(StandardContext.java:3493)
>        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>        at org.apache.catalina.core.StandardHost.start(StandardHost.java:738)
>        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1188)
>        at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:347)
>        at org.apache.catalina.core.StandardService.start(StandardService.java:497)
>        at org.apache.catalina.core.StandardServer.start(StandardServer.java:2189)
>        at org.apache.catalina.startup.Catalina.start(Catalina.java:510)
>        at org.apache.catalina.startup.Catalina.execute(Catalina.java:400)
>        at org.apache.catalina.startup.Catalina.process(Catalina.java:180)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at 
>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>        at 
>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:324)
>        at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:203)
>Caused by: java.lang.IllegalArgumentException: Filter mapping specifies an unknown 
>filter name Servlet Mapped Filter
>        at 
>org.apache.catalina.core.StandardContext.addFilterMap(StandardContext.java:1472)
>        ... 39 more
>WebappClassLoader: loadClass(java.lang.Integer, false)
>WebappClassLoader: loadClass(java.lang.Number, false)
>WebappClassLoader: loadClass(java.lang.Long, false)
>WebappClassLoader: loadClass(java.lang.Boolean, false)
>Oct 22, 2002 3:42:05 PM org.apache.coyote.http11.Http11Protocol start
>INFO: Starting Coyote HTTP/1.1 on port 8080l
>Oct 22, 2002 3:42:05 PM org.apache.jk.common.ChannelSocket init
>INFO: JK2: ajp13 listening on tcp port 8009
>Oct 22, 2002 3:42:05 PM org.apache.jk.server.JkMain start
>INFO: Jk running ID=0 time=10/30  config=C:\Apache\Tomcat4.1\conf\jk2.properties
>-----------------------------
>
>It's possible the exception has always occurred and wasn't caused by my actions 
>because originally I let the server start as a service, but didn't see anything 
>unusual in the logs when I went back to troubleshoot. 
>
>I found one instance of this issue for Tomcat 4.x in an archive of Tomcat bugs 
>(http://www.mail-archive.com/tomcat-dev@;jakarta.apache.org/msg35150.html), but it was 
>not confirmed (as of that post), and nagoya.apache.org appears to be down.  Any help 
>would be appreciated.  I have not modified server.xml in any way.
>
>Thank you!
>-Becky
>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
>
>
>  
>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to