Enterprise RTView® 
User Guide


Deployment Wizard
The Deployment Wizard will take your RTView application and package it up for deployment. It allows you to define a project, and one or more deployments for that project. The generated deployment files can be copied to the system where you want to deploy RTView. The Deployment Wizard supports Application, Thin Browser Client and Rich Browser Client deployments. See Deployment Options for help selecting the deployment type that will work best for you.

Setting up your Project for the Deployment Wizard

The Deployment Wizard will help you package up your RTView project for deployment. It has some assumptions on how you have set your project up. The Deployment Wizard assumes that you have already created all of your .rtv files and configuration files. In order to use the Deployment Wizard, you will need to make sure that all of your project files are under a single directory. Some of your project files may in subdirectories of that single directory, but none can be outside of the project directory. Your project files include the following:

  • Display (.rtv) files 
  • Panel configuration file  (optional)
  • jar file containing custom classes (optional)
  • Security configuration files (optional)
  • OPTIONS.ini
  • COLORS.ini (only required if Custom Colors have been defined)
  • DISPLAYSERVER.ini (only required for Display Server deployments)
  • DATASERVER.ini (only required if using the Data Server)
  • Custom Servlet Files for the Display Servlet (only needed for Display Server deployments)
  • Custom Servlet Files for the Data Servlet (only needed if using the Data Server and accessing it using HTTP/HTTPS)
  • Refer to Deployment in the Data Sources section of this documentation for information on configuration (.ini) files specific to your data sources.

If you will be deploying the Display Viewer Applet, an html file that instances the applet must also be in your project directory. The html parameters are different depending on whether or not you will be using the Data Server. See the Applet Configuration section for instructions on how to setup the Display Viewer Applet for direct data connection in your html page. Note that not all data sources support direct connect from the Display Viewer Applet. Refer to the Data Sources section of this documentation to see if deployment with a Direct Data Connection is supported by your data source.

If you will be deploying the Display Server and have any custom servlet files, these will also need to be in your project directory. The most common custom servlet file is rtvdisplay.properties configuration file. Follow these instructions for setting up your custom servlet files. You do not need to make the Display Servlet war file as described there. The war file will be generated by the Deployment Wizard.

If your deployment will be accessing the Data Sever via HTTP/HTTPS and you have custom servlet files for the Data Servlet, these must also be in your project directory. Typically, the only custom servlet file for the Data Servlet is the servlet.properties configuration file. You do not need to make the Data Servlet war file. The war file will be generated by the Deployment Wizard.

If your deployment will be using more than one Data Server, you will need to include multiple DATASERVER.ini files, since each Data Server will run on a different host and/or port. It is recommended that you place the DATASERVER.ini file and any other initialization files for each Data Server instance in a separate subdirectory of the project directory. When you run the Data Server, specify the directory for your initialization files. The Deployment Wizard does not have an option for generating multiple Data Servers in a single deployment, so you should select the Create Separate Archive for Data Server option and install this archive onto each host where you want to run the Data Server. If multiple Data Servlets are needed, create multiple deployments, one for each Data Servlet.

Running the Deployment Wizard

On Windows
You can start from either the Windows Start Menu or the Command Prompt window.

From the Windows Start Menu:
 
Start-->Programs-->Enterprise RTView-->Deployment Wizard

You can also run the Deployment Wizard from a command window as follows:

In an initialized command window:
 
type run_depwizard

On UNIX
In an initialized terminal window:
 
type run_depwizard

 


See the Help in the Deployment Wizard for detailed information on the dialog fields. The Project Location field should point to the directory described in the Setting up your Project for the Deployment Wizard section above. Once you have filled in the Project Location and created one or more deployments, you can build your deployment(s).

Command Line Options
The Deployment Wizard supports the following command line options:
Name Description
-nogui Run the Deployment Wizard without the gui. A project file must also be specified on the command line to use this options. It will open the project, build all of the deployments and then exit. 
-project: Open the specified project file.

Example:
run_depwizard -project:myproject.xml

-verbose Enable verbose build status output. 

 

Building Deployments

Click on the Build All Deployment button in the Build screen to build your deployment(s). The deployment wizard create a directory named deploy under the Project Location directory. The directory will contain a subdirectory for each deployment, named after the deployment name. For example, if your Project Location is c:\myproject, and your deployment is called mydeployment, the files for that deployment will be saved in c:\myproject\deploy\mydeployment. A readme is generated for each deployment that will describe what to do with each generated file. The readme describes where to run the different components of your deployment, but does not describe how to run them. Here are some convenient links for configuring and running the different components:

Upgrading Deployments

When a new version of RTView is released, you may want to upgrade your deployment to use the new release. To do this, run the Deployment Wizard from your new installation, and open your project. If the Include RTView option is selected for any of your deployments, the new version of RTView will be included when you build those deployments. Redeploy them as described in the readme for each deployment. If you do not have the Include RTView option selected for your deployments, you will need to re-install RTView on the systems where you deployed RTView manually.   


 
Enterprise RTView contains components licensed under the Apache License Version 2.0.

 

Treemap Algorithms v1.0  is used without modifications and licensed by MPL Version 1.1. Copyright © 2001 University of Maryland, College Park, MD

 

Datejs is licensed under MIT. Copyright © Coolite Inc.

 

JCalendar 1.3.2 is licensed under LGPL. Copyright © Kai Toedter.

 

jQuery is licensed under MIT. Copyright © John Resig,

 
JMS, JMX and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. They are mentioned in this document for identification purposes only. 

 
SL, SL-GMS, GMS, Enterprise RTView, SL Corporation, and the SL logo are trademarks or registered trademarks of Sherrill-Lubinski Corporation in the United States and other countries. Copyright © 1998-2009 Sherrill-Lubinski Corporation. All Rights Reserved.