Skip Headers
Oracle® Thesaurus Management System Installation Guide
Release 5.1

E53656-03
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
PDF · Mobi · ePub

6 Installing Oracle Thesaurus Management System Application Components

The Oracle Thesaurus Management System Front End includes:

You must install the TMS Server code and database objects before you install the Front End.

This section includes:

6.1 Restart Computer and Stop All Servers and Services

Restart the computer and then stop all servers and services:

  1. Restart the computer.

  2. In the Windows Services control panel, find Oracle Node Manager service and stop it.

  3. From the Windows Start menu, go to All Programs, then Oracle Classic_asinst_1, then:

    • Forms Services, then Stop WLS_FORMS

    • Reports Services, the Stop WLS_REPORTS

    • Stop Admin Server: NOTE: This is required if you are installing the Front End and the Server (database server code), but if you are installing the Report Server the Admin Server must be running.

6.2 Installing the TMS Front End

The TMS Report Server must be installed on the same machine as the TMS Front End and requires that the WebLogic FRDomain Admin Server be running during installation, whereas the TMS Front End and Server installation processes require that the Admin Server be stopped. So although the TMS Installer gives you the option to install all three at once you should not use that option.

6.2.1 Gather Required Information

Have the following information ready to enter in the Installer screens:

  • Home Details: Select the Oracle Home that corresponds to the Oracle Forms and Reports home, similar to C:\oracle\middleware\Oracle_FRHome1.

    On the Installer screen there are two drop downs, Name and Path. Use the Path drop-down to do the selection. When you select the directory, the Name value changes automatically.

  • Your OPA Home directory; by default:

    C:\opapps51

  • Oracle HTTPS Server (OHS) SSL Listener Port number. You may have set this to 443 per the instructions in the previous chapter; see Section 5.6.1.4.1, "Add the New Wallet Location and Specify Port."

  • Oracle HTTP Server (OHS) Non-SSL Listener Port number.

    Tip:

    To find these two port numbers:
    1. Open an MS DOS window.

    2. Go to oracle_instance/bin.

    3. Enter opmnctl status -l

      where the last character is a lowercase L.

    To check, go to the URL https://host:port with each port.

  • WebLogic username: The account created when you installed the WebLogic Server.

  • Enter the passwords for:

    • WebLogic Server (the password you created when installing WebLogic Server)

    • OPA Proxy (bc4j_internal)

    • TMS Proxy (ops$tmsbrowser)

  • Database details:

    • Database server:

      server_name.your_company.com

    • Database instance: database_name

    • Port number

6.2.2 Start the Installer

To install the TMS Front End:

  1. Log in as a user with system administrator privileges.

  2. In the staging area, locate the directory where you downloaded and extracted Oracle Thesaurus Management System (see Section 1.4, "Downloading and Extracting the Software").

  3. Run the following file as an administrator:

    Disk1\install\setup.exe

    The Installer opens to the Welcome screen.

    Note:

    See Section 1.5, "Using the Silent Installer" for instructions for running the Installer as a file with pre-entered parameter values.

    Note:

    Although there is a button for deinstalling products on the Welcome screen, Oracle does not support using the Installer to deinstall Oracle Thesaurus Management System.

6.2.3 Attend to the TMS Front End Installer Screens

