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

Fix messages deployment on shared-bookmarks addon

    XMLWordPrintable

    Details

      Description

      http://qa.nuxeo.org/jenkins/job/addons_FT_nuxeo-shared-bookmark-master/1319/

      The build currently fails with the following error in logs:

      2015-02-23 23:38:28,700 ERROR [Catalina-startStop-1] [org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor] java.io.IOException: Could not create /opt/jenkins/workspace/addons_FT_nuxeo-shared-bookmark-master/ftest/selenium/target/tomcat/nxserver/nuxeo.war/WEB-INF/classes/messages.properties
      java.io.IOException: Could not create /opt/jenkins/workspace/addons_FT_nuxeo-shared-bookmark-master/ftest/selenium/target/tomcat/nxserver/nuxeo.war/WEB-INF/classes/messages.properties
      	at org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand.exec(AppendCommand.java:71)
      	at org.nuxeo.runtime.deployment.preprocessor.install.CommandProcessorImpl.exec(CommandProcessorImpl.java:50)
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.predeploy(DeploymentPreprocessor.java:324)
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.predeploy(DeploymentPreprocessor.java:243)
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.main(DeploymentPreprocessor.java:619)
      	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:483)
      	at org.nuxeo.runtime.tomcat.NuxeoDeployer.handleEvent(NuxeoDeployer.java:105)
      	at org.nuxeo.runtime.tomcat.NuxeoDeployer.lifecycleEvent(NuxeoDeployer.java:56)
      	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
      	at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
      	at org.apache.catalina.util.LifecycleBase.setStateInternal(LifecycleBase.java:402)
      	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
      	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
      	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.io.IOException: No such file or directory
      	at java.io.UnixFileSystem.createFileExclusively(Native Method)
      	at java.io.File.createNewFile(File.java:1012)
      	at org.nuxeo.runtime.deployment.preprocessor.install.commands.AppendCommand.exec(AppendCommand.java:69)
      	... 20 more
      

      This is a symptom of original messages files not being deployed yet => need to require the lang module.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: