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

Error at startup about property "nuxeo.server.https.keystoreFile" when upgrading to 5.6

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.6
    • Component/s: None
    • Impact type:
      Configuration format change
    • Upgrade notes:
      Hide

      https support requires more properties to be filled now.
      do not configure any of the https properties if you do not use https anyway, or fill the properties the startup complains about.

      The properties to define are:

      • nuxeo.server.https.port=443
      • nuxeo.server.https.keystoreFile=/path/to/keystore
      • nuxeo.server.https.keystorePass=password
      • nuxeo.url=https://localhost/nuxeo
      Show
      https support requires more properties to be filled now. do not configure any of the https properties if you do not use https anyway, or fill the properties the startup complains about. The properties to define are: nuxeo.server.https.port=443 nuxeo.server.https.keystoreFile=/path/to/keystore nuxeo.server.https.keystorePass=password nuxeo.url= https://localhost/nuxeo

      Description

      Startup fails with the following error:

      Expression nuxeo.server.https.keystoreFile is undefined on line 101, column 32 in server.xml.nxftl.
      The problematic instruction:
      ----------
      ==> ${nuxeo.server.https.keystoreFile} [on line 101, column 30 in server.xml.nxftl]
      ----------
      
      Java backtrace for programmers:
      ----------
      freemarker.core.InvalidReferenceException: Expression nuxeo.server.https.keystoreFile is undefined on line 101, column 32 in server.xml.nxftl.
              at freemarker.core.TemplateObject.assertNonNull(TemplateObject.java:124)
              at freemarker.core.Expression.getStringValue(Expression.java:118)
              at freemarker.core.Expression.getStringValue(Expression.java:93)
              at freemarker.core.DollarVariable.accept(DollarVariable.java:76)
              at freemarker.core.Environment.visit(Environment.java:208)
              at freemarker.core.MixedContent.accept(MixedContent.java:92)
              at freemarker.core.Environment.visit(Environment.java:208)
              at freemarker.core.ConditionalBlock.accept(ConditionalBlock.java:79)
              at freemarker.core.Environment.visit(Environment.java:208)
              at freemarker.core.MixedContent.accept(MixedContent.java:92)
              at freemarker.core.Environment.visit(Environment.java:208)
              at freemarker.core.Environment.process(Environment.java:188)
              at freemarker.template.Template.process(Template.java:232)
              at org.nuxeo.launcher.commons.text.TextTemplate.processFreemarker(TextTemplate.java:285)
              at org.nuxeo.launcher.commons.text.TextTemplate.processDirectory(TextTemplate.java:358)
              at org.nuxeo.launcher.commons.text.TextTemplate.processDirectory(TextTemplate.java:383)
              at org.nuxeo.launcher.config.ServerConfigurator.parseAndCopy(ServerConfigurator.java:140)
              at org.nuxeo.launcher.config.ConfigurationGenerator.generateFiles(ConfigurationGenerator.java:711)
              at org.nuxeo.launcher.config.ConfigurationGenerator.run(ConfigurationGenerator.java:378)
              at org.nuxeo.launcher.NuxeoLauncher.configure(NuxeoLauncher.java:1398)
              at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:1094)
              at org.nuxeo.launcher.NuxeoLauncher.doStart(NuxeoLauncher.java:951)
              at org.nuxeo.launcher.NuxeoLauncher.launch(NuxeoLauncher.java:721)
              at org.nuxeo.launcher.NuxeoLauncher.main(NuxeoLauncher.java:690)
      Could not run configurationCould not process FreeMarker template: Expression nuxeo.server.https.keystoreFile is undefined on line 101, column 32 in server.xml.nxftl.
      

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: