[ 
http://jira.nuxeo.org/browse/NXP-1892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33574#action_33574
 ] 

Georges Racinet commented on NXP-1892:
--------------------------------------

Hi stumbled accross this one. Seems to be exactly what the property suffix is 
made for (in the server definition platform-config.xml)
Putting /remote on platform A should do the trick (svn diff extract)

   <extension target="org.nuxeo.runtime.api.ServiceManagement" point="servers">
     <server class="org.nuxeo.runtime.api.JBossServiceLocator">
       <group>*</group>
+      <property name="suffix">/remote</property>


> Make an evolution in the runtime on the lookup service to be able to call a 
> remote implementation of a service
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: NXP-1892
>                 URL: http://jira.nuxeo.org/browse/NXP-1892
>             Project: Nuxeo Enterprise Platform 5
>          Issue Type: Bug
>            Reporter: Alain Escaffre
>            Assignee: Bogdan Stefanescu
>
> we have another problem in Nuxeo, with our service framework as it is now : 
>       A Nuxeo Platform A , 10.0.0.1 hosts Nuxeo service S1 and S2. 
>       A Nuxeo Platform B, 10.0.0.2 hosts the same Nuxeo Service S1 (same 
> code, same jar) S'1 (I put " ' " for facility, but exactly the same services 
> are deployed on both server
>       From S2 I want to call the service S'1 of platform B. So I do the 
> lookup to do so.
>       The problem I have is that it is always service S1 that is binded. 
> Indeed, the lookup is based on an id which is the same in both cases and as a 
> consequence, it is always the local implementation  which is returned.
>  An idea for solving it, would be to prefix the id of the service at build 
> time. this would need evolutions on the runtime, on the way we do the lookup 
> of the service
> This need to be technically described more

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to