New to Tomcat 3.3 and 4.x is that your web.xml is checked for "correctness". Tomcat 3.2.x didn't bother. Something on line 1 of the web.xml file is causing the XML parser to think you forgot to include a "<web-app>" element.
Cheers, Larry > -----Original Message----- > From: Rich Baldwin [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 11, 2001 11:48 AM > To: Tomcat Users List > Subject: Re: tomcat 3.2 to 4.0 > > > Glanced at the catalina.out log > > Any idea the source of this error. > > Apache Tomcat/4.0.1 > PARSE error at line 1 column 10 > org.xml.sax.SAXParseException: Element type "web-app" must be > declared. > PARSE error at line 95 column 12 > org.xml.sax.SAXParseException: The content of element type > "web-app" must > match > "(icon?,display-name?,description?,distributable?,context-para m*,servlet*,servle > > t-mapping*,session-config?,mime-mapping*,welcome-file-list?,er > ror-page*,taglib*, > > resource-ref*,security-constraint*,login-config?,security-role > *,env-entry*,ejb-r > > ef*)". > PARSE error at line 95 column 12 > org.xml.sax.SAXParseException: The content of element type > "web-app" must > match > "(icon?,display-name?,description?,distributable?,context-para m*,servlet*,servle > > t-mapping*,session-config?,mime-mapping*,welcome-file-list?,er > ror-page*,taglib*, > > resource-ref*,security-constraint*,login-config?,security-role > *,env-entry*,ejb-r > > ef*)". > Starting service Tomcat-Apache > Apache Tomcat/4.0.1 > > > Rich Baldwin wrote: > > > Ok I am migrating my servlets to the 4.0 servlet engine > from the 3.2. > > Using ant and the detailed > > notes in the docs, I have built and deployed my > application. I stopped > > and started tomcat, and > > then tried to access any *html, *wm (webmacro) or servlet; > I get a 404 > > error. I can get to > > http://localhost:8080/index.html and the examples, so I > know that tomcat > > is up and running. > > Any new ~webapp/myapp just seems to be ignored. Any suggestions? > > > > Thanks, Rich > > > > -- > > To unsubscribe: > <mailto:[EMAIL PROTECTED]> > > For additional commands: > <mailto:[EMAIL PROTECTED]> > > Troubles with the list: > <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
