You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Simon Laws (JIRA)" <tu...@ws.apache.org> on 2008/01/28 11:43:33 UTC

[jira] Created: (TUSCANY-2018) Is "WARNING: Service not found for component service:" required for promoted services?

Is "WARNING: Service not found for component service:"  required for promoted services?
---------------------------------------------------------------------------------------

                 Key: TUSCANY-2018
                 URL: https://issues.apache.org/jira/browse/TUSCANY-2018
             Project: Tuscany
          Issue Type: Improvement
          Components: Java SCA Core Runtime
    Affects Versions: Java-SCA-1.1
         Environment: Win XP SP2, JDK 1.5, maven 2.0.7
            Reporter: Simon Laws
            Priority: Minor
             Fix For: Java-SCA-Next


running itest/contribution-multiple gives

INFO] -------------------------------------------------------------------------
---
[INFO] Building Apache Tuscany SCA Multiple Contribution Integration Tests
[INFO]    task-segment: [install]
[INFO] -------------------------------------------------------------------------
---
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
[INFO] Nothing to compile - all classes are up to date
[INFO] [surefire:test]
[INFO] Surefire report directory: C:\simon\tuscany\java-head\sca\itest\contribut
ion-multiple\target\surefire-reports

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running test.ContributionTestCase
28-Jan-2008 10:35:33 org.apache.tuscany.sca.assembly.builder.impl.CompositeBuild
erImpl$1 problem
WARNING: Service not found for component service: HelloServiceComponent/$promote
d$.HelloService
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.031 sec

Results :

Tests run: 1, Failures: 0, Errors: 0, Skipped: 0

[INFO] [jar:jar]
[INFO] Building jar: C:\simon\tuscany\java-head\sca\itest\contribution-multiple\
target\itest-contribution-multiple-1.2-incubating-SNAPSHOT.jar
[INFO] [install:install]
[INFO] Installing C:\simon\tuscany\java-head\sca\itest\contribution-multiple\tar
get\itest-contribution-multiple-1.2-incubating-SNAPSHOT.jar to C:\Documents and
Settings\slaws\.m2\repository\org\apache\tuscany\sca\itest-contribution-multiple
\1.2-incubating-SNAPSHOT\itest-contribution-multiple-1.2-incubating-SNAPSHOT.jar

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12 seconds
[INFO] Finished at: Mon Jan 28 10:35:35 GMT 2008
[INFO] Final Memory: 9M/27M
[INFO] ------------------------------------------------------------------------

Is this reported WARNING required?  I think what is happening here is that Tuscany creates new $promoted$ services to represent the composite level services that are promoted from them. I'm guessing that the logic that reconciles component services with the services defined by the component type  is complaining that it can't find a real service in the implementation to match the name of the promoted service, i.e. $promoted$.HelloService. 

Should it conplain in this case

-- 
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] Assigned: (TUSCANY-2018) Is "WARNING: Service not found for component service:" required for promoted services?

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

Raymond Feng reassigned TUSCANY-2018:
-------------------------------------

    Assignee: Raymond Feng

> Is "WARNING: Service not found for component service:"  required for promoted services?
> ---------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-2018
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-2018
>             Project: Tuscany
>          Issue Type: Improvement
>          Components: Java SCA Core Runtime
>    Affects Versions: Java-SCA-1.1
>         Environment: Win XP SP2, JDK 1.5, maven 2.0.7
>            Reporter: Simon Laws
>            Assignee: Raymond Feng
>            Priority: Minor
>             Fix For: Java-SCA-Next
>
>
> running itest/contribution-multiple gives
> INFO] -------------------------------------------------------------------------
> ---
> [INFO] Building Apache Tuscany SCA Multiple Contribution Integration Tests
> [INFO]    task-segment: [install]
> [INFO] -------------------------------------------------------------------------
> ---
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [resources:testResources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:testCompile]
> [INFO] Nothing to compile - all classes are up to date
> [INFO] [surefire:test]
> [INFO] Surefire report directory: C:\simon\tuscany\java-head\sca\itest\contribut
> ion-multiple\target\surefire-reports
> -------------------------------------------------------
>  T E S T S
> -------------------------------------------------------
> Running test.ContributionTestCase
> 28-Jan-2008 10:35:33 org.apache.tuscany.sca.assembly.builder.impl.CompositeBuild
> erImpl$1 problem
> WARNING: Service not found for component service: HelloServiceComponent/$promote
> d$.HelloService
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.031 sec
> Results :
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
> [INFO] [jar:jar]
> [INFO] Building jar: C:\simon\tuscany\java-head\sca\itest\contribution-multiple\
> target\itest-contribution-multiple-1.2-incubating-SNAPSHOT.jar
> [INFO] [install:install]
> [INFO] Installing C:\simon\tuscany\java-head\sca\itest\contribution-multiple\tar
> get\itest-contribution-multiple-1.2-incubating-SNAPSHOT.jar to C:\Documents and
> Settings\slaws\.m2\repository\org\apache\tuscany\sca\itest-contribution-multiple
> \1.2-incubating-SNAPSHOT\itest-contribution-multiple-1.2-incubating-SNAPSHOT.jar
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD SUCCESSFUL
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 12 seconds
> [INFO] Finished at: Mon Jan 28 10:35:35 GMT 2008
> [INFO] Final Memory: 9M/27M
> [INFO] ------------------------------------------------------------------------
> Is this reported WARNING required?  I think what is happening here is that Tuscany creates new $promoted$ services to represent the composite level services that are promoted from them. I'm guessing that the logic that reconciles component services with the services defined by the component type  is complaining that it can't find a real service in the implementation to match the name of the promoted service, i.e. $promoted$.HelloService. 
> Should it conplain in this case

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