The Oracle Universal Installer guides you through the installation and configuration of the TMS Front End.

  1. Product to install: Oracle Thesaurus Management System Front End.

  2. Home Details: There are two drop-downs, Oracle Home Name and Directory. Use the Directory drop-down to select the Oracle Home that corresponds to the Oracle Forms and Reports home, similar to C:\oracle\middleware\Oracle_FRHome1.

    When you select the directory, the Home value changes automatically.

  3. Available Product Components: Select Oracle Thesaurus Management System Front End 5.1.0.0.x.

    Note:

    Although the Installer gives you the option install the TMS Server (database server code) at the same time, do not select this option. You must install the TMS Server first, then the database objects, and then the Front End.

    Do not choose to install the Report Server at the same time. Its installation process requires that the WebLogic FRDomain Admin Server be running, while the Front End and TMS Server installation processes require that the Admin Server be stopped.

  4. Follow the instructions on the installation screens, providing the information you assembled in Section 6.2.1, "Gather Required Information.".

  5. If the Installer detects that you have already installed 5.0 or above and created the OPADomain, the Installer asks if you want to overwrite OPADomain or not.

    • Overwrite it if your previous installation failed or only partially completed; for example, the TMS Browser URL does not work.

    • Do not overwrite if you have created it successfully, and especially if you have done customizations such as setting up clusters or multiple databases. Also if Oracle Clinical is installed in the same application server, do not overwrite OPADomain.

  6. Summary: The Summary screen provides information about the global settings, languages, space requirements, and products for this installation.

    Review the installation details to verify that they are correct. To revisit earlier installation screens and make changes, click Back.

    When you are ready to continue, click Install.

6.2.4 Review the Installation Log File

Review the generated installation log file for errors. See Section 1.6, "Reviewing the Installation Log Files" for details.

Work with Oracle Support, if necessary, to resolve any errors.

6.2.5 Restart the Computer

To ensure that all configuration changes are initialized, you must restart the computer before you continue with the next task in the installation process or before you install Oracle Thesaurus Management System Reports Server.

6.2.6 Add WebLogic Data Sources If Using Multiple Databases

When you run the Oracle Thesaurus Management System Installer, it sets up two data source connections, one for OPA and one for RDC Onsite, from the WebLogic Server (WLS) to the database you specify in the Installer screens.

If you plan to use more than one database, you must create a WLS data source for OPA and the TMS Browser for each additional database. The OPA connection is used for running TMS reports. If you also are using RDC on multiple databases, you need to create additional data sources for RDC.

Instructions are in the Oracle Thesaurus Management System User's Guide and the Oracle Clinical Remote Data Capture Onsite Administrator's Guide.

6.3 Make the Java Runtime Environment Available for Download

Oracle Thesaurus Management System requires that Java Standard Edition (SE) Runtime Environment (JRE) exist on the user's computer.

The Oracle Thesaurus Management System Launch page is configured to prompt users to install JRE if it does not exist on their computer. To make this work, you need to download JRE into the OPA_HOME\html directory and rename it.

  1. If you have not already done so, download the software following instructions in Section 1.4.5, "Downloading the Java Runtime Environment."

    See that section if you are using the 64-bit version.

  2. Copy the downloaded file from the staging area to OPA_HOME\html.

  3. Rename the file to sunjpi.exe.

If your users need to have both JRE 6 and 7 installed to support different versions of Oracle Thesaurus Management System, check My Oracle Support article 1570682.1 for guidance; see "Finding Information on My Oracle Support".

6.4 Installing the TMS Reports Server

This section describes installing and configuring a Reports Server. The TMS Reports Server runs on Oracle Application Server 11g Release 1 Forms and Reports Services. It schedules batch jobs such as synchronization.

You must install the TMS Front End before installing the TMS Report Server.

Note:

If you have already installed the Oracle Clinical Reports Server on this machine, you do not need to install the TMS Reports Server.

The Installer prevents you from installing two Reports Servers with the same name.

6.4.1 Start the WebLogic FRDomain Admin Server

Start the WebLogic FRDomain Admin Server is running. Do one of the following.

  • Go to the Start menu, then All Programs, then Oracle Classic asinst_1, then Start Admin Server.

  • Go to the Start menu, then All Programs, then Oracle Weblogic, then User Projects, then FRDomain, then Start Admin Server Weblogic Server Domain.

6.4.2 Gather Required Information

Before you start the Installer, be sure you have the information it prompts for; most of the information is the same as in Section 6.2.1, "Gather Required Information." In addition, you need to provide a name for the TMS Report Server that is unique across your installation.

