RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Jill Veronda

thanks! both of my problems were due to classpath settings.



-Original Message-
From: Michael Locasto [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 1:27 PM
To: Tomcat Users List
Subject: Re: XML parsing error on file /WEB-INF/web.xml


Jill,

In Tomcat 4.0.4, line 436 of AuthenticatorBase is:


 ((HttpServletRequest) request.getRequest()).getUserPrincipal();


That Error is "Thrown when a particular method cannot be found. " so make
sure your CLASSPATH doesn't contain conflicting JAR files or classes, for
instance, from an older version of Tomcat.

This page
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpServle
tRequest.html

(damn the line wrap)

seems to indicate that in the 2.1 version of the servlet api,
getUserPrincipal() wasn't a method.

Servlets work fine?

Regards,
Michael


- Original Message -
From: "Jill Veronda" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 1:27 PM
Subject: RE: XML parsing error on file /WEB-INF/web.xml


> Can you give me any clues as to the reason behind the Ajp13Processor
error then?
>
> > 2002-08-28 09:36:10 Ajp13Processor[8009][4] process: invoke
> > java.lang.NoSuchMethodError
> > at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > henticatorBase.java:436)
>
> as I said, this happens whenever I try to access a jsp page.
>
> -Jill




--
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]>




Re: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Michael Locasto

Jill,

In Tomcat 4.0.4, line 436 of AuthenticatorBase is:


 ((HttpServletRequest) request.getRequest()).getUserPrincipal();


That Error is "Thrown when a particular method cannot be found. " so make
sure your CLASSPATH doesn't contain conflicting JAR files or classes, for
instance, from an older version of Tomcat.

This page
http://java.sun.com/products/servlet/2.1/api/javax.servlet.http.HttpServle
tRequest.html

(damn the line wrap)

seems to indicate that in the 2.1 version of the servlet api,
getUserPrincipal() wasn't a method.

Servlets work fine?

Regards,
Michael


- Original Message -
From: "Jill Veronda" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, August 28, 2002 1:27 PM
Subject: RE: XML parsing error on file /WEB-INF/web.xml


> Can you give me any clues as to the reason behind the Ajp13Processor
error then?
>
> > 2002-08-28 09:36:10 Ajp13Processor[8009][4] process: invoke
> > java.lang.NoSuchMethodError
> > at
> > org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> > henticatorBase.java:436)
>
> as I said, this happens whenever I try to access a jsp page.
>
> -Jill




--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Jill Veronda

Can you give me any clues as to the reason behind the Ajp13Processor error then?

> 2002-08-28 09:36:10 Ajp13Processor[8009][4] process: invoke 
> java.lang.NoSuchMethodError
>   at 
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(Aut
> henticatorBase.java:436)

as I said, this happens whenever I try to access a jsp page.

-Jill

-Original Message-
From: Andrew Conrad [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 28, 2002 10:18 AM
To: 'Tomcat Users List'
Subject: RE: XML parsing error on file /WEB-INF/web.xml


Those don't SEEM related, because one is an AJP13Connector issue and the
other is a web.xml parsing issue.  

- Andrew

> -Original Message-
> From: Jill Veronda [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, August 28, 2002 12:49 PM
> To: Tomcat Users List
> Subject: RE: XML parsing error on file /WEB-INF/web.xml
> 
> 
> I replaced my server.xml and web.xml with the originals and 
> the problem does not go away.
> 
> -Original Message-
> From: Jill Veronda 
> Sent: Wednesday, August 28, 2002 9:39 AM
> To: Tomcat Users List
> Subject: RE: XML parsing error on file /WEB-INF/web.xml
> 
> 
> 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(Aut
> henticatorBase.java:436)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.valves.CertificatesValve.invoke(Certificat
> esValve.java:246)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
>   at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2347)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)
>   at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.java:170)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:468)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
>   at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java:174)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)
>   at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Andrew Conrad

Those don't SEEM related, because one is an AJP13Connector issue and the
other is a web.xml parsing issue.  

- Andrew

