« Return to Thread: svn commit: r654932 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

Re: svn commit: r654932 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

by Mark Thomas-18 :: Rate this Message:

Reply to Author | View in Thread

Remy Maucherat wrote:

> On Fri, 2008-05-09 at 20:21 +0000, markt@... wrote:
>> Author: markt
>> Date: Fri May  9 13:21:20 2008
>> New Revision: 654932
>>
>> URL: http://svn.apache.org/viewvc?rev=654932&view=rev
>> Log:
>> Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=42934
>> Trigger contextInitialized() before sessionDidActivate()
>> TCK tests all pass but I want to give this a little longer in trunk before proposing it for 6.0.x
>
> I don't see what the patch does. Is it supposed to fix problems if an
> exception occurs during starting the manager ? (which doesn't seem to be
> the case looking at the comment)

As per the bug description, it changes the order the listeners get fired in
on context start to something that seems more logical.

The spec is specific on shutdown order but silent w.r.t. start-up. This
makes start-up order the reverse of shutdown.

Mark


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

 « Return to Thread: svn commit: r654932 - /tomcat/trunk/java/org/apache/catalina/core/StandardContext.java

LightInTheBox - Buy quality products at wholesale price