Hi Guillaume,

After migrating to Karaf 4.0.7 with custom distribution we are seeing strange 
behavior when server is started. Sometime it’s started properly and sometime 
it’s stuck at below logs.

2016-10-03 04:14:16,530 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Starting bundles:
2016-10-03 04:14:16,532 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |   
org.ops4j.pax.url.wrap/2.4.7
2016-10-03 04:14:16,543 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Done.
2016-10-03 04:14:16,551 | INFO  | pool-6-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Adding features: 
instance/[4.0.7,4.0.7], package/[4.0.7,4.0.7], log/[4.0.7,4.0.7], 
ssh/[4.0.7,4.0.7], webconsole/[4.0.7,4.0.7], 
custom-application/[0.0.2.SNAPSHOT,0.0.2.SNAPSHOT], 
aries-blueprint/[4.0.7,4.0.7], system/[4.0.7,4.0.7], feature/[4.0.7,4.0.7], 
shell/[4.0.7,4.0.7], management/[4.0.7,4.0.7], service/[4.0.7,4.0.7], 
jaas/[4.0.7,4.0.7], shell-compat/[4.0.7,4.0.7], deployer/[4.0.7,4.0.7], 
diagnostic/[4.0.7,4.0.7], bundle/[4.0.7,4.0.7], config/[4.0.7,4.0.7], 
kar/[4.0.7,4.0.7]

No logs comes after this.

On subsequent restart it works fine. Can you please help in figuring what can 
cause this type of issue?

INFO: All initial bundles installed and set to start
Oct 03, 2016 8:48:28 PM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Trying to lock 
.m2\repository\com\custom….\custom-build-assembly-0.0.2-SNAPSHOT\custom-build-assembly-0.0.2-SNAPSHOT\lock
Oct 03, 2016 8:48:28 PM org.apache.karaf.main.lock.SimpleFileLock lock
INFO: Lock acquired
Oct 03, 2016 8:48:28 PM org.apache.karaf.main.Main$KarafLockCallback lockAquired
INFO: Lock acquired. Setting startlevel to 100
2016-10-03 20:48:30,897 | INFO  | FelixStartLevel  | fileinstall                
      | 4 - org.apache.felix.fileinstall - 3.5.4 | Creating configuration from 
jmx.acl.java.lang.Memory.cfg
2016-10-03 20:48:30,992 | INFO  | FelixStartLevel  | fileinstall                
      | 4 - org.apache.felix.fileinstall - 3.5.4 | Creating configuration from 
org.apache.karaf.command.acl.scope_bundle.cfg
2016-10-03 20:48:31,046 | INFO  | FelixStartLevel  | fileinstall                
      | 4 - org.apache.felix.fileinstall - 3.5.4 | Creating configuration from 
org.ops4j.pax.url.mvn.cfg
2016-10-03 20:48:31,125 | INFO  | FelixStartLevel  | fileinstall                
      | 4 - org.apache.felix.fileinstall - 3.5.4 | Creating configuration from 
jmx.acl.cfg
2016-10-03 20:48:32,196 | INFO  | pool-6-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Adding features: 
wrap/[0,0.0.0]
2016-10-03 20:48:32,320 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Changes to perform:
2016-10-03 20:48:32,320 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |   Region: root
2016-10-03 20:48:32,320 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |     Bundles to install:
2016-10-03 20:48:32,320 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |       
mvn:org.ops4j.pax.url/pax-url-wrap/2.4.7/jar/uber
2016-10-03 20:48:32,321 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Installing bundles:
2016-10-03 20:48:32,321 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |   
mvn:org.ops4j.pax.url/pax-url-wrap/2.4.7/jar/uber
2016-10-03 20:48:32,394 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Starting bundles:
2016-10-03 20:48:32,396 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |   
org.ops4j.pax.url.wrap/2.4.7
2016-10-03 20:48:32,406 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Done.
2016-10-03 20:48:32,415 | INFO  | pool-6-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Adding features: 
instance/[4.0.7,4.0.7], package/[4.0.7,4.0.7], log/[4.0.7,4.0.7], 
ssh/[4.0.7,4.0.7], webconsole/[4.0.7,4.0.7], 
custom-application/[0.0.2.SNAPSHOT,0.0.2.SNAPSHOT], 
aries-blueprint/[4.0.7,4.0.7], system/[4.0.7,4.0.7], feature/[4.0.7,4.0.7], 
shell/[4.0.7,4.0.7], management/[4.0.7,4.0.7], service/[4.0.7,4.0.7], 
jaas/[4.0.7,4.0.7], shell-compat/[4.0.7,4.0.7], deployer/[4.0.7,4.0.7], 
diagnostic/[4.0.7,4.0.7], bundle/[4.0.7,4.0.7], config/[4.0.7,4.0.7], 
kar/[4.0.7,4.0.7]
2016-10-03 20:48:51,496 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 | Changes to perform:
2016-10-03 20:48:51,497 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |   Region: root
2016-10-03 20:48:51,497 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |     Bundles to install:
2016-10-03 20:48:51,497 | INFO  | pool-7-thread-1  | FeaturesServiceImpl        
      | 6 - org.apache.karaf.features.core - 4.0.7 |       
mvn:com.fasterxml/classmate/1.1.0


Thanks,
Niten Aggarwal


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information 
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in 
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on 
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the 
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, 
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written 
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please 
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and 
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------

Reply via email to