Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-03-03 Thread Olivier21
Christian, I found another solution to this problem. I added an element : osgi.service;effective:=active;objectClass=org.osgi.service.log.LogService in the the file "feature.xml" which allow to create my kar file. Good afternoon. Olivier -- View this message in

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Jean-Baptiste Onofré
Great ! Thanks Regards JB On 02/22/2017 11:34 AM, Olivier21 wrote: JB, I sent you the project by email. -- View this message in context:

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
JB, I sent you the project by email. -- View this message in context: http://karaf.922171.n3.nabble.com/missing-requirement-osgi-service-effective-active-filter-objectClass-org-osgi-service-log-LogService-tp4049593p4049609.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Jean-Baptiste Onofré
Any chance to share your project ? It would be easier as I can fix directly on your stuff. Thanks, Regards JB On 02/22/2017 11:14 AM, Olivier21 wrote: Hi JB! In fact, I have a maven module to generate my custom distribution of Karaf and the pom.xml is : http://maven.apache.org/POM/4.0.0;

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
Hi JB! In fact, I have a maven module to generate my custom distribution of Karaf and the pom.xml is : http://maven.apache.org/POM/4.0.0; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd;>

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Jean-Baptiste Onofré
Hi Olivier, In your command, I guess you have @Reference to KarService, correct ? Regards JB On 02/22/2017 11:05 AM, Olivier21 wrote: bundle:list -t 0 give me this result : karaf@root()> bundle:list -t 0 START LEVEL 100 , List Threshold: 0 ID | State| Lvl | Version | Name

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
bundle:list -t 0 give me this result : karaf@root()> bundle:list -t 0 START LEVEL 100 , List Threshold: 0 ID | State| Lvl | Version | Name 0 | Active | 0 | 5.6.1| System Bundle

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Jean-Baptiste Onofré
Just a quick detail: as the default system level is 80, bundle:list will show only bundles greater than 80 (considered as user bundles). The 'la' command (bundle:list -t 0) displays all bundles (system and user). Regards JB On 02/22/2017 10:55 AM, Olivier21 wrote: Thank you very much

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Jean-Baptiste Onofré
Hi Olivier, Can you check with la command (it's an alias to bundle:list -t 0) ? Regards JB On 02/22/2017 10:55 AM, Olivier21 wrote: Thank you very much Christian. I just tried your first solution and the problem seems to be solved regarding LogService. I have no more the error message.

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Christian Schneider
I do not see any error in the log. Can you try bundle:list -t 0 ? Christian On 22.02.2017 10:55, Olivier21 wrote: Thank you very much Christian. I just tried your first solution and the problem seems to be solved regarding LogService. I have no more the error message. Nevertheless, when i

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
Thank you very much Christian. I just tried your first solution and the problem seems to be solved regarding LogService. I have no more the error message. Nevertheless, when i execute the command "bundle:list", I have no result. In the log file, i have 2 missing dependencies (that I have

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Achim Nierbeck
>>> I >>> made a custom karaf distribution from Karaf 4.0.4. Everything works fine >>> (no >>> error message in the log files and the service works fine). >>> >>> The problem is when I try to do the same thing with Karaf 4.0.8, I got >>> th

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
Ok Thanks Tim! -- View this message in context: http://karaf.922171.n3.nabble.com/missing-requirement-osgi-service-effective-active-filter-objectClass-org-osgi-service-log-LogService-tp4049593p4049599.html Sent from the Karaf - User mailing list archive at Nabble.com.

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Christian Schneider
to do the same thing with Karaf 4.0.8, I got this message during the deployement : missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)" How can I inject the service "org.osgi.service.log.LogService"? In my

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Timothy Ward
For this next step you’ll need someone more familiar with how Karaf adds its logging service in the “normal” distribution. Best Regards, Tim > On 22 Feb 2017, at 09:22, Olivier21 wrote: > > Tim, > > Thank you for your answer. > > I discovered with the

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
Tim, Thank you for your answer. I discovered with the command : service:list LogService that the bundle OPS4J Pax-Logging provides the log service : karaf@root()> service:list LogService [org.apache.karaf.log.core.LogService] -- service.bundleid = 37

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
I forgot to say that in the file blueprint.xml, I have : -- View this message in context: http://karaf.922171.n3.nabble.com/missing-requirement-osgi-service-effective-active-filter-objectClass-org-osgi-service-log-LogService-tp4049593p4049594.html Sent from the Karaf - User

Re: missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Timothy Ward
s when I try to do the same thing with Karaf 4.0.8, I got this > message during the deployement : > > missing requirement [...] osgi.service; effective:=active; > filter:="(objectClass=org.osgi.service.log.LogService)" > > How can I inject the service "org.osgi.

missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)"

2017-02-22 Thread Olivier21
this message during the deployement : missing requirement [...] osgi.service; effective:=active; filter:="(objectClass=org.osgi.service.log.LogService)" How can I inject the service "org.osgi.service.log.LogService"? In my class, I have : protected LogService logService; publi