[ 
https://issues.apache.org/jira/browse/TUSCANY-3682?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12925896#action_12925896
 ] 

Luciano Resende commented on TUSCANY-3682:
------------------------------------------

Does you service name match the interface name ? From your component definition 
it seems that there might be some mismatch there.

> SCA RMI registration
> --------------------
>
>                 Key: TUSCANY-3682
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-3682
>             Project: Tuscany
>          Issue Type: Test
>          Components: Java SCA Java Implementation Extension
>    Affects Versions: Java-SCA-2.0-M5
>         Environment: JSF+JAVA 6+Tuscany SCA 2.0 SNAPSHOT
>            Reporter: antony
>             Fix For: Java-SCA-2.0-Beta1
>
>
> I am trying to register the sca service as RMI service. But it is not getting 
> exposed as expected. If i do the same using Spring Implementation, the 
> service is  exposed as RMI service and i am able to access it. Please let me 
> know what is going wrong here...
> I am using SCA 2.0 SNAPSHOT.
> JAVA IMPLEMENTATION configuration
> -------------------------------------------------------------
> <service name="TestService" promote="TestComponent">
>       <interface.java interface="test.interface" />
>         <t:binding.rmi host="localhost" port="8099" 
> serviceName="TestRMIService"/>                     
>     </service>    
>     
>     <component name="TestComponent">
>         <implementation.java class="test.Impl"/>
>    </component>
> SPRING IMPLEMENTATION configuration
> ------------------------------------------------------------
> <component name="TestComponent">
>         <implementation.spring location="/WEB-INF/applicationContext.xml"/>
>         <service name="TestServices">
>             <interface.java interface="test.interface"/>          
>             <t:binding.rmi host="localhost" port="8099" 
> serviceName="TestRMIService"/>       
>         </service>
> </component> 

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

Reply via email to