You can deploy an application to a single tc Runtime instance or to a group of tc Runtime instances.
About this task
If you deploy to a group, the application is deployed to each of tc Runtime instances in that group, meaning that you can 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 same machine as the browser you are using to connect to vRealize Hyperic)
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 or use the default value.
The context path is a string that uniquely identifies the Web application in the URL used to invoke the application.
The default value is the name of the WAR file, without the .war extension.
- In the Application Management page for a tc Runtime instance or group, select the WAR file for the application.
Depending on the location of the WAR file,
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.
- (Optional) Enter a context path in the Context path text box.
- (Optional) Select the Use cold deployment strategy checkbox to invoke the tc Runtime instance to shutdown, deploy the application, and then start up again.
By default, the tc Runtime instance hot-deploys the application, which means it does not shutdown then restart, but deploys the application while the instance is still running.
Use the cold deployment strategy 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.
- Click Upload and Deploy or Deploy, according to your requirements.
If you deployed the application to tc Runtime, the application is started.
The outcome of the application deployment appears in the See the Results of the last operation section.