Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-6231

For LTS 2015, deployment-fragment.xml should not contain WebUI dependencies

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.7
    • Fix Version/s: 4.2.0
    • Component/s: Deployment Extensions
    • Environment:
      LTS 2015

      Description

      How to reproduce

      Take a 7.10 project and install it

      • it now depends on a package nuxeo-jsf-ui:7.10.0-cap, which is new
      • deploy the project and boot => you will get
        16:25:41,640 ERROR [DeploymentPreprocessor] java.io.IOException: Could not create C:\[...]\nuxeo-cap-7.10-tomcat\nxserver\nuxeo.war\ui\i18n\messages.json
        java.io.IOException: Could not create [...]\nuxeo-cap-7.10-tomcat\nxserver\nuxeo.war\ui\i18n\messages.json
                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:498)
                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:1574)
                at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1564)
                at java.util.concurrent.FutureTask.run(FutureTask.java:266)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
                at java.lang.Thread.run(Thread.java:748)
        Caused by: java.io.IOException: Le chemin dÔÇÖacc├¿s sp├®cifi├® est introuvable
                at java.io.WinNTFileSystem.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
        Done.
        

        which shows the dependency on the nuxeo.war/ui directory from deployment-fragment.xml

      Expected result: no error on boot

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h