6.4.3 Start the TMS Report Server Installer

To install the TMS Report Server:

  1. Log in as a user with system administrator privileges.

  2. In the staging area, locate the directory where you downloaded and extracted Oracle Thesaurus Management System (see Section 1.4, "Downloading and Extracting the Software").

  3. Run the following file as an administrator:

    Disk1\install\setup.exe

    The Installer opens to the Welcome screen.

    Note:

    See Section 1.5, "Using the Silent Installer" for instructions for running the Installer as a file with pre-entered parameter values.

    Note:

    Although there is a button for deinstalling products on the Welcome screen, Oracle does not support using the Installer to deinstall Oracle Thesaurus Management System.
  4. In the Select a Product to Install page, select Oracle Thesaurus Management System Report Server 5.1.0.0.x.

6.4.4 Attend to the TMS Reports Server Installation Screens

The Oracle Universal Installer guides you through the installation and configuration of the TMS Reports Server.

  1. See Section 6.2.1, "Gather Required Information." Some of the same information is required for the Report Server.

  2. Report Server name. Enter a unique name across your installation. If you try to create a second Reports Server with the same name as the first, the Installer detects it and prevents it.

  3. Summary: The Summary screen provides information about the global settings, languages, space requirements, and products for this installation.

    Review the installation details to verify that they are correct. To revisit earlier installation screens and make changes, click Back.

    When you are ready to continue, click Install.

6.5 Verifying the Application Tier Installation

Verify that these URLs work and you can log into the application:

  • Forms-based TMS—https://host/opa51/launch.htm

  • TMS HTML Browser—https://host/tmsadf/faces/Login

6.6 Verify and Fix Environment Variables

Check values and correct them if required.

6.6.1 Check Values

To check variable values:

  1. Open a DOS prompt window.

  2. Run:

    middleware_home\domains\OPADomain\bin\setDomainEnv.cmd  
    

    For example:

    c:\oracle\middleware\user_projects\domains\OPADomain\bin\setDomainEnv.cmd
    

    The script should run with no errors.

  3. Inspect the value of JAVA_HOME:

    1. At the DOS command prompt, type: set JAVA_HOME. You should see the location where you installed JDK following instructions in Section 5.3, "Install Oracle Java Development Kit."

    2. Enter: dir %java_home%. You should see the directory specified as your JAVA_HOME containing a file called src.zip and four subdirectories: jre, lib, bin, and include.

      If you do not see these things, you will need to add them as directed in Section 6.6.2, "Correct Values".

      If JAVA_HOME contains any spaces or if any of the directories in its path are greater than 8 characters, you will need to correct them as directed in Section 6.6.2, "Correct Values".

  4. Inspect the value of JAVA_VM. At the command prompt, enter: set JAVA_VM. You should see something like JAVA_VM=-server. If not, correct as directed in Section 6.6.2, "Correct Values".

6.6.2 Correct Values

To correct any of the above problems:

  1. Navigate to middleware_home\wlsserver_10.3\common\bin

  2. Back up commEnv.cmd.

  3. Open commEnv.cmd in a text editor.

  4. The first line in commEnv.cmd identifies the JAVA_HOME value. If it does not exist or is not correct, add or edit it; for example:

    set JAVA_HOME=c:\java\jdk1.6.0.45

  5. Find:

    set JAVA_VM=-client

    change it to:

    set JAVA_VM=-server

  6. Close the DOS window and open a new one, then repeat the steps in Section 6.6.1, "Check Values".

6.7 Set Up Automatic Startup

It is possible to configure any Windows service to restart itself upon failure. These are standard options available when configuring a Windows service in the context of Windows Services Manager.

