You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org> on 2007/07/25 19:15:31 UTC

[jira] Created: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

Calling EmbeddedSCADomain.activateDomain()  after adding a contribution renders services from previous contribution unusable
----------------------------------------------------------------------------------------------------------------------------

                 Key: TUSCANY-1480
                 URL: https://issues.apache.org/jira/browse/TUSCANY-1480
             Project: Tuscany
          Issue Type: Bug
    Affects Versions: Java-SCA-0.91
            Reporter: Vamsavardhana Reddy


Here is a situation I am running into.
Step 0: Create an EmbeddedSCADomain.
Step 1: Add contribution from contribution1.jar (which provides say
"Service1") to EmbeddedSCADomain from Step 0.
Step 2: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
Step 3: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
componets from contribution1.jar.
Step 4: Add contribution from contribution2.jar (which provides say
"Service2") to EmbeddedSCADomain from Step 0.
Step 5: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
Step 6: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
componets from contribution2.jar.

After Step 3, I am able to run Service1 successfully.  At Step 5, I get a
message like the following:
"Composite assembly problem: Service not found for component service:
CalculatorServiceComponent/$promoted$.CalculatorService"

After Step 6, Service1 no longer runs, where as Service2 runs successfully.

If I call DomainCompositeHelper.startComponent() on each of the components
from the first contribution after deploying the second, (that is after Step
6 from), it results in an Exception which I ignore and continue.  But
towards the end I have services from both contributions running
successfully.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520356 ] 

Vamsavardhana Reddy commented on TUSCANY-1480:
----------------------------------------------

The following may be used to create a testcase for this JIRA:

1.    scaDomain = new EmbeddedSCADomain(...);
        scaDomain.start();

2.   // Add contribution from calculator sample

3.   scaDomain.getDomainCompositeHelper().activateDomain()

4.   // Call scaDomain.getDomainCompositeHelper().startComponent() on each of the components from calculator sample

5.  //At this step access the service provided by calculator sample.

6.  // Add contribution from helloworld sample

7.   scaDomain.getDomainCompositeHelper().activateDomain()

8.   // Call scaDomain.getDomainCompositeHelper().startComponent() on each of the components from helloworld sample

9.  // At this step access service provided by calculator sample.  calculator service should be accessible.  Note:This is failing currenly
     //  Access service provided by helloworld sample.  helloworld service should be accessible.



> Calling EmbeddedSCADomain.activateDomain()  after adding a contribution renders services from previous contribution unusable
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1480
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1480
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: Vamsavardhana Reddy
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> Here is a situation I am running into.
> Step 0: Create an EmbeddedSCADomain.
> Step 1: Add contribution from contribution1.jar (which provides say
> "Service1") to EmbeddedSCADomain from Step 0.
> Step 2: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 3: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution1.jar.
> Step 4: Add contribution from contribution2.jar (which provides say
> "Service2") to EmbeddedSCADomain from Step 0.
> Step 5: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 6: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution2.jar.
> After Step 3, I am able to run Service1 successfully.  At Step 5, I get a
> message like the following:
> "Composite assembly problem: Service not found for component service:
> CalculatorServiceComponent/$promoted$.CalculatorService"
> After Step 6, Service1 no longer runs, where as Service2 runs successfully.
> If I call DomainCompositeHelper.startComponent() on each of the components
> from the first contribution after deploying the second, (that is after Step
> 6 from), it results in an Exception which I ignore and continue.  But
> towards the end I have services from both contributions running
> successfully.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Updated: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino updated TUSCANY-1480:
--------------------------------------------

    Component/s: Java SCA Core Runtime
       Assignee: Jean-Sebastien Delfino

> Calling EmbeddedSCADomain.activateDomain()  after adding a contribution renders services from previous contribution unusable
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1480
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1480
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: Vamsavardhana Reddy
>            Assignee: Jean-Sebastien Delfino
>
> Here is a situation I am running into.
> Step 0: Create an EmbeddedSCADomain.
> Step 1: Add contribution from contribution1.jar (which provides say
> "Service1") to EmbeddedSCADomain from Step 0.
> Step 2: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 3: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution1.jar.
> Step 4: Add contribution from contribution2.jar (which provides say
> "Service2") to EmbeddedSCADomain from Step 0.
> Step 5: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 6: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution2.jar.
> After Step 3, I am able to run Service1 successfully.  At Step 5, I get a
> message like the following:
> "Composite assembly problem: Service not found for component service:
> CalculatorServiceComponent/$promoted$.CalculatorService"
> After Step 6, Service1 no longer runs, where as Service2 runs successfully.
> If I call DomainCompositeHelper.startComponent() on each of the components
> from the first contribution after deploying the second, (that is after Step
> 6 from), it results in an Exception which I ignore and continue.  But
> towards the end I have services from both contributions running
> successfully.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Resolved: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

