On Mon, May 18, 2015 at 12:00 PM, Mark Thomas <ma...@apache.org> wrote:
> On 18/05/2015 11:50, Stephen Dawkins wrote:
>> On Mon, May 18, 2015 at 11:22 AM, Mark Thomas <ma...@apache.org> wrote:
>>> On 18/05/2015 10:31, Stephen Dawkins wrote:
>>>> Does anyone have any suggestions as to where the issue could be?
>>>
>>> Are you using any Servlet 3.0 async features?
>>>
>> Yes, I have async enabled for the filter and the servlet that
>> processes the request, and the application will likely use a different
>> thread to response than processes the request.
>
> OK. Is Javamelody async aware? In particular I am wondering if it
> correctly handles the case where Servlet.service() returns after
> startAsync() but the app hasn't written any of / all of the response yet.
>
> If javamelody is wrapping the response it is going to need to handle the
> async case correctly.
>
The documentation does say to add the relevant option to the web.xml
if you require async-support.

https://code.google.com/p/javamelody/wiki/UserGuide#2._web.xml_file

Also, I've tested with the
org.apache.catalina.connector.RECYCLE_FACADES=true option set, and the
error still occurs.

Regards
Stephen

> Mark
>
>
>>
>>> Mark
>>>
>>>>
>>>> [1] https://code.google.com/p/javamelody/
>>>>
>>>> Thanks & Regards
>>>> Stephen
>>>>
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
>> For additional commands, e-mail: users-h...@tomcat.apache.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to