You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Scott Kurz (JIRA)" <de...@tuscany.apache.org> on 2009/02/17 15:16:59 UTC

[jira] Created: (TUSCANY-2851) What happens if @Init throws a runtime exception? Should the container mark the instance as bad?

What happens if @Init throws a runtime exception?  Should the container mark the instance as bad?
-------------------------------------------------------------------------------------------------

                 Key: TUSCANY-2851
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2851
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA Java Implementation Extension
            Reporter: Scott Kurz
            Priority: Minor


See these posts:

http://markmail.org/thread/e4mptcmpr2j7epyl
http://markmail.org/thread/3fqvabcyptcrujji

referencing these spec issues:

http://www.osoa.org/jira/browse/JAVA-65 There is no lifecycle defined for SCA Components

http://www.osoa.org/jira/browse/JAVA-53 What happens if init() throws a runtime exception 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TUSCANY-2851) What happens if @Init throws a runtime exception? Should the container mark the instance as bad?

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699679#action_12699679 ] 

ant elder commented on TUSCANY-2851:
------------------------------------

Added a basic fix for this in 1.x r765611 
This isn't a complete fix for whats described in the OASIS 1.1 specs as the design of the 1.x code doesn't really suport the lifecycle as as the spec describes, for that i think we'll have to do it in the 2.x code, all this fix does is try to ensure destroy is called if an exception occurs during init processing 

> What happens if @Init throws a runtime exception?  Should the container mark the instance as bad?
> -------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2851
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2851
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Java Implementation Extension
>            Reporter: Scott Kurz
>            Assignee: ant elder
>            Priority: Minor
>
> See these posts:
> http://markmail.org/thread/e4mptcmpr2j7epyl
> http://markmail.org/thread/3fqvabcyptcrujji
> referencing these spec issues:
> http://www.osoa.org/jira/browse/JAVA-65 There is no lifecycle defined for SCA Components
> http://www.osoa.org/jira/browse/JAVA-53 What happens if init() throws a runtime exception 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (TUSCANY-2851) What happens if @Init throws a runtime exception? Should the container mark the instance as bad?

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder reassigned TUSCANY-2851:
----------------------------------

    Assignee: ant elder

> What happens if @Init throws a runtime exception?  Should the container mark the instance as bad?
> -------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2851
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2851
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Java Implementation Extension
>            Reporter: Scott Kurz
>            Assignee: ant elder
>            Priority: Minor
>
> See these posts:
> http://markmail.org/thread/e4mptcmpr2j7epyl
> http://markmail.org/thread/3fqvabcyptcrujji
> referencing these spec issues:
> http://www.osoa.org/jira/browse/JAVA-65 There is no lifecycle defined for SCA Components
> http://www.osoa.org/jira/browse/JAVA-53 What happens if init() throws a runtime exception 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (TUSCANY-2851) What happens if @Init throws a runtime exception? Should the container mark the instance as bad?

Posted by "ant elder (JIRA)" <de...@tuscany.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-2851?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ant elder closed TUSCANY-2851.
------------------------------

    Resolution: Fixed

Closing as 1.x has a fix. Can do more in 2.x independent of this JIRA

> What happens if @Init throws a runtime exception?  Should the container mark the instance as bad?
> -------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2851
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2851
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Java Implementation Extension
>            Reporter: Scott Kurz
>            Assignee: ant elder
>            Priority: Minor
>
> See these posts:
> http://markmail.org/thread/e4mptcmpr2j7epyl
> http://markmail.org/thread/3fqvabcyptcrujji
> referencing these spec issues:
> http://www.osoa.org/jira/browse/JAVA-65 There is no lifecycle defined for SCA Components
> http://www.osoa.org/jira/browse/JAVA-53 What happens if init() throws a runtime exception 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.