On 01/03/2011 13:52, Olivier Lefevre wrote:
> On 2/28/2011 8:18 PM, Mark Thomas wrote:
>> http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/security/SecurityListener.java?view=annotate
>>
>
> This is brand new, isn't it? I can't find it in the 7.0.8 sources.
Yes.
> So it may throw a java.lang.Error at Lifecycle.BEFORE_INIT_EVENT
> time but what happens then? I read §10.9 and §11.6 and it only
> talks about the user-configurable exception handling: it does not
> seem to specify what the application server may do internally.
> Besides it is talking about errors that occur much later in the
> life cycle. So, is the whole Tomcat supposed to die if you throw
> at BEFORE_INIT_EVENT?
Providing you throw an Error, Tomcat is guaranteed not to start.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|