tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: <async-supported>false</async-supported> in filter?
Date Tue, 18 Feb 2014 17:43:59 GMT
2014-02-18 20:05 GMT+04:00 Mark Thomas <markt@apache.org>:
> On 18/02/2014 13:07, Romain Manni-Bucau wrote:
>> 2014-02-18 13:10 GMT+01:00 Mark Thomas <markt@apache.org>:
>
> <snip/>
>
>>> Looks like there might be a couple of problems here. Any chance you
>>> could debug this and provide the full text of the merged web.xml?
>>>
>>
>> https://gist.github.com/rmannibucau/38292f66783c0d49965b
>
> OK. The error is valid. You have a 2.5 web.xml using 3.0 syntax.
> However, if the base web.xml is using 2.5, then there should not have
> been any merging. Hmm.
>
> What schema does /WEB-INF/web.xml declare in your app and where is
> TestFilter declared not to support async?
>

In WebXml.toXml()  lines 715-716 (in trunk)
[[[
            appendElement(sb, INDENT4, "async-supported",
                    filterDef.getAsyncSupported());
]]]

needs to be wrapped by an if(version>=...).

I tested that default conf/web.xml serializes/parses correctly  but it
has no <filter>s in it, so apparently it slipped.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message