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
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:
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.
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;
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;>
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
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
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
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.
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
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
>>> 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
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.
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
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
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
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
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.
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
19 matches
Mail list logo