Changing the context root for the Windows Tomcat bundle
Optionally, you can change the context root after installing the
Windows Tomcat bundle.
To change the context root:
Rename
endeca-portal\tomcat-6.0.18\conf\Catalina\localhost\ROOT.xml
file to
<context root>.xml. For example, if your
context root is
sales, the file name should be
sales.xml.
For multi-level context paths, separate the name with #. For
example, for a context path of
/sales/east, the file name should be
sales#east.xml.
Modify the XML file created in the previous step as needed:
For a root
context:
<Context path="" />
For a context of
/sales:
<Context path="/sales"/>
For a context of
/sales/east:
<Context path="/sales/east"/>
Rename the
endeca-portal\tomcat-6.0.18\webapps\ROOT
directory to
endeca-portal\tomcat-6.0.18\webapps\<context
root>.
For multi-level context paths, use a multi-level path like the
following:
endeca-portal\tomcat-6.0.18\webapps\sales#east.
Edit the
endeca-portal\portal-ext.properties file. Find
the
portal.ctx property at the beginning of
portal-ext.properties. Change the value of this
setting to be the same context root value you used above. However, do not
include a trailing slash in the
portal.ctx value.
For example, use this value: