2014-07-11 1:52 GMT+04:00 Konstantin Kolinko <knst.koli...@gmail.com>: > 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
The current progress: > 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. > Fixed in Tomcat 8 and Tomcat 7. > > 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. > Fixed in Tomcat 8. I have not backported the fix to Tomcat 7 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. > Fixed in Tomcat 7 (r1610203). Tomcat 8 is OK, there was no such error. A test case was added. > > 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) Fixed in Tomcat 8 (r1610244). I have not backported the fix to Tomcat 7 yet. 5) There are a few of "duplcate host" messages in the logs: > SEVERE [main] org.apache.catalina.mapper.Mapper.addHost Duplicate Host > [localhost]. The name is already used by Host [localhost]. This Host will be > ignored. Those are expected in TestMapper, but unexpected anywhere else. I debugged one case and filed it as https://issues.apache.org/bugzilla/show_bug.cgi?id=56717 It has not been fixed yet. Current Tomcat 8 tests that display "Duplicate Host" message, besides TestMapper are: - org.apache.catalina.core.TestStandardContext - org.apache.catalina.loader.TestVirtualContext - org.apache.catalina.mbeans.TestRegistration 6) Limit reloading wait time. Filed as https://issues.apache.org/bugzilla/show_bug.cgi?id=56713 It has not been fixed yet. Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org