Ah yes, good catch. My bad. Thanks for the PR and "improvement".
Regards JB > Le 3 janv. 2021 à 04:25, Paul Spencer <paulspen...@mindspring.com> a écrit : > > JB, > The root cause is identified in issue KARAF-6982. I have submitted a pull > request to resolve the issue. > decanter-appender-file and decanter-alerting are conflicting over > ${karaf.data}/decanter > > Paul Spencer > >> On Jan 2, 2021, at 1:17 AM, Jean-Baptiste Onofre <j...@nanthrax.net> wrote: >> >> Hi Paul, >> >> Can you send the complete log file ? >> Can you check the presence of the >> etc/org.apache.karaf.decanter.alerting.service.cfg file ? >> >> Thanks, >> Regards >> JB >> >>> Le 1 janv. 2021 à 21:02, Paul Spencer <paulspen...@mindspring.com> a écrit : >>> >>> Correction, this is an issue running on a RaspberryPI. I see the same >>> failure with Java 11 and Java 1.8. The Alerting service is running on >>> Karaf 4.2.10, Java 1.8.0_172, and MacOS 10.14.6. >>> >>> Paul Spencer >>> >>>> On Jan 1, 2021, at 2:57 PM, Paul Spencer <paulspen...@mindspring.com> >>>> wrote: >>>> >>>> The Alerting Service starts with Java 1.8.0_212 (OpenJDK Client VM version >>>> 25.212-b01). This is appears to be a Java 11 issue. >>>> >>>> >>>>> On Jan 1, 2021, at 1:09 PM, Paul Spencer <paulspen...@mindspring.com> >>>>> wrote: >>>>> >>>>> Karaf 4.2.10 >>>>> Decanter 2.6.0 >>>>> JVM OpenJDK Server VM version 11.0.9.1+1-post-Raspbian-1deb10u2 >>>>> >>>>> The Alerting service will is not starting due to a missing service. Why >>>>> is the service missing? >>>>> >>>>> >>>>> karaf@root()> bundle:list >>>>> START LEVEL 100 , List Threshold: 50 >>>>> ID │ State │ Lvl │ Version │ Name >>>>> ───┼─────────┼─────┼─────────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── >>>>> 24 │ Active │ 80 │ 4.2.10 │ Apache Karaf :: OSGi Services :: Event >>>>> 49 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: API >>>>> 50 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Collector :: >>>>> OSHI >>>>> 51 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Marshaller :: >>>>> CSV >>>>> 52 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Marshaller :: >>>>> Json >>>>> 53 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Marshaller :: >>>>> Raw >>>>> 54 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Parser :: >>>>> Identity >>>>> 55 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Parser :: Regex >>>>> 56 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Parser :: Split >>>>> 60 │ Active │ 80 │ 1.1.4 │ JSR 374 (JSON Processing) Default Provider >>>>> 64 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Appender :: >>>>> File >>>>> 65 │ Waiting │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Alerting :: >>>>> Service >>>>> 66 │ Active │ 80 │ 2.6.0 │ Apache Karaf :: Decanter :: Alerting :: Log >>>>> karaf@root()> >>>>> >>>>> karaf@root()> bundle:headers 65 >>>>> >>>>> >>>>> >>>>> Apache Karaf :: Decanter :: Alerting :: Service (65) >>>>> ---------------------------------------------------- >>>>> Bnd-LastModified = 1607876626900 >>>>> Build-Jdk = 1.8.0_241 >>>>> Built-By = jbonofre >>>>> Created-By = Apache Maven Bundle Plugin >>>>> Manifest-Version = 1.0 >>>>> Service-Component = >>>>> OSGI-INF/org.apache.karaf.decanter.alerting.service.xml,OSGI-INF/org.apache.karaf.decanter.alerting.service.management.xml,OSGI-INF/org.apache.karaf.decanter.alerting.store.lucene.xml >>>>> Tool = Bnd-4.2.0.201903051501 >>>>> >>>>> Karaf-Commands = >>>>> org.apache.karaf.decanter.alerting.service.command,org.apache.karaf.decanter.alerting.service.command.completers >>>>> >>>>> Bundle-Description = The Apache Software Foundation provides support for >>>>> the Apache community of open-source software projects. The Apache >>>>> projects are characterized by a collaborative, consensus based >>>>> development process, an open and pragmatic software license, and a >>>>> desire to create high quality software that leads the way in its field. >>>>> We consider ourselves not simply a group of projects sharing a server, >>>>> but rather a community of developers and users. >>>>> Bundle-DocURL = https://www.apache.org/ >>>>> Bundle-License = https://www.apache.org/licenses/LICENSE-2.0.txt >>>>> Bundle-ManifestVersion = 2 >>>>> Bundle-Name = Apache Karaf :: Decanter :: Alerting :: Service >>>>> Bundle-SymbolicName = org.apache.karaf.decanter.alerting.service >>>>> Bundle-Vendor = The Apache Software Foundation >>>>> Bundle-Version = 2.6.0 >>>>> >>>>> Provide-Capability = >>>>> >>>>> osgi.service;objectClass:List<String>=org.apache.karaf.decanter.alerting.service.Store, >>>>> >>>>> osgi.service;objectClass:List<String>=org.apache.karaf.decanter.alerting.service.management.AlertMBean, >>>>> >>>>> osgi.service;objectClass:List<String>=org.osgi.service.event.EventHandler >>>>> Require-Capability = >>>>> >>>>> osgi.extender;filter:=(&(osgi.extender=osgi.component)(version>=1.3.0)(!(version>=2.0.0))), >>>>> >>>>> osgi.service;effective:=active;filter:=(objectClass=org.apache.karaf.decanter.alerting.service.Store), >>>>> >>>>> osgi.service;effective:=active;filter:=(objectClass=org.osgi.service.event.EventAdmin), >>>>> osgi.ee;filter:=(&(osgi.ee=JavaSE)(version=1.8)) >>>>> >>>>> Import-Package = >>>>> com.sun.management;resolution:=optional, >>>>> org.apache.karaf.shell.api.action;resolution:=optional;version="[4,5)", >>>>> >>>>> org.apache.karaf.shell.api.action.lifecycle;resolution:=optional;version="[4,5)", >>>>> org.apache.karaf.shell.api.console;resolution:=optional;version="[4,5)", >>>>> >>>>> org.apache.karaf.shell.support.completers;resolution:=optional;version="[4,5)", >>>>> javax.json;version="[1.1,2)", >>>>> javax.management, >>>>> javax.xml.parsers, >>>>> org.osgi.framework;version="[1.8,2)", >>>>> org.osgi.service.cm;version="[1.5,2)", >>>>> org.osgi.service.component;version="[1.3,2)", >>>>> org.osgi.service.event;version="[1.3,2)", >>>>> org.slf4j;version="[1.7,2)", >>>>> org.w3c.dom, >>>>> org.xml.sax, >>>>> org.xml.sax.helpers, >>>>> sun.misc >>>>> >>>>> >>>>> karaf@root()> >>>>> >>>>> >>>>> >>>>> >>>>> *** >>>>> * From Karaf.log >>>>> *** >>>>> 12:35:57.202 INFO [features-3-thread-1] Changes to perform: >>>>> 12:35:57.213 INFO [features-3-thread-1] Region: root >>>>> 12:35:57.218 INFO [features-3-thread-1] Bundles to install: >>>>> 12:35:57.227 INFO [features-3-thread-1] >>>>> mvn:org.apache.karaf.decanter.alerting/org.apache.karaf.decanter.alerting.service/2.6.0 >>>>> 12:35:57.249 INFO [features-3-thread-1] Installing bundles: >>>>> 12:35:57.261 INFO [features-3-thread-1] >>>>> mvn:org.apache.karaf.decanter.alerting/org.apache.karaf.decanter.alerting.service/2.6.0 >>>>> 12:35:57.536 INFO [features-3-thread-1] Starting bundles: >>>>> 12:35:57.543 INFO [features-3-thread-1] >>>>> org.apache.karaf.decanter.alerting.service/2.6.0 >>>>> 12:35:57.619 INFO [features-3-thread-1] Command registration delayed for >>>>> bundle org.apache.karaf.decanter.alerting.service/2.6.0. Missing service: >>>>> [org.apache.karaf.decanter.alerting.service.Store] >>>>> 12:35:57.878 ERROR [features-3-thread-1] registerMBean: Cannot register >>>>> MBean service null with MBean servers: Not an instanceof DynamicMBean or >>>>> not MBean spec compliant standard MBean >>>>> 12:35:57.934 INFO [features-3-thread-1] Done. >>>>> 12:35:57.833 ERROR [FelixDispatchQueue] FrameworkEvent ERROR >>>>> org.osgi.framework.ServiceException: Service factory returned null. >>>>> (Component: org.apache.karaf.decanter.alerting.store.lucene (14)) >>>>> >>>>> >>>>> Paul Spencer >>>> >>> >> >