Hi Marc,
please check the SCR version you are using... I was facing the same kind of 
issue in my Eclipse PDE environment. The problem was caused by SCR 2.0.2 and 
got fixed in SCR >= 2.0.4. This fix solved my problem: 
https://issues.apache.org/jira/browse/FELIX-5194

Regards,
Jens
 

Gesendet: Dienstag, 13. September 2016 um 17:01 Uhr
Von: "Marc Durand" <marc.dur...@gmail.com>
An: user@karaf.apache.org
Betreff: Karaf 4.x startup - Aries causing components to deactivate and 
re-activate multiple times
I've been having a problem that I can't seem to resolve even after days of
troubleshooting. When Karaf starts up, some of my components are activated
(methods annotated with @Activate are called), then de-activated (methods
annotated with @Deactivate are called) and activated again - sometimes
multiple times. I see this in the log:

2016-09-13 10:46:07,624 INFO (CM Configuration Updater (ManagedService
Update: pid=[org.apache.aries.transaction]):::::::)
[DatabaseHelperFactoryImpl] activate: called
2016-09-13 10:46:07,773 INFO (CM Configuration Updater (ManagedService
Update: pid=[org.apache.aries.transaction]):::::::)
[DatabaseHelperFactoryImpl] deactivate: called
2016-09-13 10:46:07,783 INFO (CM Configuration Updater (ManagedService
Update: pid=[org.apache.aries.transaction]):::::::)
[DatabaseHelperFactoryImpl] activate: called
2016-09-13 10:46:07,901 INFO (CM Configuration Updater (ManagedService
Update: pid=[org.apache.aries.transaction]):::::::)
[DatabaseHelperFactoryImpl] deactivate: called
2016-09-13 10:46:07,911 INFO (CM Configuration Updater (ManagedService
Update: pid=[org.apache.aries.transaction]):::::::)
[DatabaseHelperFactoryImpl] activate: called

Seeing "CM Configuration Updater (ManagedService Update:
pid=[org.apache.aries.transaction])" in the log makes me think that Aries
thinks its configuration has changed when in fact it has not. Is this a
bug? What can I do to troubleshoot/resolve this issue?

Thanks in advance,
Marc



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-x-startup-Aries-causing-components-to-deactivate-and-re-activate-multiple-times-tp4047996.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to