Install non bundle files: [org.nuxeo.osgi.application.loader.FrameworkLoader] Failed to install bundle

Is it possible to install non bundle files in nuxeo, I tried to add some jars needed so that Nuxeo birt works. I found that ticket … if it's not possible where should I put those jars?

In startup I have that kind of errors:

2015-08-06 10:49:28,426 ERROR [localhost-startStop-1] [org.nuxeo.osgi.application.loader.FrameworkLoader] Failed to install bundle: C:\nuxeo-cap-7.3-tomcat\nxserver\bundles\org.eclipse.core.resources-3.8.1.v20121114-124432.jar
org.osgi.framework.BundleException: Failed to start bundle at: C:\nuxeo-cap-7.3-tomcat\nxserver\bundles\org.eclipse.core.resources-3.8.1.v20121114-124432.jar with activator: org.eclipse.core.resources.ResourcesPlugin
    at org.nuxeo.osgi.BundleImpl.start(
    at org.nuxeo.osgi.BundleRegistry.doRegister(
    at org.nuxeo.osgi.BundleRegistry.register(
    at org.nuxeo.osgi.BundleRegistry.install(
    at org.nuxeo.osgi.OSGiAdapter.install(
    at org.nuxeo.osgi.application.loader.FrameworkLoader.install(
    at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(
    at org.nuxeo.osgi.application.loader.FrameworkLoader.start(
    at org.nuxeo.runtime.deployment.NuxeoStarter.start(
    at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(
    at org.apache.catalina.core.StandardContext.listenerStart(
    at org.apache.catalina.core.StandardContext.startInternal(
    at org.apache.catalina.util.LifecycleBase.start(
    at org.apache.catalina.core.ContainerBase.addChildInternal(
    at org.apache.catalina.core.ContainerBase.addChild(
    at org.apache.catalina.core.StandardHost.addChild(
    at org.apache.catalina.startup.HostConfig.deployDescriptor(
    at org.apache.catalina.startup.HostConfig$
    at java.util.concurrent.Executors$
    at java.util.concurrent.ThreadPoolExecutor.runWorker(
    at java.util.concurrent.ThreadPoolExecutor$
Caused by: java.lang.SecurityException: class "org.eclipse.core.runtime.IStatus"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(
    at java.lang.ClassLoader.preDefineClass(
    at java.lang.ClassLoader.defineClass(
    at Method)
    at org.apache.catalina.loader.WebappClassLoader.findClass(
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
    at org.apache.catalina.loader.WebappClassLoader.loadClass(
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(
    at java.lang.Class.getConstructor0(
    at java.lang.Class.newInstance(
    at org.nuxeo.osgi.BundleImpl.getActivator(
    at org.nuxeo.osgi.BundleImpl.start(
    ... 22 more
0 votes

1 answers




Non bundle JARs must go into lib or nxserver/lib, not in nxserver/bundles.

Note that the Caused by: java.lang.SecurityException: class "org.eclipse.core.runtime.IStatus"'s signer information does not match signer information of other classes in the same package issue will probably still happen: it is raised when there is a collision between signed and unsigned (or differently signed) classes in the same Java package (here it is org.eclipse.core.runtime). The easier fix is to remove the signature.

Note also that org.eclipse.core.resources-3.8.1.v20121114-124432.jar embeds classes already present in the classpath:

nuxeo-cap-7.3-tomcat]$ rgrep org.eclipse.core.runtime.IStatus
Fichier binaire bin/nuxeo-launcher.jar correspondant
Fichier binaire nxserver/lib/org.eclipse.equinox.common-3.6.0.v20100503.jar correspondant

I tried to add some jars needed so that Nuxeo birt works

What is the issue with BIRT? Had you experienced some problems with the Nuxeo BIRT Marketplace Package ?
It was a pain to integrate BIRT because of their relocated dependencies. You have little chances to succeed going straight forward that way (“adding some jars needed”). You should rather report your issue, waiting for or contributing a fix to or


1 votes

Is it related to your Nuxeo-birt-create-model-error question?

Yes it is, and related to that one too I tried to install it from github and as mentioned by Thierry Martins I tried to manually copy the dependencies jars into Nuxeo. but not working. but is working though. Thank you.