Howdy, Assuming you don't have too many web.xml files, why don't you simply go through yours (not tomcat's: tomcat's admin, manager, and other web.xml files are spec compliant) and verify the XML? Alternatively, comment out all the pieces, restart the server, make sure there are no errors. Then comment in pieces one by one, restarting the server each time, until you get an error.
Or use a program like XML Spy to verify your web.xml against the DTD. The deployment descriptor DTD is available in the servlet.jar distribution. Yoav Shapira Millennium ChemInformatics >-----Original Message----- >From: Rob Cartier [mailto:[EMAIL PROTECTED]] >Sent: Friday, December 13, 2002 11:50 PM >To: [EMAIL PROTECTED] >Subject: Help: Errors in catalina.out > >I am running 4.1.12 but am seeing errors at startup. >They say severe but all my applications seem to work ok >I am also unable to tell which web.xml is causing the errors >it would appear there are 2 differnet ones involved. >any ideas would be heplful. I turned debug up to a 1 on >my application logs but see no errors there. >I wonder if the admin or manager web.xml files >are causing me grief. ;( > >Thanks in advance > >--Rob > >Error 1: > >Dec 13, 2002 11:18:01 PM org.apache.commons.modeler.Registry loadRegistry >INFO: Loading registry information >Dec 13, 2002 11:18:02 PM org.apache.commons.modeler.Registry getRegistry >INFO: Creating new Registry instance >Dec 13, 2002 11:18:03 PM org.apache.commons.modeler.Registry getServer >INFO: Creating MBeanServer >Dec 13, 2002 11:18:06 PM org.apache.coyote.http11.Http11Protocol init >INFO: Initializing Coyote HTTP/1.1 on port 8080 >Starting service Tomcat-Standalone >Apache Tomcat/4.1 >Dec 13, 2002 11:18:07 PM org.apache.commons.digester.Digester error >SEVERE: Parse Error at line 106 column 11: The content of element type >"web-app" must match >"(icon?,display-name?,description?,distributable?,context- >param*,filter*,fil >ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- >mappin >g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- >ref*,se >curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb - >loca >l-ref*)". >org.xml.sax.SAXParseException: The content of element type "web-app" must >match >"(icon?,display-name?,description?,distributable?,context- >param*,filter*,fil >ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- >mappin >g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- >ref*,se >curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb - >loca >l-ref*)". > at >org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unkn own >Source) >....... > >Error 2: >Dec 13, 2002 11:18:10 PM org.apache.commons.digester.Digester error >SEVERE: Parse Error at line 57 column 11: The content of element type >"web-app" must match >"(icon?,display-name?,description?,distributable?,context- >param*,filter*,fil >ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- >mappin >g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- >ref*,se >curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb - >loca >l-ref*)". >org.xml.sax.SAXParseException: The content of element type "web-app" must >match >"(icon?,display-name?,description?,distributable?,context- >param*,filter*,fil >ter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime- >mappin >g*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource- >ref*,se >curity-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb - >loca >l-ref*)". > > > >-- >To unsubscribe, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> >For additional commands, e-mail: <mailto:tomcat-user- >[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
