Hi, When you get an error processing your web.xml, the entire context becomes unavailable: all requests to it will result in 4xx or 5xx errors, depending on the request. As for the specific error: http://marc.theaimsgroup.com/?l=tomcat-user&w=2&r=1&s=Exception+processi ng+tld&q=b
Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 25, 2004 2:31 PM >To: [EMAIL PROTECTED] >Subject: RE: New User Web.xml question > > >Tomcat Log for web app, after I add taglibs to web.xml: >2004-02-25 13:41:02 WebappLoader[]: Deploying class repositories to work >directory C:\Program Files\Apache Group\Tomcat >4.1\work\Standalone\www.company.com\_ >2004-02-25 13:41:02 WebappLoader[]: Deploy class files /WEB-INF/classes to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\classes >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/dom.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\dom.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxen-full.jar >to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jaxen-full.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jaxp-api.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jaxp-api.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR >/WEB-INF/lib/jdbc2_0-stdext.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jdbc2_0-stdext.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/jstl.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\jstl.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/sax.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\sax.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/saxpath.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\saxpath.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/standard.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\standard.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/xalan.jar to >E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\xalan.jar >2004-02-25 13:41:02 WebappLoader[]: Deploy JAR /WEB-INF/lib/xercesImpl.jar >to E:\Inetpub\wwwroot\www.company.com\WEB-INF\lib\xercesImpl.jar >2004-02-25 13:41:02 WebappLoader[]: Reloading checks are enabled for this >Context >2004-02-25 13:41:02 ContextConfig[] Exception processing TLD at resource >path /WEB-INF/c.tld >javax.servlet.ServletException: Exception processing TLD at resource path >/WEB-INF/c.tld > at >org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java :101 >0 >) > at >org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:87 0) > at >org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) > at >org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. java >: >243) > at >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo >r >t.java:166) > at >org.apache.catalina.core.StandardContext.start(StandardContext.java:356 8) > at >org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConf ig.j >a >va:614) > at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854) > at java.lang.Thread.run(Thread.java:534) >----- Root Cause ----- >java.lang.IllegalArgumentException: Invalid TLD resource path /WEB- >INF/c.tld > at >org.apache.catalina.startup.ContextConfig.tldScanTld(ContextConfig.java :100 >2 >) > at >org.apache.catalina.startup.ContextConfig.tldScan(ContextConfig.java:87 0) > at >org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:647) > at >org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig. java >: >243) > at >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo >r >t.java:166) > at >org.apache.catalina.core.StandardContext.start(StandardContext.java:356 8) > at >org.apache.catalina.startup.HostConfig.checkWebXmlLastModified(HostConf ig.j >a >va:614) > at org.apache.catalina.startup.HostConfig.run(HostConfig.java:854) > at java.lang.Thread.run(Thread.java:534) > >2004-02-25 13:41:02 ContextConfig[]: Marking this application unavailable >due to previous error(s) >2004-02-25 13:41:02 StandardManager[]: Seeding random number generator >class >java.security.SecureRandom >2004-02-25 13:41:02 StandardManager[]: Seeding of random number generator >has been completed >2004-02-25 13:41:02 StandardContext[]: Context startup failed due to >previous errors >2004-02-25 13:41:39 StandardHost[www.company.com]: Removing web application >at context path >2004-02-25 13:41:39 StandardHost[www.company.com]: >ContainerBase.removeChild: stop: >LifecycleException: Container StandardContext[] has not been started > at >org.apache.catalina.core.StandardContext.stop(StandardContext.java:3644 ) > at >org.apache.catalina.core.ContainerBase.removeChild(ContainerBase.java:1 036) > at >org.apache.catalina.core.StandardHostDeployer.remove(StandardHostDeploy er.j >a >va:470) > at >org.apache.catalina.core.StandardHost.remove(StandardHost.java:852) > at >org.apache.catalina.startup.HostConfig.undeployApps(HostConfig.java:758 ) > at org.apache.catalina.startup.HostConfig.stop(HostConfig.java:738) > at >org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:3 60) > at >org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleS uppo >r >t.java:166) > at >org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1221) > at >org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1233) > at >org.apache.catalina.core.StandardService.stop(StandardService.java:554) > at >org.apache.catalina.core.StandardServer.stop(StandardServer.java:2225) > at >org.apache.catalina.startup.CatalinaService.stop(CatalinaService.java:2 95) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at >sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.ja va:3 >9 >) > at >sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccesso rImp >l >.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at >org.apache.catalina.startup.BootstrapService.stop(BootstrapService.java :260 >) > at >org.apache.catalina.startup.BootstrapService.main(BootstrapService.java :309 >) > >-----Original Message----- >From: Shapira, Yoav [mailto:[EMAIL PROTECTED] >Sent: Wednesday, February 25, 2004 1:52 PM >To: Tomcat Users List >Subject: RE: New User Web.xml question > > >Howdy, > >>When I restart Tomcat, I get a 404 error. Any ideas? > >You don't get a 404 error when you restart tomcat. You get a 404 error >when you try to access some resource that tomcat can't find. What >resource, what is its mapping if any, and what errors are in your logs? > >Yoav Shapira > > > >This e-mail, including any attachments, is a confidential business >communication, and may contain information that is confidential, >proprietary >and/or privileged. This e-mail is intended only for the individual(s) to >whom it is addressed, and may not be saved, copied, printed, disclosed or >used by anyone else. If you are not the(an) intended recipient, please >immediately delete this e-mail from your computer system and notify the >sender. Thank you. > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]