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

Fix nuxeoctl PACK command throwing CreateProcess error=206 on Windows

    XMLWordPrintable

    Details

      Description

      As wanting to deploy NUXEO 8.10HF12+addons in WAR mode on Windows, I followed instructions in https://doc.nuxeo.com/nxdoc/deploying-as-a-standard-static-war/ and the
      nuxeoctl pack c:\temp\nuxeo-war.zip
      command failed with:

      2017-08-17 15:45:05,562 ERROR \[main\] \[org.nuxeo.launcher.NuxeoLauncher\] Could not start process
      java.io.IOException: Cannot run program ""c:\jdks\jdk1.8.0_141\jre\bin\java"" (in directory "C:\CASES\SUP20911\nuxeo-server-8.10-tomcat"): 	, Nom de fichier ou extension trop long
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
      	at org.nuxeo.launcher.NuxeoLauncher.pack(NuxeoLauncher.java:1876)
      	at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:1202)
      	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:1109)
      Caused by: java.io.IOException: CreateProcess error=206, Nom de fichier ou extension trop long
      	at java.lang.ProcessImpl.create(Native Method)
      	at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
      	at java.lang.ProcessImpl.start(ProcessImpl.java:137)
      	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
      	... 3 more

      Request to fix this error

        Attachments

        1. CLAZZPATH.jar
          6 kB
        2. command.cmd
          0.8 kB
        3. MANIFEST.MF
          27 kB
        4. server.log
          176 kB

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pabgrall Patrick Abgrall
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 2 hours, 30 minutes
                2h 30m