Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20717

Fix error at startup on connect tools package

    XMLWordPrintable

    Details

    • Tags:
    • Sprint:
      nxSL Sprint 8.4.5, nxSL Sprint 8.10.1
    • Story Points:
      3

      Description

      See https://qa.nuxeo.org/jenkins/job/master/job/addons_nuxeo-connect-tools-master-marketplace/259/

      Build was still ok on Oct 5, 2016 10:09 AM.
      Since Oct 5, 2016 8:24 PM, it fails with the following error at startup:

      2016-10-13 11:30:02,222 ERROR [localhost-startStop-1] [org.apache.catalina.core.ContainerBase] ContainerBase.addChild: start: 
      org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/nuxeo]]
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
      	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
      	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
      	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
      	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:677)
      	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1912)
      	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      	at java.lang.Thread.run(Thread.java:745)
      Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;" the class loader (instance of org/nuxeo/runtime/tomcat/NuxeoWebappClassLoader) of the current class, org/slf4j/LoggerFactory, and the class loader (instance of org/apache/catalina/loader/StandardClassLoader) for the method's defining class, org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type org/slf4j/ILoggerFactory used in the signature
      	at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:418)
      	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
      	at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:132)
      	at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:645)
      	at org.nuxeo.osgi.application.loader.FrameworkLoader.<clinit>(FrameworkLoader.java:79)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:498)
      	at org.nuxeo.osgi.application.FrameworkBootstrap.initialize(FrameworkBootstrap.java:121)
      	at org.nuxeo.runtime.tomcat.NuxeoLauncher.handleEvent(NuxeoLauncher.java:115)
      	at org.nuxeo.runtime.tomcat.NuxeoLauncher.lifecycleEvent(NuxeoLauncher.java:92)
      	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5405)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      	... 10 more
      

      Indeed the package size is huge, some libs are installed whether they should not.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: