0

We are using karaf 4.3.7 in which we are installing the bundles as features. While analyzing the framework logs we found that initial boot up take time which is causing the initial start up failure of our karaf

karaf: Ignoring predefined value for KARAF_HOME
Feb 07, 2023 7:07:43 AM org.apache.karaf.main.Main launch
INFO: Installing and starting initial bundles
Feb 07, 2023 7:07:44 AM org.apache.karaf.main.Main launch
INFO: All initial bundles installed and set to start
Feb 07, 2023 7:07:44 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock /var/tmp/opt/apache-karaf/lock
Feb 07, 2023 7:07:44 AM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Feb 07, 2023 7:07:44 AM org.apache.karaf.main.Main$KarafLockCallback lockAcquired
INFO: Lock acquired. Setting startlevel to 100

After this logs we couldn't find the logs for ~4 minutes approximately and then the downloading logs are appearing.

{"version": "0.2.0", "timestamp": "2023-02-07T07:11:27.782Z", "severity": "TRACE", "service_id": "testapp", "metadata" : {"category": "EDM-tests"}, "message": "Downloading [wrap:file:/opt/apache-karaf/system/io/micrometer/micrometer-registry-prometheus/1.8.1/micrometer-registry-prometheus-1.8.1.jar]"}

Not sure why its taking time to download the logs. Any help would be appreciated.

Shriram
  • 4,343
  • 8
  • 37
  • 64

0 Answers0