วันพฤหัสบดีที่ 14 มกราคม พ.ศ. 2553

How To Verify Your Discoverer 10g Session (dis51ws) and Preference (dis51pr) Executables Respond Properly [ID 561165.1]




Modified 19-MAR-2009 Type TROUBLESHOOTING Status PUBLISHED

In this Document
Purpose
Last Review Date
Instructions for the Reader
Troubleshooting Details


Applies to:

Oracle Discoverer - Version: 10.1.2.0.0 to 10.1.2.3
Information in this document applies to any platform.

Purpose

This document describes how to check your Discoverer 10g (10.1.2) middle-tier session (di51ws) and preference (dis51pr) executables to ensure they are responding properly.

This is a helpful check if you get errors when starting the Discoverer components via the Oracle Process Manager Notification (OPMN) service or you receive errors when accessing Discoverer Plus or Viewer (possibly after a patch application or some other system change).

Last Review Date

April 7, 2008

Instructions for the Reader

A Troubleshooting Guide is provided to assist in debugging a specific issue. When possible, diagnostic tools are included in the document to assist in troubleshooting.

Troubleshooting Details

Unix / Linux:

  1. Set your environment middle-tier environment ($ORACLE_HOME)

    export ORACLE_HOME=<middle-tier path>
    To verify: echo $ORACLE_HOME


  2. Type: cd $ORACLE_HOME/discoverer

  3. Set the Discoverer environment by running:

    $. ./discwb.sh (notice: dot<space>dot<slash>scriptname

  4. Type: cd $ORACLE_HOME/bin

  5. Check the permissions with the following command:

    $ ls -ltr dis51*

    -rwxr-x--- 1 oracle oinstall 44372603 Feb 13 17:49 dis51ws
    -rwxr-x--- 1 oracle oinstall 1540376 Feb 13 17:49 dis51pr

    Ensure that dis51ws and dis51pr both have proper execute permissions. If they do not, then grant them with:

    chmod 750 dis51ws
    chmod 750 dis51pr


  6. Check that the Discoverer session server responds with the following command:

    Type: ./dis51ws


    You should see an output similar to the following:

    $ ./dis51ws
    Registering SessionManager
    Setting up the Operation Mode and Application Name
    Setting the creator of DCSThreadMonitor
    Starting the memory manager

    The executable will appear to hang at this point. This is normal since we are not passing it any further parameters.

  7. To exit the test, type: Control + C on the keyboard.

  8. Check that the Discoverer preference server responds with the following command:

    Type: ./dis51pr

    You should see an output similar to the following:

    $ ./dis51pr
    Creating Preference Repository:
    Activating Preference Repository
    Preference Repository is ready...
    IOR:000000000000001a49444c3a444349434f524241496e746572666163653a312e30000000000000010000000000000090000102000000001b6f726c6473732d61697830312e75732e6f7261636c652e636f6d000094ee00000000003114010f004e555000000014000000000000000100446973636f7665726572000000000000000001507265666572656e63650000000000000200000000000000080000000054414f0000000001000000140000000000010001000000000001010900000000

    The executable will appear to hang at this point. This is normal since we are not passing it any further parameters.

  9. To exit the test, type: Control + C on the keyboard.

  10. You have verified the executables are responding properly.

Windows:

  1. Open a DOS prompt.

  2. Set the ORACLE_HOME

    set oracle_home=<middle-tier path>
    To verify: echo %oracle_home%

  3. Type: cd %oracle_home%\bin

  4. Check that the Discoverer session server responds with the following command:

    prompt>dis51ws.exe


    You should see an output similar to the following:

    C:\bihome\bin>dis51ws
    Registering SessionManager
    Setting up the Operation Mode and Application Name
    Setting the creator of DCSThreadMonitor
    Starting the memory manager

  5. To exit the test, type: Control + C on the keyboard.

  6. Check that the Discoverer preference server responds with the following command:

    promt>dis51pr.exe

    You should see an output similar to the following:

    C:\bihome\bin>dis51pr
    Creating Preference Repository:
    Activating Preference Repository
    Preference Repository is ready...
    IOR:010000001a00000049444c3a444349434f524241496e746572666163653a312e3000000001000000000000008c000000010102001a0000006f72
    6c6473732d323030332e75732e6f7261636c652e636f6d009a083100000014010f004e555000000014000000000100000000446973636f7665726572
    000000000001000000507265666572656e636500000002000000000000000800000001000000004f4154010000001400000001000000010001000000
    00000901010000000000

  7. To exit the test, type: Control + C on the keyboard.

  8. You have verified the executables are responding properly.





0 ความคิดเห็น:

แสดงความคิดเห็น