How to change nuxeo context path
I tried to follow the documentation (http://doc.nuxeo.com/display/ADMINDOC/Changing+context+path ) but the server does not want to start … any idea?
Just to summarize: 1) I change the org.nuxeo.ecm.contextPath=/myapp in $NUXEO_HOME/bin/nuxeo.conf 2) I rename the file $NUXEO_HOME/templates/default/conf/Catalina/localhost/nuxeo.xml into $NUXEO_HOME/templates/default/conf/Catalina/localhost/myapp.xml 3) I remove $NUXEO_HOME/conf/Catalina/localhost/nuxeo.xml 4) I rename the file nuxeo.xml under templates/*-quartz-cluster/conf/Catalina/localhost/
However, even if it did there will be features that do not work as the context path is still hard-coded in many parts of the source code. You will need to amend the source and make your own build.
Step 1: did you also looked at all configured URLs using the context path?
Step 2 should no more be required. Step 3 is only for cleanup after multiple failing tests. Step 4 is useless if you don't use the
Sean, there must be no more hard-coded paths in the source code; if you still find some, you're welcome to create Jira issues and contribute some patch on GitHub.
I tried again, following every steps (even if they are the same I have already tried)…now it works, I cannot say why…thanks in any case.