tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
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" "">

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.


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message