tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject Re: Tomcat-4.0.1 parse error on 'run-as' element in web.xml
Date Sat, 19 Jan 2002 04:15:45 GMT


On Fri, 18 Jan 2002, Pete Spenler wrote:

>
> <?xml version="1.0"?>
> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> 2.2//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">

Note that you have a mismatch here -- the public identifier says use the
DTD for servlet 2.2, so that's what Tomcat does -- and <run-as> is not
supported in the 2.2 DTD.  Changing this will fix your XML parsing error.

As to the question of whether the JBoss integration layer supports
<run-as>, you should probably direct that question to the JBoss user list.

Craig


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message