Sounds like your "web.xml" file has a problem in it somewhere. Sometimes the messages you get from the parser don't necessarily point you to the actual problem (much like compilers I guess). Can you post the contents of your web.xml so that we can have a look?
Pete On Mon, 27 May 2002 14:05:48 +0200 Steinar Bang <[EMAIL PROTECTED]> wrote: > Platform: Intel PIII, RedHat 7.2, apache 2.0.35 from the RPM in URL > <http://ftp.falsehope.com/home/gomez/apache2/>, > tomcat 4.0.3, and mod_jk2 from RPMs in > <http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.3 > /rpms/> > > I am trying to use a .war created for use with tomcat 3.3, with tomcat > 4.0.3. > > Is this supposed to work? Searches on the web hasn't found me any > place that talks about this. > > What I have done, is to drop the .war file in /var/tomcat4/webapps/. > > When starting, tomcat4 writes the following to the > /var/tomcat4/logs/catalina.log file: > > Starting service Tomcat-Standalone > Apache Tomcat/4.0.3 > PARSE error at line 138 column 12 > org.xml.sax.SAXParseException: The content of element type "web-app" must > match"(icon?,display-name?,description?,distributable?,context-param*,servlet > *,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-pag > e*,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,en > v-entry*,ejb-ref*)". > > line 138 of the web.xml file of the .war file I'm using contains the > </web-app> end tag, with the ">" as the final character on the line, > in column 10 (ie. there is no column 12 on that line). > > All ideas, hints, etc. appreciated! > > Thanx! > > > - Steinar > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > -- Peter Davison [EMAIL PROTECTED] A wide-eyed, innocent UNICORN, poised delicately in a MEADOW filled with LILACS, LOLLIPOPS & small CHILDREN at the HUSH of twilight?? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>