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

Store nuxeo.conf absolute path

    XMLWordPrintable

    Details

    • Tags:
    • Backlog priority:
      500

      Description

      When using a relative path for nuxeo.conf, the nuxeoctl script and the launcher are using a path relative to the current user directory.
      But then, the runtime will fail at using that path. The launcher should store an absolute path instead of the relative one.

      [/tmp]$ NUXEO_CONF=nuxeo.conf ~/Downloads/nuxeo-cap-5.6-tomcat/bin/nuxeoctl console
      Nuxeo home:          /Users/julien/Downloads/nuxeo-cap-5.6-tomcat
      Nuxeo configuration: nuxeo.conf
      (...)
      # Running Nuxeo Preprocessor ...
      Preprocessing: /Users/julien/Downloads/nuxeo-cap-5.6-tomcat/nxserver
      java.lang.NullPointerException
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.initSeamHotDeploy(DeploymentPreprocessor.java:145)
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.init(DeploymentPreprocessor.java:119)
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.init(DeploymentPreprocessor.java:100)
      	at org.nuxeo.runtime.deployment.preprocessor.DeploymentPreprocessor.main(DeploymentPreprocessor.java:561)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.nuxeo.runtime.tomcat.NuxeoDeployer.handleEvent(NuxeoDeployer.java:107)
      	at org.nuxeo.runtime.tomcat.NuxeoDeployer.lifecycleEvent(NuxeoDeployer.java:55)
      	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1033)
      	at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)
      	at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)
      	at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)
      	at org.apache.catalina.core.StandardService.start(StandardService.java:525)
      	at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)
      	at org.apache.catalina.startup.Catalina.start(Catalina.java:595)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      	at java.lang.reflect.Method.invoke(Method.java:597)
      	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
      	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

        Attachments

          Activity

            People

            • Assignee:
              jcarsique Julien Carsique
              Reporter:
              jcarsique Julien Carsique
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: