Configuring context.xml files
When you proceed to an unbundled installation (using your own Tomcat server with Content Delivery), we recommend that you make specific changes in Tomcat context.xml file and in Content Delivery context.xml file.
-
Tomcat
context.xmlfile -
That file is typically located under <Tomcat_home>/config.
In case of restart, Tomcat restores the session from disk by default and that does not go well with an ongoing publication or other Content Delivery running processes. In order to prevent this, un-comment this line in thecontext.xmlfile.<Manager pathname="" />If it is not in the file, add it.
As an alternative for preventing session restores from disk, you can also set<Manager saveOnRestart>tofalsein thecontext.xmlfile.<Manager saveOnRestart='false' .../> -
Content Delivery
context.xmlfile -
That file is typically located in META_INF.
A change in Apache Tomcat 8.0.30 on URI redirection made a parameter setting mandatory for using Content Delivery 7.4 and later with Tomcat 8.0.30 and later. Without this setting the system will return the following error:Invalid URI: The format of the URI could not be determined.Add the attribute and valueuseRelativeRedirects="false"to the Context element of thecontext.xmlfile in META-INFC:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ISHCD\META-INF\context.xml <Context xmlBlockExternal="false" useRelativeRedirects="false">