However, it is important to understand that Windows Services Manager only monitors the service's JVM process. If the JVM process fails (shuts down), then Windows Services Manager will attempt to restart it. But there are some scenarios where the WebLogic Admin Server or Managed Server may go into an unhealthy or failed state while the JVM is still running. The Windows Service Manager will not know to restart the process in these cases, whereas if the Admin Server and Managed Server had been started using the WebLogic Node Manager, Node Manager would recognize such a state and restart the process.

Oracle recommends starting the Admin and Managed Servers through the Node Manager using python scripts and then configuring the Windows server to execute the python scripts at startup.

6.7.1 Set Up Script to Execute Automatically at Machine Startup

Create a task and set up the Task Scheduler to run the job on bootup:

  1. From Start, then Control Panel, then Administrative Tools, open Task Scheduler.

  2. Select Create Basic Task on the right side of the Task Scheduler.

  3. Enter following values:

    Name: Oracle FRDomain Autostart

    Trigger: When the computer starts

    Action: Start a program

    Select:opa_home\config\autostartFRDomain.cmd

  4. Click Next and then Finish to complete creation of the scheduled task.

  5. Find the task Oracle Domain Autostart under the Active Tasks list (center pane) and double-click to select it. Right-click on the task you just created and select Properties.

  6. On the General tab, select Run whether user is logged on or not.

  7. Repeat these steps for OPADomain, with two differences. In Step 3, enter:

    Name: Oracle OPADomain Autostart

    Select:opa_home\config\autostartOPADomain.cmd

6.7.2 Verify Autostart Scripts

  1. From a DOS window, enter command:

    opa_home\config\autostartfrdomain2.cmd

    to start the FRDomain server. This command will print a lot of messages and will take some time. While this is executing, proceed to next step.

  2. From a different DOS window, enter command:

    opa_home\config\autostartopadomain2.cmd

    to start the OPADomain server.

  3. When both windows are complete, you will see messages like below, followed by the DOS prompt which will indicate script is complete:

    Starting server WLS_FORMS .................................... 
    Server with name WLS_FORMS started successfully 
    Starting server WLS_REPORTS ............................ 
    Server with name WLS_REPORTS started successfully 
     
    Successfully Connected to Node Manager. 
    Starting server AdminServer ... 
    Successfully started server AdminServer ... 
    Starting server OpaServer1 ... 
    Successfully started server OpaServer1 ... 
    
  4. Verify that these URLs work and you can log into application:

    • TMS: https://server.domain/opa51/launch.htm

    • TMS Browser: https://server.domain/tmsadf/faces/Login?setUpDone=Y

6.7.3 Test Autostart

To test:

  1. Restart the computer.

  2. Allow some time for the services to start.

  3. Try the URLs in Section 6.7.2, "Verify Autostart Scripts."

    If the URLs do not work after several minutes, check files in opa_home\log:

    • autostartfrdomain2.log

    • autostartfrdomain2.err

    • autostartopadomain2.log

    • autostartopadomain2.cmd

6.8 Starting Servers Manually

If you have not set up automatic startup, you can start the required servers manually using the instructions in this section.

For information about these servers and the server architecture, see the topology diagram.

6.8.1 Starting the FRDomain Admin Server

The Oracle FRDomain Admin Server is located on the WebLogic Server domain that must be named FRDomain and must use port number 7001. You must start the Admin Server before you can start either the Oracle Forms Server or the Oracle Reports Server.

To start the Admin Server, do one of the following:

  • Go to the Start menu, then All Programs, then Oracle Classic asinst_1, then Start Admin Server.

  • Go to the Start menu, then All Programs, then Oracle Weblogic, then User Projects, then FRDomain, then Start Admin Server Weblogic Server Domain.

Note:

You cannot start it from the Admin Console because if the server is not running, the FRDomain Admin Console is not available.

6.8.2 Starting the Forms Server

The Oracle Forms Server is located on the WebLogic Server domain that must be named FRDomain and must use port number 7001. You must start the FRDomain Admin Server before the Forms Server.

