Re: Fwd: [jira] [Resolved] (KARAF-4941) Node is not fully sync when joining a group

2017-11-09 Thread Sergiy Shyrkov
r node and groups config, there are blacklisted because each node can have a different configuration (for instance, enable a local listener only on a dedicated node). If it's obvious for node, the groups config could be sync (not blacklisted). Regards JB On 11/09/2017 04:35 PM, Sergiy Shyrkov

Fwd: [jira] [Resolved] (KARAF-4941) Node is not fully sync when joining a group

2017-11-09 Thread Sergiy Shyrkov
and I was wondering if this fix will also cover our issue. Thank you in advance! Kind regards Sergiy -- Sergiy Shyrkov Software Architect Jahia Solutions Group SA http://www.jahia.com --- Forwarded message --- From: "Jean-Baptiste Onofré (JIRA)" <j...@apache

Re: Could/should OsgiConfiguration for JAAS fallback to default configuration

2016-11-28 Thread Sergiy Shyrkov
tionEntry, we would still try to get it from the default JAAS configuration, and our customers could keep the same JAAS configuration as before. Would implementing this suggestion break anything in Karaf? Regards, Benjamin -- Sergiy Shyrkov Software Architect Jahia Solutions Grou

Re: Feature resolution for service capabilities of services with filters

2016-10-13 Thread Sergiy Shyrkov
essing doesn’t add the target filter to the Require-Capability header. david jencks On Oct 12, 2016, at 4:30 AM, Sergiy Shyrkov <my.public.mail...@gmail.com> wrote: Hello guys, we are migrating from Karaf 4.0.5 to 4.0.7 and facing a small issue with the feature resolution. I

Supported versions of Maven for karaf-maven-plugin

2016-10-12 Thread Sergiy Shyrkov
n is 3.1.x or this is a kind of side-effect/regression? Thank you in advance! Kind regards Sergiy -- Sergiy Shyrkov Software Architect Jahia Solutions Group SA http://www.jahia.com [INFO] --- karaf-maven-plugin:4.0.7:features-generate-descriptor (default-feature

Feature resolution for service capabilities of services with filters

2016-10-12 Thread Sergiy Shyrkov
osgi.service;effective:=active;objectClass=org.apache.karaf.cellar.core.Synchronizer;resource=bundle But I would like to ask for help and advice about the proper handling, please. Are we doing something wrong? Is there a better way to let feature resolver work with service filte

Re: Karaf Cellar - updating a bundle in cluster

2016-09-16 Thread Sergiy Shyrkov
09/15/2016 02:11 PM, Sergiy Shyrkov wrote: Hello, I have bundle-update on a local branch (I did feature update too). :-) Is there any chance I can get those changes (even as a diff file for now)? Kind regards Sergiy On Thu, 15 Sep 2016 14:07:10 +0200, Jean-Baptiste Onofré <j...@nanthrax.net

Re: Karaf Cellar - updating a bundle in cluster

2016-09-15 Thread Sergiy Shyrkov
update on a local branch (I did feature update too). And good idea for modified (to be tested). Regards JB On 09/15/2016 02:00 PM, Sergiy Shyrkov wrote: Hello JB, thank you for the prompt reply! you can perform cluster:bundle-update / cluster:bundle-install, the event will trigger an

Re: Karaf Cellar - updating a bundle in cluster

2016-09-15 Thread Sergiy Shyrkov
is on the cluster, and the cluster is also present locally on the node, then we trigger bundle update (systematically). Regards JB On 09/15/2016 01:34 PM, Sergiy Shyrkov wrote: Hello guys, I would like to ask you about the recommended way of implementing a "bundle update" in cluster

Karaf Cellar - updating a bundle in cluster

2016-09-15 Thread Sergiy Shyrkov
where "cluster" lastUpdated is after the local one. Thank you in advance! Kind regards Sergiy -- Sergiy Shyrkov Software Architect Jahia Solutions Group SA http://www.jahia.com

Re: Using CellarBundleMBean with Karaf 4.0.6

2016-08-29 Thread Sergiy Shyrkov
de the service capability. I gonna fix that that. Regards JB On 08/29/2016 01:24 PM, Sergiy Shyrkov wrote: Hello guys, I would like to ask you about the recommended way of using the functionality from the CellarBundleMBean, which is responsible for clustered bundle operations in Cellar, in our

Using CellarBundleMBean with Karaf 4.0.6

