[
https://jira.nuxeo.com/browse/NXP-8645?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bogdan Stefanescu resolved NXP-8645.
------------------------------------
Resolution: Fixed
Apricot is working on felix.
There are still 3 third party JARs (not managed by Nuxeo) that contains
incorrect or incomplete manifests
(org.h2, org.apache.lucene.core and javax.transaction)
I ve added a patch script to patch these JARs to be able to deploy Apricot on
felix. (until manifests will be fixed by eclipse).
Also, for now the event applicationStarted used by the runtime to inform
components that application was started, is not working as expected - but
anyway this is not a real issue for now since on apricot we don't have
components that make use of this event.
This can be fixed in future by creating an OSGi deployment agent (like the
felix fileinstall agent) that fire the event at the end after apricot was
loaded. I will create a task for this later when we will need to fix this.
> 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