Enterprise RTView® 
User Guide


Thin Client Browser with Direct Data - Manual Setup

This section provides step-by-step instructions on how to manually deploy Enterprise RTView. The steps must be done in the order given. Refer to Thin Client Browser - Deployment Process for a summary of these instructions. Alternatively, you can use the Deployment Wizard to help you deploy your project.

This section is intended for users with standard working knowledge of HTML, JSP and servlet deployment on an application server.

An Apache Tomcat application server is included with your Enterprise RTView installation for prototyping and testing your deployment before going into the production environment. The following instructions will work for your application server or the one that comes with Enterprise RTView.

Step 1: Install and Configure Display Server
Install Enterprise RTView on the system where you will run the Display Server.

A: Verify System Requirements
  • Java 1.5.0_01+
  • Basic system requirements
  • In addition to basic system requirements, refer to the Data Sources section of this documentation for system requirements and setup specific to your data source.


B: Install Display Server
At this point you have verified your system requirements.

1. Install Enterprise RTView

2. Setup Enterprise RTView


C: Register
At this point you have verified your system requirements and installed the Display Server.

Register for a license to run the Display Server.


D: Configure Display Server
At this point you have verified your system requirements, and installed and registered Enterprise RTView.

1. Create a project directory to store Display Server configuration files.

2. Copy the following files into this directory from the project directory where you developed your Enterprise RTView application:
  • All display (*.rtv) files
  • OPTIONS.ini
  • COLORS.ini (only required if Custom Colors have been defined)
  • Refer to Deployment in the Data Sources section of this documentation for information on configuration (.ini) files specific to your data sources.
  • Panel configuration file (optional)
  • Security Configuration files (optional)
  • DISPLAYSERVER.ini
NOTE: If you have no DISPLAYSERVER.ini file, create one now by configuring your Display Server application options. Otherwise, go to Step 2: Configure and Install Display Servlet.

3. Configure your Display Server application options. See Display Server Configuration for information on how to specify your options. All configuration files should be saved in the directory you just created.

Step 1 is completed. Go to Step 2: Configure and Install Display Servlet.


Step 2: Configure and Install Display Servlet
At this point you have completed the Enterprise RTView installation and setup.

About Display Servlet
The Display Server uses the Display Servlet, a JSP servlet that runs on your application server. Clients communicate with the Display Servlet using HTTP. The Display Servlet communicates with the Display Server via socket to request HTML for display in the browser. The servlets\rtvdisplay directory contains files (JSP, HTML, classes, properties) necessary to install the Display Servlet.

A: Create Display Servlet HTML or JSP Files
The Display Servlet comes with a few HTML files for testing. You can use these to deploy, or you can create your own HTML or JSP files which make calls to the Display Servlet to show your displays.

Skip this step and go to Step B: Configure Display Servlet Options if both of the following are true:  

  • You will only be deploying one Display Server application on your application server  
  • You want to deploy using only the test HTML files that come with the Display Servlet

NOTE: If you skip this step, use servlets\rtvdisplay as your project directory referenced in Steps B and C, and use rtvdisplay for the appname argument for all of the scripts.

Otherwise, proceed with the following steps.

1. Create a project directory to store your Display Servlet files.

2. Copy rtvdisplay.properties into this directory from servlets\rtvdisplay.

3. Create the HTML files or JSP files for your Display Server application.

4. Copy these HTML or JSP files and any referenced files (e.g., images referenced in the HTML files) to this directory.

5. Copy sample_make_war.bat (for Windows) or sample_make_war.sh (for UNIX) into this directory from servlets\rtvdisplay and rename it to make_war (with the appropriate extension).

6. This script takes a name for the web archive, without the .war extension, and builds a web archive file that includes all of the necessary Enterprise RTView Display Servlet files along with all .html, .js, .gif and .jpg files from the current directory. If there are other files you would like to include in your web archive, add them to the following line in your make_war script:

        jar uf %1.war *.html *.jpg *.gif *.js *.jsp WEB-INF

