2014-07-11 0:27 GMT+04:00 Konstantin Kolinko <knst.koli...@gmail.com>:
> 2014-07-11 0:22 GMT+04:00 Konstantin Kolinko <knst.koli...@gmail.com>:
>> 2014-07-10 22:40 GMT+04:00 Falco Schwarz <hid...@falco.me>:
>>> I am seeing NPEs after reloading a web application with a custom
>>> <error-page>. Just downloaded the sample.war, added the following
>>> block in web.xml and thus reloaded the web application:
>>>
>> (...)
>>
>> Actually it is more severe. After reload the Mapper$ContextVersion
>> object does not contain information on wrappers (the *wrappers fields
>> in it contain empty lists).
>>
>> Thus after reload *any* page in the examples webapp is inaccessible
>> and results in error 404.
>>
>> (In case of a custom error page
>> "servletContext.getRequestDispatcher(errorPage.getLocation());"  call
>> in StandardHostValve.custom()  returns null ).
>>
>>
>> Unfortunately, it is
>>
>> [x] Broken - do not release
>>
>
> 7.0.x is also affected. I'd be better to retag after the fix.
>

Thus far on the Mapper issues

1) This issue is regression from BZ 56658. I documented it there,
https://issues.apache.org/bugzilla/show_bug.cgi?id=56658#c3

I think I know how to fix it.


2) I encountered another issue - BZ 56710
>From the look at it I think that it existed for previous versions as
well. I wonder why nobody reported it.
I have no idea on a fix yet.


3) Issue that Violetta reported in the "Time for 7.0.55" thread,
http://markmail.org/message/57vijgczkqn4aopx

I think I know how to fix it.
Needs a test case. I wonder why I have not seen it during my test runs.


4) Searching for string "Mapper" across junit logs from a full TC7
test run, I see a lot of messages like

Jul 09, 2014 5:19:56 PM org.apache.tomcat.util.http.mapper.Mapper
findContextVersion
SEVERE: No context version found: /test

(The above one is from org.apache.catalina.core.TestStandardContextResources)

This needs some investigation.
An easy solution is to suppress those messages. (7.0.54 had those
messages, but the code to display them was broken).


I do not have much time tomorrow, but I will try something.

Best regards,
Konstantin Kolinko

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

Reply via email to