You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Vijai Kalathur (Created) (JIRA)" <de...@tuscany.apache.org> on 2012/03/22 03:13:24 UTC

[jira] [Created] (TUSCANY-4032) Remote getService() lookup with only component name fails when target has a callback

Remote getService() lookup with only component name fails when target has a callback
------------------------------------------------------------------------------------

                 Key: TUSCANY-4032
                 URL: https://issues.apache.org/jira/browse/TUSCANY-4032
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Assembly Model
    Affects Versions: Java-SCA-2.0
         Environment: All OS
            Reporter: Vijai Kalathur


If I deploy a composite with the following component

    <component name="SCAJFrontendComponent">
        <implementation.java class="test.bindings.sca.FrontendImpl"/>

        <service name="FrontendService">
            <interface.java interface="test.bindings.sca.intf.FrontendService"/>
            <binding.sca />
        </service>

        <reference name="backendService" target="SerializationBackendComponent">
            <interface.java interface="test.bindings.sca.intf.SerializeBackendService"
                callbackInterface="test.bindings.sca.intf.SerializeCallback"/>
            <callback>
                <binding.sca />
            </callback>
        </reference>
    </component>

and try to do a getService lookup using just the component name on a different JVM, the lookup fails saying there are multiple services in the component and I need to specify a service name.
The check in DefaultEndpointFinder to check if the endpoint service is a callback service doesn't seem to be working in the remote case.
I think the code in the EndpointProcessor needs to be updated to include some attribute to indicate that the service is a callback service when it's getting serialized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (TUSCANY-4032) Remote getService() lookup with only component name fails when target has a callback

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

Simon Laws closed TUSCANY-4032.
-------------------------------

       Resolution: Fixed
    Fix Version/s: Java-SCA-2.0

Fix applied at revision: 1304510
                
> Remote getService() lookup with only component name fails when target has a callback
> ------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-4032
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-4032
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0
>         Environment: All OS
>            Reporter: Vijai Kalathur
>            Assignee: Simon Laws
>             Fix For: Java-SCA-2.0
>
>
> If I deploy a composite with the following component
>     <component name="SCAJFrontendComponent">
>         <implementation.java class="test.bindings.sca.FrontendImpl"/>
>         <service name="FrontendService">
>             <interface.java interface="test.bindings.sca.intf.FrontendService"/>
>             <binding.sca />
>         </service>
>         <reference name="backendService" target="SerializationBackendComponent">
>             <interface.java interface="test.bindings.sca.intf.SerializeBackendService"
>                 callbackInterface="test.bindings.sca.intf.SerializeCallback"/>
>             <callback>
>                 <binding.sca />
>             </callback>
>         </reference>
>     </component>
> and try to do a getService lookup using just the component name on a different JVM, the lookup fails saying there are multiple services in the component and I need to specify a service name.
> The check in DefaultEndpointFinder to check if the endpoint service is a callback service doesn't seem to be working in the remote case.
> I think the code in the EndpointProcessor needs to be updated to include some attribute to indicate that the service is a callback service when it's getting serialized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (TUSCANY-4032) Remote getService() lookup with only component name fails when target has a callback

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

Simon Laws reassigned TUSCANY-4032:
-----------------------------------

    Assignee: Simon Laws
    
> Remote getService() lookup with only component name fails when target has a callback
> ------------------------------------------------------------------------------------
>
>                 Key: TUSCANY-4032
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-4032
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Assembly Model
>    Affects Versions: Java-SCA-2.0
>         Environment: All OS
>            Reporter: Vijai Kalathur
>            Assignee: Simon Laws
>
> If I deploy a composite with the following component
>     <component name="SCAJFrontendComponent">
>         <implementation.java class="test.bindings.sca.FrontendImpl"/>
>         <service name="FrontendService">
>             <interface.java interface="test.bindings.sca.intf.FrontendService"/>
>             <binding.sca />
>         </service>
>         <reference name="backendService" target="SerializationBackendComponent">
>             <interface.java interface="test.bindings.sca.intf.SerializeBackendService"
>                 callbackInterface="test.bindings.sca.intf.SerializeCallback"/>
>             <callback>
>                 <binding.sca />
>             </callback>
>         </reference>
>     </component>
> and try to do a getService lookup using just the component name on a different JVM, the lookup fails saying there are multiple services in the component and I need to specify a service name.
> The check in DefaultEndpointFinder to check if the endpoint service is a callback service doesn't seem to be working in the remote case.
> I think the code in the EndpointProcessor needs to be updated to include some attribute to indicate that the service is a callback service when it's getting serialized.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira