avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niclas Hedhman (JIRA)" <...@avalon.apache.org>
Subject [jira] Closed: (RUNTIME-53) DefaultKernet implementation forgets to pass through STARTING state
Date Sat, 13 Nov 2004 02:18:26 GMT
     [ 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: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org


Mime
View raw message