tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: <async-supported>false</async-supported> in filter?
Date Tue, 18 Feb 2014 16:28:23 GMT
On 18/02/2014 16:11, Romain Manni-Bucau wrote:
> 2014-02-18 17:05 GMT+01: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?
>>
> 
> https://github.com/cdi-spec/cdi-tck/blob/1.0/impl/src/main/java/org/jboss/jsr299/tck/tests/lookup/injection/non/contextual/TestFilter.java

Not quite what I meant but I should be able to find what I need. Just to
confirm, you are using version 1.0.0 of the CDI TCK?

> https://github.com/cdi-spec/cdi-tck/blob/1.0/impl/src/main/resources/org/jboss/jsr299/tck/tests/lookup/injection/non/contextual/web.xml

OK. So definitely a 2.5 web app.

>> Exactly how were you enabling/disabling tldValidation? I'm still trying
>> to figure out why enabling that triggered validation of web.xml.
>>
> 
> standardContext.setTldValidation(System.getProperty("myprop", "false"));

OK. I can trace it from there.

Mark


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


Mime
View raw message