Karaf custom distribution | 4.0.7

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Karaf custom distribution | 4.0.7

Niten Aggarwal

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 | Threaded
Open this post in threaded view
|

Re: Karaf custom distribution | 4.0.7

Guillaume Nodet-2
The first thing to do would be to raise the log level to DEBUG to see if there is anything interesting ?
Just change the root logger level in etc/org.ops4j.pax.logging.cfg to DEBUG and replicate the problem...

Guillaume

2016-10-04 11:31 GMT+02:00 Niten Aggarwal <[hidden email]>:

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.

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




--
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration


Reply | Threaded
Open this post in threaded view
|

RE: Karaf custom distribution | 4.0.7

Niten Aggarwal

I am seeing another issue with Karaf 4.0.7. Heap is going out like nothing due to data/tmp.

 

Do you know what are these reflections folder and sometimes going up to GB’s.

 

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 .paxweb6153261711937996148

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 fileinstall-4020966094919460961

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-839525

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-2771

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-85954

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-802207

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-783010

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-525492

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-415345

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-256761

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-232121

 

Thanks,

Niten Aggarwal

 

From: Guillaume Nodet [mailto:[hidden email]]
Sent: Tuesday, October 04, 2016 5:14 PM
To: [hidden email]
Subject: Re: Karaf custom distribution | 4.0.7

 

The first thing to do would be to raise the log level to DEBUG to see if there is anything interesting ?

Just change the root logger level in etc/org.ops4j.pax.logging.cfg to DEBUG and replicate the problem...

 

Guillaume

 

2016-10-04 11:31 GMT+02:00 Niten Aggarwal <[hidden email]>:

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.

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



 

--

------------------------
Guillaume Nodet
------------------------

Red Hat, Open Source Integration

 

 

Reply | Threaded
Open this post in threaded view
|

RE: Karaf custom distribution | 4.0.7

Niten Aggarwal
Hi Guillaume,

Any help much appreciated as this issue coming after migrating Karaf to 4.0.7?
________________________________________
From: Niten Aggarwal
Sent: Wednesday, October 05, 2016 8:27 PM
To: [hidden email]
Subject: RE: Karaf custom distribution | 4.0.7

I am seeing another issue with Karaf 4.0.7. Heap is going out like nothing due to data/tmp.

Do you know what are these reflections folder and sometimes going up to GB’s.

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 .paxweb6153261711937996148
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 fileinstall-4020966094919460961
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-839525
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-2771
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-85954
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-802207
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-783010
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-525492
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-415345
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-256761
drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-232121

Thanks,
Niten Aggarwal

From: Guillaume Nodet [mailto:[hidden email]]
Sent: Tuesday, October 04, 2016 5:14 PM
To: [hidden email]
Subject: Re: Karaf custom distribution | 4.0.7

The first thing to do would be to raise the log level to DEBUG to see if there is anything interesting ?
Just change the root logger level in etc/org.ops4j.pax.logging.cfg to DEBUG and replicate the problem...

Guillaume

2016-10-04 11:31 GMT+02:00 Niten Aggarwal <[hidden email]<mailto:[hidden email]>>:
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.
----------------------------------------------------------------------------------------------------------------------------------------------------



--
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration

Email: [hidden email]<mailto:[hidden email]>
Web: http://fusesource.com<http://fusesource.com/>
Blog: http://gnodet.blogspot.com/

Reply | Threaded
Open this post in threaded view
|

RE: Karaf custom distribution | 4.0.7

Niten Aggarwal
In reply to this post by Guillaume Nodet-2

Any suggestion?

 

Thanks,

Niten Aggarwal

 

From: Niten Aggarwal
Sent: Wednesday, October 05, 2016 8:27 PM
To: [hidden email]
Subject: RE: Karaf custom distribution | 4.0.7

 

I am seeing another issue with Karaf 4.0.7. Heap is going out like nothing due to data/tmp.

 

Do you know what are these reflections folder and sometimes going up to GB’s.

 

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 .paxweb6153261711937996148

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 fileinstall-4020966094919460961

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-839525

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-2771

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-85954

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-802207

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-783010

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-525492

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-415345

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-256761

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-232121

 

Thanks,

Niten Aggarwal

 

From: Guillaume Nodet [mailto:[hidden email]]
Sent: Tuesday, October 04, 2016 5:14 PM
To: [hidden email]
Subject: Re: Karaf custom distribution | 4.0.7

 

