Hello everyone,

I am referring to a thread from May 2023 where I described a problem where I 
see:

org.apache.karaf.features.internal.service.FeaturesServiceImpl   Done.

in the log file and nothing else and the application I am trying to deploy 
using a feature.xml file does not start up.

I was finally able to get a log file which captures the above described 
scenario. The log file can be found in the attachment.

I am not 100% sure but I believe the current problem is that one of the bundles 
lists a package in Import-Package  section with wrong version (lower than is 
actually installed). This kind of problem is usually reported by the resolver 
which prints a very detailed message what is wrong but right now there is no 
exception printed in the log file or on the system output. It is complicated to 
troubleshoot the problem without any information.

I should probably mention again that I am using logback as logging framework 
(with framework-logback/4.4.3 feature).

Any help will be appreciated!

Best regards

Martin Zukal





From: Martin Zukal <[email protected]>
Sent: Wednesday, May 17, 2023 1:04 PM
To: '[email protected]' <[email protected]>
Subject: RE: Done. in the log file and features not installed



Hello Grzegorz,

Thanks for a quick response and sorry for my late reaction. I was trying to 
reproduce it again but I was not able to. I was not able find the log files 
from the past so I unfortunately don’t have the log file you asked for.

I will get back to you when I experience the problem again.

Thanks for your support!

Best regards

Martin Zukal



From: Grzegorz Grzybek <[email protected] <mailto:[email protected]> >
Sent: Wednesday, May 10, 2023 2:14 PM
To: [email protected] <mailto:[email protected]> ; Martin Zukal 
<[email protected] <mailto:[email protected]> >
Subject: Re: Done. in the log file and features not installed



Hello



The only thing I can think of is that some features during 
resolution/installation lead to refresh or worse - uninstallation, of 
pax-logging-logback or pax-logging-api bundle. Do you have earlier entries from 
the log?



regards

Grzegorz Grzybek



śr., 10 maj 2023 o 13:29 Martin Zukal via user <[email protected] 
<mailto:[email protected]> > napisał(a):

Hello everyone,

I am sometimes experiencing weird behavior of Karaf when I deploy a single 
feature XML file from the deploy directory. Karaf starts normally and all 
features from featuresBoot are installed. The last line written in the log file 
is:

[2023-05-09 09:31:24.014] INFO  features-3-thread-1          
org.apache.karaf.features.internal.service.FeaturesServiceImpl   Done.

After this there are no more lines written to the log file and the features 
from the feature file are not installed.



When this happens there is always some problem with the bundles listed in the 
feature xml file (last time it was a wrong version of a package in the 
Import-Package in one of the bundles) but there is no exception printed in the 
log file or on the system output. It is complicated to troubleshoot the problem 
without any information.

I should probably mention that I am using logback as logging framework (with 
framework-logback/4.4.3 feature).

Unfortunately, this is not happening regularly so I am not able to describe 
exact steps to reproduce it.

I was wondering whether you could help me to understand this behavior. Is there 
maybe some logging option which I could turn on to get more information?

Any help will be appreciated!

Best regards

Martin Zukal



Attachment: done.log
Description: Binary data

Reply via email to