-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Incomplete
-
Affects Version/s: 5.4
-
Fix Version/s: None
-
Component/s: Runtime
-
Tags:
-
Impact type:Deployment change
Changes to the org.nuxeo.ecm.contextPath variable option are not taking effect. It changes the path attribute of the Context element in nuxeo.xml but the webapp is still deployed under nuxeo.
Looking at the tomcat 6.0 docs, the problem is that when using a context.xml file the path attribute is ignored and the context path is inferred purely from the filename/path of the context file.
For the path attribute the documentation states:
The value of this field must not be set except when statically defining a Context in server.xml, as it will be inferred from the filenames used for either the .xml context file or the docBase.
Thus on copying the nuxeo.xml template file in templates/default/conf/Catalina/localhost it needs to be renamed to ${org.nuxeo.ecm.contextPath}.xml (minus any leading or trailing slashes).
In addition TomcatConfigurator with the hardcoded constant would need modification too.
- is required by
-
NXP-5475 WAR_deployment-fragment.xml does not respect org.nuxeo.ecm.contextPath
- Resolved