Do you think that web.xml problem is the reason for my ultimate problem, which is that accessing a jsp page causes a java.lang.NoSuchMethodError on the invoke? see below:
2002-08-28 09:35:23 Ajp13Connector[8009] Opening server socket on all host IP addresses 2002-08-28 09:35:23 Ajp13Connector[8009] Starting background thread 2002-08-28 09:35:23 Ajp13Processor[8009][0] Starting background thread 2002-08-28 09:35:23 Ajp13Processor[8009][1] Starting background thread 2002-08-28 09:35:23 Ajp13Processor[8009][2] Starting background thread 2002-08-28 09:35:23 Ajp13Processor[8009][3] Starting background thread 2002-08-28 09:35:23 Ajp13Processor[8009][4] Starting background thread 2002-08-28 09:36:10 Ajp13Processor[8009][4] process: invoke java.lang.NoSuchMethodError at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:436) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:458) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at java.lang.Thread.run(Thread.java:479) -Jill -----Original Message----- From: Andrew Conrad [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 9:31 AM To: 'Tomcat Users List' Subject: RE: XML parsing error on file /WEB-INF/web.xml Hey Jill, it doesn't look like anything is wrong with the manager web.xml, but I might be missing something. It seems that every Context is generating this error, and at the same location (line 7, col 10). Maybe it's the global web.xml file. Or you could have a bad server.xml file too. At this point, I would put in a copy of the original web.xml and server.xml and see if your errors still occur. - Andrew > -----Original Message----- > From: Jill Veronda [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, August 28, 2002 11:31 AM > To: Tomcat Users List > Subject: RE: XML parsing error on file /WEB-INF/web.xml > > > web.xml for webapps/manager/WEB-INF below: > > > Thanks for the help in advance! > > > <?xml version="1.0" encoding="ISO-8859-1"?> > > <!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" > "http://java.sun.com/dtd/web-app_2_3.dtd"> > > <web-app> > > <!-- Define the Manager Servlet > Change servlet-class to: > org.apache.catalina.servlets.HTMLManagerServlet > to get a Servlet with a more intuitive HTML interface, > don't change if you > have software that is expected to parse the output > from ManagerServlet > since they're not compatible. > --> > <servlet> > <servlet-name>Manager</servlet-name> > > <servlet-class>org.apache.catalina.servlets.ManagerServlet</se rvlet-class> > <init-param> > <param-name>debug</param-name> > <param-value>2</param-value> > </init-param> > </servlet> > > <!-- Define the Manager Servlet Mapping --> > <servlet-mapping> > <servlet-name>Manager</servlet-name> > <url-pattern>/*</url-pattern> > </servlet-mapping> > > <!-- Define a Security Constraint on this Application --> > <security-constraint> > <web-resource-collection> > <web-resource-name>Entire Application</web-resource-name> > <url-pattern>/*</url-pattern> > </web-resource-collection> > <auth-constraint> > <!-- NOTE: This role is not present in the default > users file --> > <role-name>manager</role-name> > </auth-constraint> > </security-constraint> > > <!-- Define the Login Configuration for this Application --> > <login-config> > <auth-method>BASIC</auth-method> > <realm-name>Tomcat Manager Application</realm-name> > </login-config> > > </web-app> > > > -----Original Message----- > From: Ben Walding [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, August 27, 2002 6:41 PM > To: Tomcat Users List > Subject: Re: XML parsing error on file /WEB-INF/web.xml > > > Posting your web.xml would make it easier! > > Jill Veronda wrote: > > >On starting tomcat 4.0.4 I get the error: > > > >2002-08-27 18:10:54 Exception initializing TldLocationsCache: XML > >parsing error on file /WEB-INF/web.xml: (line 7, col 10): > >Document root element "web-app", must match DOCTYPE root "web-app". > > > >Can anyone tell me what two places the error is referring to? I am > >using Tomcat 4.0.4, Apache 1.3.12 connected using mod_jk, > JDK 1.3.1 on > >Windows 2000 Server. > > > > > >Full log file below: > > > > > > > >2002-08-27 18:10:54 WebappLoader[/manager]: Deploying class > >repositories to work directory > C:\tomcat\work\Standalone\rack2\manager > >2002-08-27 18:10:54 StandardManager[/manager]: Seeding > random number generator class java.security.SecureRandom > >2002-08-27 18:10:54 StandardManager[/manager]: Seeding of > random number generator has been completed > >2002-08-27 18:10:54 ContextConfig[/manager]: Added > certificates -> request attribute Valve > >2002-08-27 18:10:54 ContextConfig[/manager]: Configured an > authenticator for method BASIC > >2002-08-27 18:10:54 StandardWrapper[/manager:default]: > Loading container servlet default > >2002-08-27 18:10:54 org.apache.catalina.servlets.DefaultServlet: init > >2002-08-27 18:10:54 StandardWrapper[/manager:invoker]: > Loading container servlet invoker > >2002-08-27 18:10:54 org.apache.catalina.servlets.InvokerServlet: init > >2002-08-27 18:10:54 org.apache.jasper.servlet.JspServlet: init > >2002-08-27 18:10:54 Exception initializing > TldLocationsCache: XML parsing error on file > /WEB-INF/web.xml: (line 7, col 10): Document root element > "web-app", must match DOCTYPE root "web-app". > >2002-08-27 18:10:54 StandardHost[rack2]: Installing web > application at context path from URL file:C:\tomcat\webapps\ROOT > >2002-08-27 18:10:54 WebappLoader[]: Deploying class > repositories to work directory C:\tomcat\work\Standalone\rack2\_ > >2002-08-27 18:10:54 StandardManager[]: Seeding random number > generator class java.security.SecureRandom > >2002-08-27 18:10:54 StandardManager[]: Seeding of random > number generator has been completed > >2002-08-27 18:10:54 ContextConfig[]: Added certificates -> > request attribute Valve > >2002-08-27 18:10:54 StandardWrapper[:default]: Loading > container servlet default > >2002-08-27 18:10:54 org.apache.catalina.servlets.DefaultServlet: init > >2002-08-27 18:10:54 StandardWrapper[:invoker]: Loading > container servlet invoker > >2002-08-27 18:10:54 org.apache.catalina.servlets.InvokerServlet: init > >2002-08-27 18:10:54 org.apache.jasper.servlet.JspServlet: init > >2002-08-27 18:10:54 Exception initializing > TldLocationsCache: XML parsing error on file > /WEB-INF/web.xml: (line 7, col 10): Document root element > "web-app", must match DOCTYPE root "web-app". > >2002-08-27 18:10:54 StandardHost[rack2]: Installing web > application at context path /tomcat-docs from URL > file:C:\tomcat\webapps\tomcat-docs > >2002-08-27 18:10:54 WebappLoader[/tomcat-docs]: Deploying > class repositories to work directory > C:\tomcat\work\Standalone\rack2\tomcat-docs > >2002-08-27 18:10:54 StandardManager[/tomcat-docs]: Seeding > random number generator class java.security.SecureRandom > >2002-08-27 18:10:54 StandardManager[/tomcat-docs]: Seeding > of random number generator has been completed > >2002-08-27 18:10:54 ContextConfig[/tomcat-docs]: Added > certificates -> request attribute Valve > >2002-08-27 18:10:54 StandardWrapper[/tomcat-docs:default]: > Loading container servlet default > >2002-08-27 18:10:54 org.apache.catalina.servlets.DefaultServlet: init > >2002-08-27 18:10:54 StandardWrapper[/tomcat-docs:invoker]: > Loading container servlet invoker > >2002-08-27 18:10:54 org.apache.catalina.servlets.InvokerServlet: init > >2002-08-27 18:10:54 org.apache.jasper.servlet.JspServlet: init > >2002-08-27 18:10:54 Exception initializing > TldLocationsCache: XML parsing error on file > /WEB-INF/web.xml: (line 7, col 10): Document root element > "web-app", must match DOCTYPE root "web-app". > >2002-08-27 18:10:54 StandardHost[rack2]: Installing web > application at context path /webdav from URL > file:C:\tomcat\webapps\webdav > >2002-08-27 18:10:54 > WebappLoader[/webdav]: Deploying class repositories to work > directory C:\tomcat\work\Standalone\rack2\webdav > >2002-08-27 18:10:54 StandardManager[/webdav]: Seeding random > number generator class java.security.SecureRandom > >2002-08-27 18:10:54 StandardManager[/webdav]: Seeding of > random number generator has been completed > >2002-08-27 18:10:55 ContextConfig[/webdav]: Added > certificates -> request attribute Valve > >2002-08-27 18:10:55 StandardWrapper[/webdav:default]: > Loading container servlet default > >2002-08-27 18:10:55 org.apache.catalina.servlets.DefaultServlet: init > >2002-08-27 18:10:55 StandardWrapper[/webdav:invoker]: > Loading container servlet invoker > >2002-08-27 18:10:55 org.apache.catalina.servlets.InvokerServlet: init > >2002-08-27 18:10:55 org.apache.jasper.servlet.JspServlet: init > >2002-08-27 18:10:55 Exception initializing > TldLocationsCache: XML parsing error on file > /WEB-INF/web.xml: (line 7, col 10): Document root element > "web-app", must match DOCTYPE root "web-app". > > > >-- > >To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > >For > additional commands, > e-mail: > ><mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe, e-mail: > <mailto:tomcat-user-> [EMAIL PROTECTED]> > For > additional commands, > e-mail: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>