Upgrade CMS web.xml

Because the site delivery tier (HST) is also present in the CMS/platform web application in version 13, cms/src/main/webapp/WEB-INF/web.xml needs to be adjusted such that HST is triggered by incoming requests. In order to accomplish that, add the following definitions to the web.xml file:

<listener>
  <listener-class>org.hippoecm.hst.platform.container.HstCmsContextLoaderListener</listener-class>
</listener>

<filter>
  <filter-name>HstFilter</filter-name>
  <filter-class>org.hippoecm.hst.container.HstFilter</filter-class>
</filter>

<filter-mapping>
  <filter-name>HstFilter</filter-name>
  <url-pattern>/*</url-pattern>
</filter-mapping>

HstCmsContextLoaderListener makes sure the CMS web application loads the platform HST configuration, which is required for other site web applications to initialize their HST Spring Component manager. HstFilter makes sure every CMS request is provided to HST before the CMS processes it. If missing, the Channel Manager part of the CMS will not work.

If your platform web application does not include the CMS, replace HstCmsContextLoaderListener with HstPlatformContextLoaderListener.
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?