NOTE: You may receive an error message if the script does not find at least one of each of the file types specified (.html, .jpg, etc). Disregard this error message.

B: Configure Display Servlet Options
The Display Servlet reads rtvdisplay.properties to get configuration information. If you have not installed the Display Servlet, modify the rtvdisplay.properties files in your project directory and it will be installed as part of the next step. If you have already installed the Display Servlet on your application server, you can edit this properties file in your application server. You may need to restart your application server after making changes to this file.

Use servlets\rtvdisplay as your project directory if you skipped Step A: Create Display Servlet HTML Files.

Set the your options in rtvdisplay.properties as specified in Display Servlet Configuration.



C: Install Display Servlet
At this point you have completed Display Servlet setup.

If you skipped Step A: Create Display Servlet HTML Files, use servlets\rtvdisplay as your project directory and rtvdisplay as your appname in this step.

Otherwise, use the project directory that you setup in Step A and your web archive file name for appname.
NOTE: If you will be running multiple Display Server applications on the same application server, each application must have a unique name.

1. In an initialized command window, go to your project directory and type:
 
make_war appname This script creates a web archive (.war) that includes all of the files necessary to run the Display Servlet.

2. Your Enterprise RTView installation includes an Apache Tomcat application server, so that you can prototype and test your deployment before moving it to your production server. If you will be using this application server, run the following script to install the Display Servlet:
 
install_to_demoserver appname This script installs the web archive to the Apache Tomcat server included in your Enterprise RTView installation. 
NOTE: This script will shutdown and restart Apache Tomcat and requires administrative permissions.

3. If you will be using your own Apache Tomcat application server, run the following script to install the Display Servlet:
 
install_to_tomcat appname This script installs the web archive to your Apache Tomcat server. 
NOTE: This script will shutdown and restart Apache Tomcat and requires administrative permissions.

4. If you will be using an application server other than Apache Tomcat, install the files in the web archive to your application server according to the documentation for that product.

Step 2 is completed. Go to Step 3: Configure and Install Display Server Portlet (Optional).


Step 3: Configure and Install Display Server Portlet (Optional)
At this point you have setup the Display Server and the Display Servlet.

The Display Server can optionally be deployed as a portlet. The portlet is tested in Liferay and contains configuration files specific to Liferay, but should work with any JSR-168 compliant portal. If you want to deploy the Display Server as a servlet, skip this step and go to Step 4: Run Display Server.
 

Configure install and instance the Display Server Portlet as described in Configure and Install Display Server Portlet.

Step 3 is completed. Go to Step 4: Run Display Server.


Step 4: Run Display Server
At this point you have setup the Display Server and the Display Servlet, and (optionally) setup the
Display Server Portlet.

A: Start Display Server
1. Start the Display Server. Open an initialized command window and go to the directory created in Step 1 and type:
 
run_displayserver

Java options specified in RTV_JAVAOPTS are used by the run_displayserver scripts.

See Appendix C for available command line options.

NOTE: The Display Server is instrumented with JMX to allow you to manage and monitor the display cache and application settings. See Managing the Display Server Using JMX for more information.

Step 4 is completed. Go to Step 5: Test Client.


Step 5: Test Client
At this point you have setup and started the Display Server, and setup and installed the Display Servlet.

1. Open a browser and navigate to the URL for the Display Servlet you set up in Step 2. For example:
 
http://host:8080/rtvdisplay/index.html  Where host and port are correct for the application server hosting the Display Servlet.

2. Login to the Display Server. By default, the Display Server does not require a login. Login can be enabled in the Display Servlet to support role based security, If login is enabled, the default user name and password are:
   User Name: admin
 Password: admin

NOTE: It is possible that your system administrator may have configured another user name and password. In this case, you may also need to select a role.

Problem: An error message appears in the browser.
Solution: Check the command window where you started the Display Server as well as the Display Servlet log file on your application server.

See the Runtime Behavior and Limitations for more information.



Congratulations! Enterprise RTView deployment is completed.
 
 

 

 
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.