Web tier parameters

You can set web tier parameters from the web.xml file that is provided when you deploy the HPE Service Manager web archive file (sm.war).

When you enter parameters into the web.xml file, ensure that the values you enter conform to valid XML standards. All parameter tags must be children of the <servlet> tag and must use the following syntax:

<servlet>
  <init-param>
    <param-name>serverHost</param-name>
    <param-value>myhost.mydomain.com</param-value>
  </init-param>
<servlet>

Note To ensure that your web application server uses the new settings, restart your web application server whenever you make changes to the web.xml file.

Setting web tier parameters from the web client

You can provide connection-specific web tier parameters in the web browser URL. These parameters override the values that are set in the web.xml file. For example, the following URL changes the connection to host "mycompany" on port 13082 for this client session:

http://localhost:8080/sm/index.do?serverHost=mycompany.mydomain.com&serverPort=13082