The reason is certainly because you end up installing javax.mail which is an optional dependency of pax-logging-service. Unfortunately, the boot features installer does not have a way to specify installation options, such as the --no-auto-refresh option you have on the features:install command. One work around would be to make sure javax.mail is installed in the startup phase so that it won't cause a refresh.
2016-11-17 13:38 GMT+01:00 cniehues <[email protected]>: > Hello, > > when I install the drools-module 5.2.3.Final feature in karaf 4.0.7 beside > jpa, hibernate and camel-cxf it will cause infinite restart loop after the > first restart. The strange thing about it is that this behaviour only > occurs > when I deploy it with a feature file. If I do it with manual steps from the > console everything is fine. > > You should be able to reproduce it with afresh karaf 4.0.7 and the > following > feature: > > <features name="osgi-test" > xmlns="http://karaf.apache.org/xmlns/features/v1.3.0"> > > <repository>mvn:org.apache.camel.karaf/apache-camel/2.17. > 3/xml/features</repository> > > <repository>mvn:org.drools/drools-karaf-features/6.5.0. > Final/xml/features</repository> > > <repository>mvn:org.hibernate/hibernate-osgi/5.2.3.Final/ > xml/karaf</repository> > > <feature name='osgi-test' description='pra-osgi-feature' > version='1.0.0'> > <feature>jpa</feature> > <feature>hibernate-orm</feature> > <feature>camel-cxf</feature> > <feature>drools-module</feature> > </feature> > </features> > > I already took a look at the logfiles but saw no hint about what's causing > this issue. > > btw: is the automatic restart a configurable behaviour? > > Cheers > Christian > > > > -- > View this message in context: http://karaf.922171.n3.nabble. > com/Installing-drools-module-causing-infinite-karaf-restart-tp4048644.html > Sent from the Karaf - User mailing list archive at Nabble.com. > -- ------------------------ Guillaume Nodet ------------------------ Red Hat, Open Source Integration Email: [email protected] Web: http://fusesource.com Blog: http://gnodet.blogspot.com/
