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

Nuxeo won't start with nuxeo-signature installed without JSF package

    XMLWordPrintable

    Details

      Description

      1. install nuxeo 10.3
      2. install nuxeo-signature
      3. attempt to start the server
      4. observe the following stack in the logs:
        2018-12-13T10:02:22,105 ERROR [main] [org.nuxeo.runtime.deployment.NuxeoStarter] Exception during startup
        java.lang.NoClassDefFoundError: com/lowagie/text/DocumentException
        	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[?:1.8.0_121]
        	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[?:1.8.0_121]
        	at java.lang.Class.getConstructor0(Class.java:3075) ~[?:1.8.0_121]
        	at java.lang.Class.newInstance(Class.java:412) ~[?:1.8.0_121]
        	at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.createInstance(ComponentInstanceImpl.java:89) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.model.impl.ComponentInstanceImpl.<init>(ComponentInstanceImpl.java:68) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.createComponentInstance(RegistrationInfoImpl.java:340) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.activate(RegistrationInfoImpl.java:422) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponent(ComponentManagerImpl.java:547) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.activateComponents(ComponentManagerImpl.java:526) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.model.impl.ComponentManagerImpl.start(ComponentManagerImpl.java:786) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.osgi.OSGiRuntimeService.startComponents(OSGiRuntimeService.java:447) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:462) ~[nuxeo-runtime-10.3.jar:?]
        	at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:223) ~[nuxeo-runtime-osgi-10.3.jar:?]
        	at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:225) ~[nuxeo-runtime-osgi-10.3.jar:?]
        	at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:124) ~[nuxeo-runtime-osgi-10.3.jar:?]
        	at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:124) ~[nuxeo-runtime-deploy-10.3.jar:?]
        	at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:93) [nuxeo-runtime-deploy-10.3.jar:?]
        	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4643) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5109) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:703) [catalina.jar:9.0.12]
        	at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:630) [catalina.jar:9.0.12]
        	at org.apache.catalina.startup.HostConfig$DeployDescriptor.run(HostConfig.java:1840) [catalina.jar:9.0.12]
        	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_121]
        	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
        	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.12]
        	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:112) [?:1.8.0_121]
        	at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:525) [catalina.jar:9.0.12]
        	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:424) [catalina.jar:9.0.12]
        	at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1585) [catalina.jar:9.0.12]
        	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:308) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:123) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:424) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.setState(LifecycleBase.java:367) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:969) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:839) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1429) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419) [catalina.jar:9.0.12]
        	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121]
        	at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) [tomcat-util.jar:9.0.12]
        	at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) [?:1.8.0_121]
        	at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:944) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:261) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.StandardService.startInternal(StandardService.java:422) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
        	at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:770) [catalina.jar:9.0.12]
        	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) [catalina.jar:9.0.12]
        	at org.apache.catalina.startup.Catalina.start(Catalina.java:682) [catalina.jar:9.0.12]
        	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
        	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
        	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
        	at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
        	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350) [bootstrap.jar:9.0.12]
        	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492) [bootstrap.jar:9.0.12]
        Caused by: java.lang.ClassNotFoundException: com.lowagie.text.DocumentException
        	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309) ~[catalina.jar:9.0.12]
        	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1138) ~[catalina.jar:9.0.12]
        	... 59 more
        
      5. remove the nuxeo-signature addon
      6. observe the server starts correctly

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 25 minutes
                1h 25m