Hello everyone,
 I am using JDK 7, Karaf 3.0.1 and Cellar 3.0.0 and am unable to access a
Remote Service from different machines. I have two Karaf servers running on
different machines. On Server A, the StreamProductCatalogSvc service is
running. On Server B, the StreamProductCatalogSvc service is not deployed,
but it has a jar that contains the interface that the service implements,
StreamProductCatalogApi.
The blueprint XML for the Service defines the service like this:


I have updated the hazelcast.xml on each Server so  and the <join> section
contains the IP of both machines:


I start Server A and it starts correctly. When I start Server B, I see that
Cellar finds Server A:


Next, Cellar on Server B tries to get the StreamProductCatalogSvc-0.1.0.jar
from Server A that contains the Remote Service and fails: 

This is strange because "C:\C2DEV\Apache\apache-karaf-3.0.1\deploy" does not
exists on Server B - it only exists on Server A. And why is Server B trying
to get the Service Implementation jar in the first place? I thought it would
do a remote call to Server A to access the Service using the Service
Interface it already has.

After that Exception, Server B fails to start.
Any help would be appreciated.
Thanks.
Marshall B.



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Problem-using-Remote-Services-with-Cellar-tp4035605.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to