Nuxeo Custom Plugin Loading Issue in Linux
We customized Nuxeo and tested it over windows. Our custom plugin in NUXEOHOME/nxserver/plugins works perfectly fine in windows. When we tried to start Nuxeo on Linux with our custom plugin in NUXEOHOME/nxserver/plugins, Nuxeo starts fine but it does not reflect our customization.
Apparently, Nuxeo failed to load our plugin on Linux.
We are following the following documentation: http://doc.nuxeo.com/display/DMDOC53/Nuxeo+DM+5.3.2+quick+installation+Guide
We are using Nuxeo 5.6-RC2.
We are stuck. Please help!
Bruce, even the latest documentation, http://doc.nuxeo.com/display/ADMINDOC/Installing+the+Nuxeo+Platform+on+Linux
tells the same story about Nuxeo setup on Linux.
Probably not much to do with Windows vs Linux.
Did you define your dependency correctly? (<require>)
Nuxeo component loading in not deterministic. Component may load in a specific order, and may load in a different order at another time (if you add, remove component, different os, etc.).
The best way to avoid it is to set the <require> tag either in your deployment-fragment.xml file or in your component-definition-files.xml (those described in MANIFEST.MF).
If you are overriding specific component, make sure you add the <require>the-overriden-or-extended-component-name</require> right after the opening <component> tag.
If you need another contribution (those where the name is visible in AdminCenter/Information/Nuxeo distribution), then add the <require>the-overriden-or-extended-component-name</require> in your deployment-fragment.xml file.
Hope this helps.