-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.6
-
Fix Version/s: 5.6.0-HF04, 5.7.1
-
Component/s: nuxeoctl start/stop/admin
-
Tags:
-
Backlog priority:500
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)