Follow this process to deploy applications.

About this task

Deploying an application is the process of uploading it to tc Runtime and making it available to users. You can deploy an application to a single tc Runtime instance or to a group of tc Runtime instances. If you deploy to a group, the application will be deployed to each of tc Runtime instance in that group, enabling users to run the application from any of the tc Runtime instances in the group.

You can deploy an application from a WAR file located:

  • on your local file system (on the the same machine as the browser you are using to connect to HQ's web user interface), or 

  • on the computer on which the tc Runtime resource is running.

Whether the WAR file is local or remote, you can either enter a new context path (string that uniquely identifies the Web application in the URL used to invoke it), or use the default value, which is the name of the WAR file, without the .war extension.

Procedure

  1. Navigate to the Application Management page for a tc Runtime instance or group.
  2. Depending on the location of the WAR file for the application, either:
    • Click Browse in the Deploy Application From Local Machine section to browse to the file's location.

    • Enter the full path to the WAR file on the computer hosting the tc Runtime resource in the Deploy Application from Server Machine section.

  3. As desired, enter a context path in the Context path text box.
  4. Optionally, select the Use cold deployment strategy checkbox if you want the tc Runtime instance to shutdown, deploy the application, and then start up again.

    By default (if box is clear), the tc Runtime instance hot-deploys the application, which means it does not shutdown then restart but simply deploys the application while the instance is still running. Use the cold deployment strategy if you want to avoid common hot deployment errors, such as running out of PermGen space. The PermGen space holds the metadata about classes that have been loaded/created in the JVM.

  5. Click Upload and Deploy or Deploy, whichever is appropriate.

Results

See the top Results of the last operation section for details about the result of deploying the application. When you deploy an application to tc Runtime, the application is started.