![]() |
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
B:
Install Display Server
C:
Register
Register
for a license to run the Display Server.
D:
Configure Display Server
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:
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
About Display Servlet
A:
Create Display Servlet HTML or JSP Files
Skip this step and go to Step B: Configure Display Servlet Options if both of the following are true:
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
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.
1. In an initialized
command window, go to your project directory and type:
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:
3. If you will be using your
own Apache Tomcat application server, run the following script to install
the Display Servlet:
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)
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
A: Start Display Server
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
1. Open a browser and navigate
to the URL for the Display Servlet you set up in Step 2. For example:
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:
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.
See the Runtime Behavior and Limitations for more information.
|
|
|
|
|
|
|
|