Hi,

how did you deploy the API bundle? Cause if you did just place it in the
deploy folder that's the reason why it's not working.
You need to make sure you are provisioning the bundles with some sort of
remote repository.
For example use maven or a OBR repository.

regards, Achim


2014-10-02 17:48 GMT+02:00 MarshallB <[email protected]>:

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



-- 

Apache Member
Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
Project Lead
blog <http://notizblog.nierbeck.de/>

Software Architect / Project Manager / Scrum Master

Reply via email to