Andreas Pieber created KARAF-1487:
-------------------------------------
Summary: Bundles in deploy are deployed before startup process had
been finished
Key: KARAF-1487
URL: https://issues.apache.org/jira/browse/KARAF-1487
Project: Karaf
Issue Type: Bug
Components: karaf-core
Affects Versions: 2.2.7
Reporter: Andreas Pieber
Fix For: 2.2.8
I'm not sure, but I assume that this also affects the master. This needs to be
evaluated after a fix had been crafted.
To reproduce the issue download and unpack karaf-2.2.7; then add the attached
jar to the deploy folder (which is basically [1] packed with tinybundles). Now,
BEFORE starting karaf, edit etc/org.apache.karaf.features.cfg and add "war" to
the bootFeatures. Now start Karaf. you see that the deploy folder bundle had
been deployed BEFORE the war feature had been started. Therefore the bundle is
missing some packages and is not refreshed as the new feature is available.
When you refresh the bundle now manually it works.
[1]
https://github.com/openengsb/labs-paxexam-karaf/tree/master/regression/src/test/java/org/openengsb/labs/paxexam/karaf/regression/supports
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira