Upgrade > Upgrade the platform components > Upgrade the Web Tier

Upgrade the Web Tier

Tip Starting with version 9.50, you can define all context parameters of the web application and initialization parameters of Servlets from both the web.xml file and the webtier.properties file, except that you can define the <customize-folder> parameter only in the web.xml file. The parameters configured in these files take precedence in the following order:

  • Custom webtier.properties located in the <customize-folder>/config folder
  • Default webtier.properties located in the <web tier>/WEB-INF folder
  • The web.xml file located in the <web tier>/WEB-INF folder

You are commended to define web tier parameters in your custom webtier.propteries file so that you can easily restore your web tier configurations during an upgrade.

To upgrade the Service Manager Web Tier, follow these steps:

  1. Before deploying the new web tier, make a backup of the following items:

    • web.xml file
    • application-context.xml
    • log4j.properties

    • splash screen
    • style sheets
    • The folder that is defined in the customize-folder parameter in the web.xml file or the <web tier>\WEB-INF\webtier.properties file if the customize-folder parameter is not specified
    • any other customizations you made, including your webtier-<version>.war (webtier-ear-<version>.ear) file.
  2. Delete or uninstall the existing web tier .war (or the .ear) file.

  3. Clear the cache of your web application server.
  4. Deploy the new webtier-9.51.war or webtier-ear-9.51.ear file. For details, see Deploy the web tier.

    Note It is best practice to deploy with a unique context root. For example, /webtier-9.51.

  5. Use a diff utility to compare the new web tier’s web.xml file against your backed-up version to ensure that any new parameters are properly merged into the files used in your final deployment. Do this for application-context.xml as well as any other files you may have customized (such as style sheets and splash screens).

  6. Make any new customizations that are necessary for your deployment.
  7. Restart the web application server.

  8. Check the version by clicking the HPE logo (About HPE Service Manager) icon.