I tried to install the hawtio 2.14.0 feature into Karaf 4.3.3 instance. It
took more than two minutes until feature becomes available.
When I am installing the hawtio feature into a blank Karaf 4.3.3 it takes
around 2 seconds.

I profiled the deployment process and found out that 98% of the time is
consumed in the method

org.apache.felix.resolver.ResolverImpl.calculatePackageSpaces
(org.apache.felix.resolver.ResolverImpl.ResolveSession,
org.apache.felix.resolver.Candidates, java.util.Collection)

You can find an image of the profiling result here:

https://210922rtyenaavi3ide.nextcloud.hosting.zone/s/o2YG4D2Qrbp5Lo7

I think the cause of this problem lies somewhere in the bundles and feature
that are already deploy in the Karaf  instance. I have installed cxf,
activemq, and some custom features.
I have no glue howto solve this problem.
And it is a problem, because when I add the hawtio feature to the boot
feature list, than the startup of my Karaf instance takes also more than
two minutes.

Any idea?


Regards

  Richard

Reply via email to