You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by de...@avalon.apache.org on 2004/08/15 22:53:20 UTC

[jira] Created: (RUNTIME-53) DefaultKernet implementation forgets to pass through STARTING state

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/RUNTIME-53

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: RUNTIME-53
    Summary: DefaultKernet implementation forgets to pass through STARTING state
       Type: Bug

     Status: Open
   Priority: Major

    Project: Merlin Runtime
 Components: 
             CORE
   Versions:
             3.4.0

   Assignee: Stephen McConnell
   Reporter: Carel Paradis

    Created: Sun, 15 Aug 2004 1:51 PM
    Updated: Sun, 15 Aug 2004 1:51 PM

Description:
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


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.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


[jira] Closed: (RUNTIME-53) DefaultKernet implementation forgets to pass through STARTING state

Posted by "Niclas Hedhman (JIRA)" <de...@avalon.apache.org>.
     [ 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


[jira] Resolved: (RUNTIME-53) DefaultKernet implementation forgets to pass through STARTING state

Posted by "Niclas Hedhman (JIRA)" <de...@avalon.apache.org>.
     [ 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