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

Fix random 'org.nuxeo.launcher.config.ConfigurationException: Missing file' at server startup on windows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Tests

      Description

      Visible on:

      Stactrace is:

      21:53:46 C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN>"C:\Program Files\Java\jdk1.7.0_17\bin\java.exe"  -Dlauncher.java.opts=" -Xms512m -Xmx1024m -XX:MaxPermSize=512m -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dfile.encoding=UTF-8  -Dmail.mime.decodeparameters=true  -Djava.util.Arrays.useLegacyMergeSort=true  -Xloggc:${nuxeo.log.dir}/gc.log -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps" -Dnuxeo.home="C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat" -Dnuxeo.conf="C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat\bin\nuxeo.conf" -Dnuxeo.log.dir="C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat\log" -Dlog.id="-Mon11032014_21535047" -jar "C:\Users\nuxeo\AppData\Local\Temp\nuxeo-launcher-8125.jar" --gui false stop       
      21:53:46 Detected Tomcat server.
      21:53:46 Nuxeo home:          C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat
      21:53:46 Nuxeo configuration: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat\bin\nuxeo.conf
      21:53:46 Error reading basic configuration.
      21:53:46 org.nuxeo.launcher.config.ConfigurationException: Missing file: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat\templates\nuxeo.defaults or C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat\bin\nuxeo.conf
      21:53:46 	at org.nuxeo.launcher.config.ConfigurationGenerator.setBasicConfiguration(ConfigurationGenerator.java:539)
      21:53:46 	at org.nuxeo.launcher.config.ConfigurationGenerator.setBasicConfiguration(ConfigurationGenerator.java:505)
      21:53:46 	at org.nuxeo.launcher.config.ConfigurationGenerator.init(ConfigurationGenerator.java:471)
      21:53:46 	at org.nuxeo.launcher.NuxeoLauncher.init(NuxeoLauncher.java:455)
      21:53:46 	at org.nuxeo.launcher.NuxeoLauncher.<init>(NuxeoLauncher.java:448)
      21:53:46 	at org.nuxeo.launcher.NuxeoTomcatLauncher.<init>(NuxeoTomcatLauncher.java:42)
      21:53:46 	at org.nuxeo.launcher.NuxeoLauncher.createLauncher(NuxeoLauncher.java:1748)
      21:53:46 	at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:912)
      21:53:46 Caused by: java.io.FileNotFoundException: C:\Jenkins\workspace\FT-nuxeo-master-webdriver-cap-tomcat-win\jdk\openjdk-7-jdk\label\RWIN\nuxeo-distribution-cap-webdriver-tests\target\tomcat\templates\nuxeo.defaults (The system cannot find the path specified)
      21:53:46 	at java.io.FileInputStream.open(Native Method)
      21:53:46 	at java.io.FileInputStream.<init>(FileInputStream.java:138)
      21:53:46 	at org.nuxeo.launcher.config.ConfigurationGenerator.loadTrimmedProperties(ConfigurationGenerator.java:1767)
      21:53:46 	at org.nuxeo.launcher.config.ConfigurationGenerator.setBasicConfiguration(ConfigurationGenerator.java:512)
      21:53:46 	... 7 more
      21:53:46 Cannot execute command. Initialization failed
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: