Author: markt Date: Sat Mar 3 08:24:08 2007 New Revision: 514183 URL: http://svn.apache.org/viewvc?view=rev&rev=514183 Log: Port fix for bug 41752. Correct error message on exception in MemoryRealm. Patch provided by Ales Milan.
Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Modified: tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java?view=diff&rev=514183&r1=514182&r2=514183 ============================================================================== --- tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java (original) +++ tomcat/tc6.0.x/trunk/java/org/apache/catalina/realm/MemoryRealm.java Sat Mar 3 08:24:08 2007 @@ -301,7 +301,8 @@ digester.parse(file); } } catch (Exception e) { - throw new LifecycleException("memoryRealm.readXml", e); + throw new LifecycleException + (sm.getString("memoryRealm.readXml"), e); } finally { digester.reset(); } Modified: tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml?view=diff&rev=514183&r1=514182&r2=514183 ============================================================================== --- tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc6.0.x/trunk/webapps/docs/changelog.xml Sat Mar 3 08:24:08 2007 @@ -26,6 +26,10 @@ <bug>41739</bug> Correct handling of servlets with a load-on-startup value of zero. These are now the first servlets to be started. (markt) </fix> + <fix> + <bug>41752</bug> Correct error message on exception in MemoryRealm. + (markt) + </fix> </changelog> </subsection> <subsection name="Coyote"> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]