I am attempting to use Ehcache within Felix to provide a distributed cache capability and using JGroups for the replication of the data between the JVMs. To ensure that my ehcache configuration was correct I ran the code outside of OSGi. The data is being successfully added to the cache and replicated across two JVMs running on separate machines.

The problem is when I run this same code inside a bundle within Felix. The bundle is started successfully and it all runs fine except for the fact that I can not seem to get the same connection between the JVMs as I did when I ran them outside of Felix. JGroups does not seem to be able to connect when running inside the OSGi container.

Is there some configuration settings within Felix that I need to set in order to enable network connections to be established? I'm sure there's something simple that I'm missing here.



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to