Did you try to remove the data folder ? Not only Karaf is using caching, Felix FileInstall/ConfigAdmin does too.
Regards JB On Mon, Mar 20, 2023 at 2:42 PM Maurice Betzel <m.bet...@gaston-schul.com> wrote: > Dear community, > > > > Having built several custom Karaf distributions the past 10 years, we now > face a strange behavior not seen before. > > Environment is Windows 11 64bit, base Karaf version 4.4.3 with upgraded > pax-web 8.0.17 component. > > If I extract the runtime ZIP after build and start it from the default > containing folder, all works well. But if I rename the folder before first > start, Karaf hangs on disabling logging, see below. > > If I start and stop Karaf from its original folder and then rename this > folder, all is well. > > Seems that Karaf home gets cached somewhere? I cannot find it so I am > hoping this behavior has been noticed before? > > > > 2023-03-20T14:28:48,405 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | Starting bundles: > > 2023-03-20T14:28:48,407 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.util/9.4.50.v20221201 > > 2023-03-20T14:28:48,408 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.jmx/9.4.50.v20221201 > > 2023-03-20T14:28:48,409 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.io/9.4.50.v20221201 > > 2023-03-20T14:28:48,410 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.http/9.4.50.v20221201 > > 2023-03-20T14:28:48,411 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | jakarta.servlet-api/4.0.0 > > 2023-03-20T14:28:48,411 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.ops4j.pax.web.pax-web-api/8.0.17 > > 2023-03-20T14:28:48,412 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.ops4j.pax.web.pax-web-spi/8.0.17 > > 2023-03-20T14:28:48,413 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.server/9.4.50.v20221201 > > 2023-03-20T14:28:48,413 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.security/9.4.50.v20221201 > > 2023-03-20T14:28:48,414 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.util.ajax/9.4.50.v20221201 > > 2023-03-20T14:28:48,415 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.servlet/9.4.50.v20221201 > > 2023-03-20T14:28:48,415 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.xml/9.4.50.v20221201 > > 2023-03-20T14:28:48,416 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.jaas/9.4.50.v20221201 > > 2023-03-20T14:28:48,417 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.servlets/9.4.50.v20221201 > > 2023-03-20T14:28:48,418 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.ops4j.pax.web.pax-web-jetty/8.0.17 > > 2023-03-20T14:28:48,419 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.continuation/9.4.50.v20221201 > > 2023-03-20T14:28:48,420 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.ops4j.pax.web.pax-web-tomcat-common/8.0.17 > > 2023-03-20T14:28:48,421 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.ops4j.pax.web.pax-web-runtime/8.0.17 > > 2023-03-20T14:28:48,421 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.eclipse.jetty.client/9.4.50.v20221201 > > 2023-03-20T14:28:48,422 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.apache.karaf.http.core/4.4.3 > > 2023-03-20T14:28:48,423 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.jolokia.osgi/1.7.1 > > 2023-03-20T14:28:48,424 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | Done. > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | Changes to perform: > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | Region: root > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | Bundles to install: > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.bouncycastle/bcpkix-jdk18on/1.72 > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.bouncycastle/bcprov-jdk18on/1.72 > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.bouncycastle/bcutil-jdk18on/1.72 > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:com.fasterxml.jackson.core/jackson-annotations/2.14.2 > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:com.fasterxml.jackson.core/jackson-core/2.14.2 > > 2023-03-20T14:28:49,330 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:com.fasterxml.jackson.core/jackson-databind/2.14.2 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:eu.abeel.platform/environment/4.0.0 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:eu.abeel.platform/security/4.0.0 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:io.hawt/hawtio-log/2.17.0 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:io.hawt/hawtio-log-osgi/2.17.0 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.api/1.1.5 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.core/1.1.8 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.aries.jmx/org.apache.aries.jmx.whiteboard/1.2.0 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.aries/org.apache.aries.util/1.1.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.felix/org.apache.felix.metatype/1.2.4 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.felix/org.apache.felix.scr/2.2.4 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.bundle/org.apache.karaf.bundle.core/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.features/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.kar/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.deployer/org.apache.karaf.deployer.wrap/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.diagnostic/org.apache.karaf.diagnostic.core/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf/org.apache.karaf.event/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.features/org.apache.karaf.features.command/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.instance/org.apache.karaf.instance.core/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.command/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.config/4.4.3 > > 2023-03-20T14:28:49,331 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.modules/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.kar/org.apache.karaf.kar.core/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.log/org.apache.karaf.log.core/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.management/org.apache.karaf.management.server/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.package/org.apache.karaf.package.core/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.scr/org.apache.karaf.scr.management/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.scr/org.apache.karaf.scr.state/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.service/org.apache.karaf.service.core/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.services/org.apache.karaf.services.eventadmin/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | > mvn:org.apache.karaf.shell/org.apache.karaf.shell.commands/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.core/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.shell/org.apache.karaf.shell.ssh/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.karaf.system/org.apache.karaf.system.core/4.4.3 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.sshd/sshd-osgi/2.9.2 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.sshd/sshd-scp/2.9.2 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.apache.sshd/sshd-sftp/2.9.2 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.jline/jline/3.21.0 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.ops4j.pax.url/pax-url-wrap/2.6.12/jar/uber > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | mvn:org.osgi/org.osgi.service.component/1.5.0 > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | Stopping bundles: > > 2023-03-20T14:28:49,332 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.apache.felix.fileinstall/3.7.4 > > 2023-03-20T14:28:50,202 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.apache.felix.configadmin.plugin.interpolation/1.2.6 > > 2023-03-20T14:28:50,202 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.apache.felix.configurator/1.0.16 > > 2023-03-20T14:28:50,202 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.apache.karaf.config.core/4.4.3 > > 2023-03-20T14:28:50,207 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.apache.felix.coordinator/1.0.2 > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | > FeaturesServiceImpl | 17 - org.apache.karaf.features.core - > 4.4.3 | org.ops4j.pax.logging.pax-logging-api/2.2.0 > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling SLF4J API support. > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling Apache Commons > Logging API support. > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | Activator > | 3 - org.ops4j.pax.logging.pax-logging-api - 2.2.0 | > Disabling JULI Logger API support. > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling Avalon Logger API > support. > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling JBoss Logging API > support. > > 2023-03-20T14:28:50,208 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling Log4J v1 API > support. > > 2023-03-20T14:28:50,211 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling Log4J v2 API > support. > > 2023-03-20T14:28:50,213 | INFO | features-2-thread-1 | > Activator | 3 - > org.ops4j.pax.logging.pax-logging-api - 2.2.0 | Disabling Java Util Logging > API support. > > > > Met vriendelijke groet / Mit freundlichen Grüßen / Kind regards, > > Maurice Betzel > Principal Software Engineer > > *Gaston Schul Group* > *Department ICT* > > Al onze verrichtingen geschieden op basis van de Algemene voorwaarden der > Expediteurs van België, gepubliceerd in de bijlage tot het Belgisch > Staatsblad dd. 24 juni 2005 onder nr. 0090237. De tekst van deze > voorwaarden wordt op uw verzoek gratis toegezonden. > All our transactions are subject to the General Conditions of the Belgian > Forwarders Association which have been published under nr. 0090237 in the > "Bijlage tot het Belgisch Staatsblad" dated June 24th, 2005, and is > available free of charge upon request. > Toutes nos opérations se font sur base des Conditions Générales des > Expéditeurs de Belgique. Le texte en a été publié dans l' Annexe au > Moniteur Belge du 24 juin 2005 sous le n° 0090237. Ce texte sera vous > envoyé gratuitment sur demande. > Email confidentiality notice: > This email and any files transmitted with it are confidential and intended > only for the use of the recipient. If you have received this email in error > please notify its sender. >