Add support for Felix OSGi framework
------------------------------------
Key: NXP-8645
URL: https://jira.nuxeo.com/browse/NXP-8645
Project: Nuxeo Enterprise Platform
Issue Type: Improvement
Affects Versions: 5.5
Reporter: Bogdan Stefanescu
Assignee: Bogdan Stefanescu
Priority: Major
Be able to deploy Nuxeo core (apricot) on felix OSGi framework.
Some modifications must be done in component loader to use the STARTING or
ACTIVATING state to load XML components instead of RESOLVED.
Also, some code is not working because of some class loader problems as for
example XMap.
This works on equinox because equinox is using a special context class loader
(i.e. ContextFinder) which search in the call stack for the bundle to use as
class loader provider.
On Felix the context class loader should be set by hand to correctly find
classes.
Some other problems were found in code outside nuxeo (in 2 third party
libraries from eclipse that must be patched since they contain an broken
manifest) and a bug in felix related to lazy class loading:
https://issues.apache.org/jira/browse/FELIX-3306
The two broken jars are:
- org.apache.lucene.core - remove all 'mandatory' attribute declaration from
manifest
- javax.transaction - Add extension:=framework to Fragment-Host: system.bundle
as following
Fragment-Host: system.bundle;extension:=framework
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets