You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by "Niclas Hedhman (JIRA)" <de...@avalon.apache.org> on 2004/11/13 03:18:25 UTC
[jira] Resolved: (RUNTIME-53) DefaultKernet implementation forgets to pass through STARTING state
[ http://nagoya.apache.org/jira/browse/RUNTIME-53?page=history ]
Niclas Hedhman resolved RUNTIME-53:
-----------------------------------
Resolution: Won't Fix
Avalon is shutting down.
Come to the Metro project for further support. http://www.dpml.net
> 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