Hi, As one poster said, which context is causing the error is a line or two above the error message itself in web.xml. As another poster said, you can (and I would add that you should) validate your web.xml outside of Tomcat using a variety of XML validation tools like XMLSpy.
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Emerson Cargnin [mailto:[EMAIL PROTECTED] >Sent: Friday, August 13, 2004 12:56 PM >To: Tomcat Users List >Subject: Re: better error message a web.xml has errors > >The problem is that tomcat don't start... > > >Schalk Neethling wrote: >> I may be in error here but, the client/team from which app the web.xml >> is causing the error should see that their site is not working. Where >> the other sites where the web.xml was parsed correctly should see their >> sites working. If I am correct in this it would be a matter of >> contacting all clients, or testing yourself if possible, and ask them to >> see whether their site/app is running. >> >> The one that is not, is probably the one with the error in their web.xml >> and then they can fix the problem and place the <servlet> tag in the >> right place. >> >> Emerson Cargnin wrote: >> >>> I have a server that has more than 30 apps from different teams. >>> When starting tomcat i got the erro below >>> >>> >>> 6310 [main] ERROR digester.Digester - Parse Error at line 188 column >>> -1: Element "web-app" does not allow "servlet" here. >>> org.xml.sax.SAXParseException: Element "web-app" does not allow >>> "servlet" here. >>> at org.apache.crimson.parser.Parser2.error(Parser2.java:3160) >>> >>> >>> The problem is that I can not identify what app yhas the error. >>> That's just a suggestion for the dev team. >>> Or I missed something? >>> >>> >> > > >-- >Emerson Cargnin >Analista de Sistemas - Gerente Regional Auxiliar - Tubar�o >Setor de Desenvolvimento de Sistemas - TRE-SC >tel : (048) - 251-3700 - Ramal 3181 > >--------------------------------------------------------------------- >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]
