I have a Karaf 4.2.4 distribution.

I find that when I drop a kar file into the deploy folder there is a
constant long delay first while the changes to perform for the feature
dependencies are identified and then while the changes to perform to
complete the install of the kar's feature.

I dont see anything in the log to indicate waht is happening but do know the
processor is heavily used during these delays. 

Any advice on how I can investigate this?

Example log snippet follows - see the delay from 11:24:13 - 11:24:54 for
"adding features" - "changes to perform". Also the delay from 11:24:54 -
11:26:14 for "done" - "changes to perform": 

11:24:13.834 INFO [fileinstall-C:\data\ksr-1.0.0/deploy] Found a .kar file
to deploy.
11:24:13.838 INFO [fileinstall-C:\data\ksr-1.0.0/deploy] Installing KAR file
C:\data\ksr-1.0.0\deploy\feed-storage-1.0.0-SNAPSHOT.kar
11:24:13.985 INFO [fileinstall-C:\data\ksr-1.0.0/deploy] Added feature
repository
'mvn:com.clogic.newswire/feed-storage/1.0.0-SNAPSHOT/xml/features'
11:24:13.989 INFO [fileinstall-C:\data\ksr-1.0.0/deploy] Adding features:
feed-storage/[1.0.0.SNAPSHOT,1.0.0.SNAPSHOT]
11:24:54.420 INFO [features-3-thread-1] Changes to perform:
11:24:54.421 INFO [features-3-thread-1]   Region: root
11:24:54.423 INFO [features-3-thread-1]     Bundles to install:
11:24:54.424 INFO [features-3-thread-1]      
mvn:org.apache.camel/camel-mongodb3/2.23.1
11:24:54.424 INFO [features-3-thread-1]      
mvn:org.eclipse.jetty/jetty-http/9.4.12.v20180830
11:24:54.425 INFO [features-3-thread-1]      
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.12.v20180830
11:24:54.426 INFO [features-3-thread-1]      
mvn:org.mongodb/mongo-java-driver/3.9.0
11:24:54.427 INFO [features-3-thread-1] Installing bundles:
11:24:54.428 INFO [features-3-thread-1]  
mvn:org.apache.camel/camel-mongodb3/2.23.1
11:24:54.492 INFO [features-3-thread-1]  
mvn:org.eclipse.jetty/jetty-http/9.4.12.v20180830
11:24:54.494 INFO [features-3-thread-1]  
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.12.v20180830
11:24:54.495 INFO [features-3-thread-1]  
mvn:org.mongodb/mongo-java-driver/3.9.0
11:24:54.548 INFO [features-3-thread-1] Starting bundles:
11:24:54.549 INFO [features-3-thread-1]  
org.mongodb.mongo-java-driver/3.9.0
11:24:54.556 INFO [features-3-thread-1]  
org.apache.camel.camel-mongodb3/2.23.1
11:24:54.569 INFO [features-3-thread-1] Done.
11:26:14.180 INFO [features-3-thread-1] Changes to perform:
11:26:14.181 INFO [features-3-thread-1]   Region: root
11:26:14.183 INFO [features-3-thread-1]     Bundles to install:
11:26:14.183 INFO [features-3-thread-1]      
mvn:com.clogic.newswire/feed-storage/1.0.0-SNAPSHOT
11:26:14.184 INFO [features-3-thread-1]      
mvn:org.eclipse.jetty/jetty-http/9.4.12.v20180830
11:26:14.185 INFO [features-3-thread-1]      
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.12.v20180830
11:26:14.186 INFO [features-3-thread-1] Installing bundles:
11:26:14.186 INFO [features-3-thread-1]  
mvn:com.clogic.newswire/feed-storage/1.0.0-SNAPSHOT
11:26:14.245 INFO [features-3-thread-1]  
mvn:org.eclipse.jetty/jetty-http/9.4.12.v20180830
11:26:14.247 INFO [features-3-thread-1]  
mvn:org.eclipse.jetty.websocket/websocket-common/9.4.12.v20180830
11:26:14.273 INFO [features-3-thread-1] Starting bundles:
11:26:14.274 INFO [features-3-thread-1]   feed-storage/1.0.0.SNAPSHOT
11:26:14.577 INFO [features-3-thread-1] Cluster created with settings
{hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN,
serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
11:26:14.620 INFO [features-3-thread-1] Blueprint bundle
feed-storage/1.0.0.SNAPSHOT has been started
11:26:14.621 INFO [Blueprint Event Dispatcher: 1] Attempting to start
CamelContext: feed-storage
11:26:14.623 INFO [Blueprint Event Dispatcher: 1] Apache Camel 2.23.1
(CamelContext: feed-storage) is starting
11:26:14.623 INFO [Blueprint Event Dispatcher: 1] StreamCaching is enabled
on CamelContext: feed-storage



--
Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Reply via email to