Documentation Center

Configuring context.xml files

When you proceed to an installation, we recommend that you make specific changes in Tomcat context.xml file and in Collaborative Review context.xml file.

Tomcat context.xml file

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 Collaborative Review running processes. In order to prevent this, un-comment this line in the context.xml file.
<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> to false in the context.xml file.
<Manager saveOnRestart='false' .../>
Collaborative Review context.xml file

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 Collaborative Review 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 value useRelativeRedirects="false" to the Context element of the context.xml file in META-INF
C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ISHCD\META-INF\context.xml
<Context xmlBlockExternal="false" useRelativeRedirects="false">