[ http://nagoya.apache.org/jira/browse/RUNTIME-53?page=history ] Niclas Hedhman closed RUNTIME-53: ---------------------------------
> DefaultKernet implementation forgets to pass through STARTING state > ------------------------------------------------------------------- > > Key: RUNTIME-53 > URL: http://nagoya.apache.org/jira/browse/RUNTIME-53 > Project: Merlin Runtime > Type: Bug > Components: CORE > Versions: 3.4.0 > Reporter: Carel Paradis > Assignee: Stephen McConnell > > In the startup method, the DefaultKernel implementation must call > setState(STARTING) just after verifying if the kernel is startable. > Otherwise, kernel event listeners will never be aware that the kernel is > starting. > The following file must be updated: > trunk\runtime\merlin\impl\src\java\org\apache\avalon\merlin\impl\DefaultKernel.java > The following patch must be applied: > // -----BEGIN PATCH > Index: DefaultKernel.java > =================================================================== > --- DefaultKernel.java (revision 36413) > +++ DefaultKernel.java (working copy) > @@ -172,6 +172,9 @@ > synchronized( m_state ) > { > if( !isStartable() ) return; > + > + setState( STARTING ); > + > if( getLogger().isDebugEnabled() ) > { > getLogger().debug( "application assembly" ); > // -----END PATCH -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://nagoya.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]