tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becky Phaneuf" <PHAN...@wapa.gov>
Subject InvocationTargetException upon server start
Date Tue, 22 Oct 2002 23:21:56 GMT
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 8080
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>


Mime
View raw message