[ https://issues.apache.org/jira/browse/KARAF-4498?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15374665#comment-15374665 ]
Volker Althaus commented on KARAF-4498: --------------------------------------- For your information: We solved the problem with the context-list command by adding the Spring and Camel bundles to the startup.properties: mvn\:org.apache.geronimo.specs/geronimo-jms_1.1_spec/1.1.1 = 50 mvn\:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.aopalliance/1.0_6 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.cglib/3.2.0_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-aop/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-beans/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-context-support/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-core/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-expression/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-jms/3.2.14.RELEASE_1 = 50 mvn\:org.apache.servicemix.bundles/org.apache.servicemix.bundles.spring-tx/3.2.14.RELEASE_1 = 50 mvn\:org.springframework.osgi/spring-osgi-annotation/1.2.1 = 50 mvn\:org.springframework.osgi/spring-osgi-core/1.2.1 = 50 mvn\:org.springframework.osgi/spring-osgi-extender/1.2.1 = 50 mvn\:org.springframework.osgi/spring-osgi-io/1.2.1 = 50 mvn\:org.apache.camel/camel-spring/2.16.3 = 50 mvn\:org.apache.camel/camel-core/2.16.3 = 50 We know this is a only a workaround which works in our custom distribution, so we hope that the base problem with fileinstall would solved in another way. > Fileinstall polls too early on clean start > ------------------------------------------ > > Key: KARAF-4498 > URL: https://issues.apache.org/jira/browse/KARAF-4498 > Project: Karaf > Issue Type: Bug > Affects Versions: 4.0.4 > Environment: Windows 7 > Reporter: Volker Althaus > Attachments: bug-screencast.mp4, bug-setup.zip > > > In the deploy folder is a bundle with a Spring driven Camel route. As boot > features "camel-spring" and "spring-dm" are given. > On a clean Karaf start in nearly 9 out of 10 times the CamelContext is > started, but the "context-list" command output is empty, the Camel route > itself however is started and running correctly. > Is looks like fileinstall does not regard the property > "felix.fileinstall.active.level=80" and polls too early, so likely some > BundleListeners like the one which registers the CamelContext for the > "context-list" command are not available yet. > A real hot deploy at runtime works all time, the context appears correctly. > In Karaf 2 and 3 this issue did not appear. > Attached to this issue is a setup with the hot deploy folder and a customized > features.cfg. Simple extract into a vanilla Karaf 4.0.4. Because it is a > timing problem and it could be not reproducible, on demand I can also attach > a screencast which shows the bug on my system. -- This message was sent by Atlassian JIRA (v6.3.4#6332)