Hi Xilai,

The configuration of blacklist/whitelist should be done before the features install (else, it's assigned to the local node cluster group).

Anyway, your configuration is correct.

Regards
JB

On 02/14/2012 04:58 AM, XiLai Dai wrote:
Hi,

Just want to make some specific feature (eg. http) disabled sync between the 
nodes.

For example, start two karaf 2.2.5 containers

Create etc/org.ops4j.pax.web.cfg for both of them.
Set port for first karaf:  org.osgi.service.http.port=8080
Set port for second karaf: org.osgi.service.http.port=8081

install http feature on both of them
karaf@root>features:install http

then , install cellar on both of them
karaf@root>features:addurl 
mvn:org.apache.karaf.cellar/apache-karaf-cellar/2.2.3/xml/features
karaf@root>features:install cellar

and add the http feature into the blacklist in the 
etc/org.apache.karaf.cellar.groups.cfg
default.features.blacklist.inbound=cellar,http
default.features.blacklist.outbound=cellar,http

then , restart 2 containers.

What expected will be both http://localhost:8080 and http://localhost:8081 
could be listening, but unfortunately, only http://localhost:8081 can be 
accessible.
What else configuration/steps have to do? Or it's a blacklist problem of cellar?

Thanks.
Xilai

--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to