Deploying SAS Web Application Themes on a Different Web Application Server

Overview

Typically, SAS Web Application Themes are deployed along with other SAS Web applications on the same Web application server. If you want to deploy themes to a different Web application server, you should modify the theme metadata.
There are two ways to modify the theme metadata:

Modify Theme Metadata from the SAS Management Console

To deploy SAS Web Application themes to a different Web application server and modify the theme metadata, follow these steps:
  1. Deploy the new EAR file by using the appropriate procedures for your Web application server.
  2. In SAS Management Console, navigate to Application Managementthen selectConfiguration Manager, right-click on Theme Name, and select Properties.
  3. On the Connection tab, complete the following:
    Select the communication protocol (either http or https).
    Enter the host name of the Web application server on which the theme is deployed.
    Enter the port number of the Web application server.
    Enter the name of the new theme in the Service field.
  4. Click OK to save your changes.
  5. To enable the new theme to go into effect, restart your Web application server.

Modify Theme Metadata with the UpdateTheme.sas Program

To deploy SAS Web Application themes to a different Web application server and modify the theme metadata, follow these steps:
  1. Deploy the new EAR file by using the appropriate procedures for your Web application server.
  2. Locate the UpdateTheme.sas program in the SAS-config-dir\Lev1\Web\Utilities\SASThemeExtensions\themes\theme-name\MetadataTools directory.
  3. Modify the following fields in the UpdateTheme.sas:
    %let themeName=Theme Name;
    Specify the name of the theme to update.
    %let hostName=Host Name;
    Specify the host name of the Web application server on which the theme is deployed.
    %let port=Port;
    Specify the port number of the Web application server.
    %let URLPath=base URL;
    Specify the application context root of the new theme as deployed on the Web application server.
    %let protocol=http;
    If you are using Secure Sockets Layer (SSL), specify https instead of http as the protocol for the URL.
  4. Run the UpdateTheme.sas program.
  5. To enable the new theme to go into effect, restart your Web application server.