Posted by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Sebastien Delfino resolved TUSCANY-1480.
---------------------------------------------

    Resolution: Fixed

Yes I did some work recently to clean up EmbeddedSCADomain and how it drives CompositeActivator and CompositeBuilder.

Glad that it fixed that issue :) marking it fixed then.

> Calling EmbeddedSCADomain.activateDomain()  after adding a contribution renders services from previous contribution unusable
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1480
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1480
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: Vamsavardhana Reddy
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> Here is a situation I am running into.
> Step 0: Create an EmbeddedSCADomain.
> Step 1: Add contribution from contribution1.jar (which provides say
> "Service1") to EmbeddedSCADomain from Step 0.
> Step 2: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 3: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution1.jar.
> Step 4: Add contribution from contribution2.jar (which provides say
> "Service2") to EmbeddedSCADomain from Step 0.
> Step 5: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 6: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution2.jar.
> After Step 3, I am able to run Service1 successfully.  At Step 5, I get a
> message like the following:
> "Composite assembly problem: Service not found for component service:
> CalculatorServiceComponent/$promoted$.CalculatorService"
> After Step 6, Service1 no longer runs, where as Service2 runs successfully.
> If I call DomainCompositeHelper.startComponent() on each of the components
> from the first contribution after deploying the second, (that is after Step
> 6 from), it results in an Exception which I ignore and continue.  But
> towards the end I have services from both contributions running
> successfully.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Commented: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
    [ https://issues.apache.org/jira/browse/TUSCANY-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12520613 ] 

Vamsavardhana Reddy commented on TUSCANY-1480:
----------------------------------------------

EmbeddedSCADomain in 1.0-incubating-SNAPSHOT no longer has getDomainCompositeHelper().  Adding multiple contributions to EmbeddedSCADomain does not seem to be a problem.

> Calling EmbeddedSCADomain.activateDomain()  after adding a contribution renders services from previous contribution unusable
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1480
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1480
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: Vamsavardhana Reddy
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> Here is a situation I am running into.
> Step 0: Create an EmbeddedSCADomain.
> Step 1: Add contribution from contribution1.jar (which provides say
> "Service1") to EmbeddedSCADomain from Step 0.
> Step 2: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 3: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution1.jar.
> Step 4: Add contribution from contribution2.jar (which provides say
> "Service2") to EmbeddedSCADomain from Step 0.
> Step 5: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 6: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution2.jar.
> After Step 3, I am able to run Service1 successfully.  At Step 5, I get a
> message like the following:
> "Composite assembly problem: Service not found for component service:
> CalculatorServiceComponent/$promoted$.CalculatorService"
> After Step 6, Service1 no longer runs, where as Service2 runs successfully.
> If I call DomainCompositeHelper.startComponent() on each of the components
> from the first contribution after deploying the second, (that is after Step
> 6 from), it results in an Exception which I ignore and continue.  But
> towards the end I have services from both contributions running
> successfully.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


[jira] Closed: (TUSCANY-1480) Calling EmbeddedSCADomain.activateDomain() after adding a contribution renders services from previous contribution unusable

Posted by "Vamsavardhana Reddy (JIRA)" <tu...@ws.apache.org>.
     [ https://issues.apache.org/jira/browse/TUSCANY-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vamsavardhana Reddy closed TUSCANY-1480.
----------------------------------------


> Calling EmbeddedSCADomain.activateDomain()  after adding a contribution renders services from previous contribution unusable
> ----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-1480
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-1480
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-0.91
>            Reporter: Vamsavardhana Reddy
>            Assignee: Jean-Sebastien Delfino
>             Fix For: Java-SCA-Next
>
>
> Here is a situation I am running into.
> Step 0: Create an EmbeddedSCADomain.
> Step 1: Add contribution from contribution1.jar (which provides say
> "Service1") to EmbeddedSCADomain from Step 0.
> Step 2: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 3: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution1.jar.
> Step 4: Add contribution from contribution2.jar (which provides say
> "Service2") to EmbeddedSCADomain from Step 0.
> Step 5: Call EmbeddedSCADomain.DomainCompositeHelper.activateDomain()
> Step 6: Call EmbeddedSCADomain.DomainCompositeHelper.startComponent() on all
> componets from contribution2.jar.
> After Step 3, I am able to run Service1 successfully.  At Step 5, I get a
> message like the following:
> "Composite assembly problem: Service not found for component service:
> CalculatorServiceComponent/$promoted$.CalculatorService"
> After Step 6, Service1 no longer runs, where as Service2 runs successfully.
> If I call DomainCompositeHelper.startComponent() on each of the components
> from the first contribution after deploying the second, (that is after Step
> 6 from), it results in an Exception which I ignore and continue.  But
> towards the end I have services from both contributions running
> successfully.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org