2016-08-29 Thread Sergiy Shyrkov
onding capability (although it exposes the CellarBundleMBean service). What could be recommended in my case? Should I get rid of the service dependency and try to use the functionality via JMX? Or there are other more appropriate ways to make it work with Karaf 4.0.6? I will appreciate any

Re: Feature and Karaf upgrades

2016-07-26 Thread Sergiy Shyrkov
pgrade, yes a clean start of Karaf is recommended. regards, Achim 2016-07-26 17:22 GMT+02:00 Sergiy Shyrkov <my.public.mail...@gmail.com>: Hello guys, I would need some hints / help on the following topic, please. What is the best or proper approach to "replace" (upgrade) of a f

Feature and Karaf upgrades

2016-07-26 Thread Sergiy Shyrkov
ide" (at https://karaf.apache.org/manual/latest/update-notes.html#_update_guide ). Does it mean that after an upgrade of Karaf we would need to start a clean container (meaning purging the data folder with bundle cache, etc.)? Thank you very much in advance for any hints / directions!

Re: Karaf Cellar - Overriding BundleEventHandler

2016-07-19 Thread Sergiy Shyrkov
cellar 4.0.2. Basically the trick is to use a command event instead of a simple event (as I do for producer, etc). I advise to wait cellar 4.0.2. Regards JB Sent from my Samsung device Original message From: Sergiy Shyrkov <my.public.mail...@gmail.com>Date: 18/0

Karaf Cellar - Overriding BundleEventHandler

2016-07-18 Thread Sergiy Shyrkov
Cellar? Thank you in advance for any clues! Kind regards Sergiy -- Sergiy Shyrkov Software Architect Jahia Solutions Group SA http://www.jahia.com

Re: Karaf Cellar - ClusterBundleEvent.getSourceNode() is null in most of the cases

2016-06-28 Thread Sergiy Shyrkov
atures and configs. Regards JB On 06/27/2016 05:42 PM, Sergiy Shyrkov wrote: Hello guys, we are implementing some code around Karaf Cellar (an EventHandler), which is using ClusterBundleEvent. In most of the cases the ClusterBundleEvent.getSourceNode() is null, so in case of bundle operatio

Karaf Cellar - ClusterBundleEvent.getSourceNode() is null in most of the cases

2016-06-27 Thread Sergiy Shyrkov
undleMBeanImpl and 4 corresponding shell commands. Is there any reason of not setting that node info in the above mentioned cases? If no, may I submit a pull request with the changes? Thank you in advance! Kind regards Sergiy -- Sergiy Shyrkov Software Architect Jahia Solutions Group SA http://www.jahia.com

Karaf Cellar - implementing synchronous behaviour for bundle operations

2016-05-12 Thread Sergiy Shyrkov
ike to ask if anyone had similar requirements or at least could give me a hint in which direction I should start digging it. Thank you in advance for any hints! Kind regards Sergiy -- Sergiy Shyrkov Software Architect Jahia Solutions Group SA http://www.jahia.com

Re: Disabling some Karaf commands

2016-05-02 Thread Sergiy Shyrkov
isable it completely (in etc/org.apache.karaf.command.acl*). Regards JB On 05/02/2016 04:40 PM, Sergiy Shyrkov wrote: Hello, It could be that this question was already asked before, but I cannot find it in the mailing list archive :-( Is there a proper way to disable particular console commands in Kara

Disabling some Karaf commands

2016-05-02 Thread Sergiy Shyrkov
Hello, It could be that this question was already asked before, but I cannot find it in the mailing list archive :-( Is there a proper way to disable particular console commands in Karaf, say "system:shutdown"? Thank you in advance! Kind regards Sergiy -- Sergiy Shyrko

Re: Feature, conditionally started based on a system capability

2016-02-01 Thread Sergiy Shyrkov
Sergiy You can to install the jahia-clustering feature only if org.jahia.cluster "property" is activated, right ? Did you try: org.jahia.cluster;filter:=("activated=true") (you don't need & in the LDIF syntax as you have only one test) and check if feature:requirement-list ?

Feature, conditionally started based on a system capability

2016-01-29 Thread Sergiy Shyrkov
.0-SNAPSHOT] org.jahia.cluster; filter:="(&(activated=true))"] at org.apache.felix.resolver.ResolutionError.toException(ResolutionError.java:42) And that prevents Karaf from starting. I have a feeling that I am using not the right solution for my use case and would really appreciate any inputs / hints. Tha