The first thing to do would be to raise the log level to DEBUG to see if there is anything interesting ?

Just change the root logger level in etc/org.ops4j.pax.logging.cfg to DEBUG and replicate the problem...

 

Guillaume

 

2016-10-04 11:31 GMT+02:00 Niten Aggarwal <[hidden email]>:

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.

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



 

--

------------------------
Guillaume Nodet
------------------------

Red Hat, Open Source Integration

 

 

Reply | Threaded
Open this post in threaded view
|

Re: Karaf custom distribution | 4.0.7

Guillaume Nodet-2
I have no idea where those reflections-xxx files come from.
They are not generated by karaf itself.
They have to come from one of the bundles deployed I think...

2016-10-06 17:17 GMT+02:00 Niten Aggarwal <[hidden email]>:

Any suggestion?

 

Thanks,

Niten Aggarwal

 

From: Niten Aggarwal
Sent: Wednesday, October 05, 2016 8:27 PM
To: [hidden email]
Subject: RE: Karaf custom distribution | 4.0.7

 

I am seeing another issue with Karaf 4.0.7. Heap is going out like nothing due to data/tmp.

 

Do you know what are these reflections folder and sometimes going up to GB’s.

 

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 .paxweb6153261711937996148

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 fileinstall-4020966094919460961

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-839525

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-2771

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-85954

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-802207

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-783010

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-525492

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-415345

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-256761

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-232121

 

Thanks,

Niten Aggarwal

 

From: Guillaume Nodet [mailto:[hidden email]]
Sent: Tuesday, October 04, 2016 5:14 PM
To: [hidden email]
Subject: Re: Karaf custom distribution | 4.0.7

 

The first thing to do would be to raise the log level to DEBUG to see if there is anything interesting ?

Just change the root logger level in etc/org.ops4j.pax.logging.cfg to DEBUG and replicate the problem...

 

Guillaume

 

2016-10-04 11:31 GMT+02:00 Niten Aggarwal <[hidden email]>:

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.

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



 

--

------------------------
Guillaume Nodet
------------------------

Red Hat, Open Source Integration

 

 




--
------------------------
Guillaume Nodet
------------------------
Red Hat, Open Source Integration


Reply | Threaded
Open this post in threaded view
|

RE: Karaf custom distribution | 4.0.7

Niten Aggarwal

Is there any way to identify the generation process? When I opened few reflection bundles out of 1000’s they pointing to couple of custom bundles definitely.

So just want to understand which process can create these temporary bundles?

 

Thanks,

Niten Aggarwal

 

From: Guillaume Nodet [mailto:[hidden email]]
Sent: Thursday, October 06, 2016 9:32 PM
To: [hidden email]
Subject: Re: Karaf custom distribution | 4.0.7

 

I have no idea where those reflections-xxx files come from.

They are not generated by karaf itself.

They have to come from one of the bundles deployed I think...

 

2016-10-06 17:17 GMT+02:00 Niten Aggarwal <[hidden email]>:

Any suggestion?

 

Thanks,

Niten Aggarwal

 

From: Niten Aggarwal
Sent: Wednesday, October 05, 2016 8:27 PM
To: [hidden email]
Subject: RE: Karaf custom distribution | 4.0.7

 

I am seeing another issue with Karaf 4.0.7. Heap is going out like nothing due to data/tmp.

 

Do you know what are these reflections folder and sometimes going up to GB’s.

 

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 .paxweb6153261711937996148

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 fileinstall-4020966094919460961

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-839525

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-2771

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-85954

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-802207

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-783010

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-525492

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-415345

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-256761

drwxr-xr-x  2 atg atg    4096 Oct  5 07:06 reflections-232121

 

Thanks,

Niten Aggarwal

 

From: Guillaume Nodet [mailto:[hidden email]]
Sent: Tuesday, October 04, 2016 5:14 PM
To: [hidden email]
Subject: Re: Karaf custom distribution | 4.0.7

 

The first thing to do would be to raise the log level to DEBUG to see if there is anything interesting ?

Just change the root logger level in etc/org.ops4j.pax.logging.cfg to DEBUG and replicate the problem...

 

Guillaume

 

2016-10-04 11:31 GMT+02:00 Niten Aggarwal <[hidden email]>:

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.

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



 

--

------------------------
Guillaume Nodet
------------------------

Red Hat, Open Source Integration

 

 



 

--

------------------------
Guillaume Nodet
------------------------

Red Hat, Open Source Integration