>>>>> Steinar Bang <[EMAIL PROTECTED]>:

> 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 get, when I try to access URLs inside the webapp, is "404 not
found". 

As far as I can tell, I have the appropriate JkMount statements in a
file included into httpd2.conf.

> 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-page*,taglib*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*)".

This was caused by a <session-config> in the wrong place according to
the 2.2 DTD.  I moved it so that the web.xml file validated, and the
above message went away.



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

Reply via email to