To start the Forms Server, do either:

  • Start, then All Programs, then Oracle Classic asinst_1, then Forms, then Start WLS_FORMS.

  • Use the Admin Console at http://host:7001/console.

6.8.3 Starting the Reports Server

The Oracle Reports Server is located on the WebLogic Server domain that must be named FRDomain and must use port number 7001. You must start the FRDomain Admin Server before the Reports Server.

To start the Reports Server, do either:

  • Start, then All Programs, then Oracle Classic asinst_1, then Reports, then Start WLS_REPORTS.

  • Use the Admin Console at http://host:7001/console.

6.8.4 Starting the OPADomain Admin Server

The Oracle OPADomain Admin Server is located on the WebLogic Server domain that the Installer names OPADomain, and which must use port number 7101. You must start the Admin Server before you can start the OpaServer1.

To start the OPADomain Admin Server, go to the Start menu, then All Programs, then Oracle WebLogic Server, then User Projects, then OPADomain, then Start Admin Server.

Note:

You cannot start from the Admin Console because if the server is not running, the OPADomain Admin Console is not available.

6.8.5 Starting the OpaServer1 Server

The OpaServer1 Server is located on the WebLogic Server domain named OPADomain, which must use port number 7101. The OpaServer1 Server runs on Oracle ADF and supports the TMS Browser and TMS reports. It also contains the database connections.

You must start the OPADomain Admin Server before the OpaServer1 Server.

To start the OpaServer1 Server, use the Admin Console at either:

  • http://host:7101/console

  • https://host/opaconsole (if configured)

6.9 Verify the Application Tier Installation

Verify that these URLs work and you can log into application:

  • https://host/opa51/launch.htm

  • https://host/tmsadf/faces/Login

6.10 Stopping Servers

You can stop each server either in the appropriate WLS Admin Console or from the Windows Start menu. These instructions are provided for your information; you do not need to do them now.

6.10.1 Stopping the Forms Server

The Oracle Forms Server is located on the WebLogic Server domain that must be named FRDomain and must use port number 7001.

To stop the Forms Server, do either:

  • Start, then All Programs, then Oracle Classic asinst_1, then Forms, then Stop WLS_FORMS.

  • Use the Admin Console at http://host:7001/console.

    Note:

    The Admin Console is available only if the Admin Server is running.

6.10.2 Stopping the Reports Server

The Oracle Reports Server is located on the WebLogic Server domain that must be named FRDomain and must use port number 7001.

To stop the Reports Server, do either:

  • Start, then All Programs, then Oracle Classic asinst_1, then Reports, then Stop WLS_REPORTS.

  • Use the Admin Console at https://host:7001/console.

    Note:

    The Admin Console is available only if the Admin Server is running.

6.10.3 Stopping the FRDomain Admin Server

The Oracle FRDomain Admin Server is located on the WebLogic Server domain that must be named FRDomain and must use port number 7001.

To stop the Admin Server, do either:

  • Start, then All Programs, then Oracle Classic asinst_1, then Stop Admin Server.

  • Use the Admin Console at https://host:7001/console.

6.10.4 Stopping the OPADomain Admin Server

The Oracle OPADomain Admin Server is located on the WebLogic Server domain that the Installer names OPADomain, and which must use port number 7101.

To stop the Admin Server, do either:

  • Start, then All Programs, then Oracle WebLogic Server, then User Projects, then OPADomain, then Stop Admin Server.

  • Use the OPADomain Admin Console at http://host/opaconsole or http://host:7101/opaconsole (if it's configured)

6.10.5 Stopping the OpaServer1 Server

The OpaServer1 Server is located on the WebLogic Server domain named OPADomain, which must use port number 7101.

To stop the OpaServer1 Server, use the Admin Console at either:

  • http://host:7101/console

  • https://host/opaconsole (if configured)

    Note:

    The Admin Console is available only if the Admin Server is running.