> -Original Message-
> From: Jill Veronda [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, August 28, 2002 12:49 PM
> To: Tomcat Users List
> Subject: RE: XML parsing error on file /WEB-INF/web.xml
> 
> 
> I replaced my server.xml and web.xml with the originals and 
> the problem does not go away.
> 
> Jill Veronda
> Decision Design Corporation
> [EMAIL PROTECTED]
> 925-847-9600 x18
> 
> -Original Message-
> From: Jill Veronda 
> Sent: Wednesday, August 28, 2002 9:39 AM
> To: Tomcat Users List
> Subject: RE: XML parsing error on file /WEB-INF/web.xml
> 
> 
> 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(Aut
> henticatorBase.java:436)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.valves.CertificatesValve.invoke(Certificat
> esValve.java:246)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
>   at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2347)
>   at 
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)
>   at 
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.java:170)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:170)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValv
> e.java:468)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:564)
>   at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:472)
>   at 
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>   at 
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java:174)
>   at 
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardP
> ipeline.java:566)
>   at 
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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

2002-08-28 Thread Jill Veronda

I replaced my server.xml and web.xml with the originals and the problem does not go 
away.

Jill Veronda
Decision Design Corporation
[EMAIL PROTECTED]
925-847-9600 x18

-Original Message-
From: Jill Veronda 
Sent: Wednesday, August 28, 2002 9:39 AM
To: Tomcat Users List
Subject: RE: XML parsing error on file /WEB-INF/web.xml


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!
> 
> 
> 
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> 
> 
>   
>   
> Manager
> 
> org.apache.catalina.servlets.ManagerServlet
> 
>   debug
>   2
> 
>   
> 
>   
>   
> Manager
> /*
>   
> 
>   
>   
> 
>   Entire Application
>   /*
> 
> 
>
>manager
> 
>   
> 
>   
>   
> BASIC
>     Tomcat Manager Application
>   
> 
> 
> 
> 
> -Original Message-
> From: Ben Walding [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 27, 2002 6:41 PM
> To: Tomcat Users List
&g

RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Jill Veronda

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!
> 
> 
> 
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> 
> 
>   
>   
> Manager
> 
> org.apache.catalina.servlets.ManagerServlet
> 
>   debug
>   2
> 
>   
> 
>   
>   
> Manager
> /*
>   
> 
>   
>   
> 
>   Entire Application
>   /*
> 
> 
>
>manager
> 
>   
> 
>   
>   
> BASIC
>     Tomcat Manager Application
>   
> 
> 
> 
> 
> -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

RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Andrew Conrad

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!
> 
> 
> 
> 
>  PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
> "http://java.sun.com/dtd/web-app_2_3.dtd";>
> 
> 
> 
>   
>   
> Manager
> 
> org.apache.catalina.servlets.ManagerServlet
> 
>   debug
>   2
> 
>   
> 
>   
>   
> Manager
> /*
>   
> 
>   
>   
> 
>   Entire Application
>   /*
> 
> 
>
>manager
> 
>   
> 
>   
>   
> BASIC
> Tomcat Manager Application
>   
> 
> 
> 
> 
> -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\we

RE: XML parsing error on file /WEB-INF/web.xml

2002-08-28 Thread Jill Veronda

web.xml for webapps/manager/WEB-INF below:


Thanks for the help in advance!




http://java.sun.com/dtd/web-app_2_3.dtd";>



  
  
Manager
org.apache.catalina.servlets.ManagerServlet

  debug
  2

  

  
  
Manager
/*
  

  
  

  Entire Application
  /*


   
   manager

  

  
  
BASIC
Tomcat Manager Application
  




-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:5

RE: XML parsing error on file /WEB-INF/web.xml

2002-08-27 Thread Robert Dunn

Jill you are probably missing the DOCTYPE entry. Basic web.xml should look
as follows:


http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";>





-Original Message-
From: Jill Veronda [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 28 August 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: XML parsing error on file /WEB-INF/web.xml


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 

Re: XML parsing error on file /WEB-INF/web.xml

2002-08-27 Thread Ben Walding

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-IN