Verifying Your Configuration

The purpose of this section is to verify that your Monitor configuration (performed in earlier sections of this documentation) is operating properly before performing a full Web deployment.

These instructions assume you have a project directory, as described in Quick Start. The rtview.properties file is located in your project directory.

Windows

On Windows, use the standalone Monitor to test data acquisition from the cluster. For details about start_rtv, see Monitor Scripts.

  1. Navigate to the projects\mysample directory of the Monitor installation directory.

  2. Start the HSQLDB database by typing:

  3. start_rtv default database

    A command prompt window appears for the HSQLDB database.

  4. Start the Viewer by typing:

  5. start_rtv viewer -console

    A command prompt window appears, followed by the Monitor application.

  6. Inspect the messages that appear in the command prompt window for errors.

  7. Perform the following steps:

  8. Repeat Steps 2 – 5 as needed to resolve any data acquisition issues.

Proceed to Starting the Monitor.

UNIX/Linux

For details about start_rtv, see Monitor Scripts.

  1. Navigate to the mysample directory.

  2. Example: cd projects/mysample

  3. Start HSQLDB.

  4. Example: start_rtv.sh default database

  5. Check the HSQLDB log file for errors. Example without errors:

  6. cat hsqldb.log
    [Thread[main,5,main]]: checkRunning(false) entered
    [Thread[main,5,main]]: checkRunning(false) exited
    Startup sequence initiated from main() method
    Loaded properties from [/home/m/SLTest/rtvoc_55c1/projects/myocm/server.properties]
    Initiating startup sequence...
    Server socket opened successfully in 8 ms.
    Database [index=0, id=0, db=file:DATA/alertdefs, alias=alertdefs] opened sucessfully in 452 ms.
    Database [index=1, id=1, db=file:DATA/rtvhistory, alias=rtvhistory] opened sucessfully in 878 ms.
    Startup sequence completed in 1341 ms.
    2009-11-20 11:16:56.800 HSQLDB server 1.8.0 is online
    To close normally, connect and execute SHUTDOWN SQL
    From command line, use [Ctrl]+[C] to abort abruptly
  7. Start the Data Server.

  8. Example: start_rtv.sh default dataserver

  9. Carefully inspect the Data Server log file, logs/dataserver.log, for Monitor and Coherence errors.

  10. NOTE: Coherence can produce a large number of long messages making errors difficult to notice. Common errors at this stage are "class not found" errors due to missing JAR files, and incorrect or blocked ports.

  11. Terminate the Data Server and correct any configuration errors found.

  12. Example: stop_rtv.sh default dataserver

  13. Repeat steps 6 – 8 as needed until the Data Server output produces no errors.

  14. Terminate the data server and HSQLDB and use “ps –ef | grep hsqldb” to find the HSQLDB process.