Oracle Discoverer Oracle Discoverer 3i Viewer Configuration Guide for Oracle Internet Application Server for Unix
Release 3.3.57.25

A86662-01

Contents

Index

Prev Next

2
Running, Maintaining and Supporting Discoverer 3i Viewer

This chapter explains how to run and maintain Discoverer 3i Viewer.

The topics include:

2.1 Running Discoverer 3i Viewer

Once you have completed the Oracle Internet Application Server installation (see the Oracle Internet Application Server Installation Guide) you can run the Discoverer 3i Viewer. The Discoverer components should already be registered (if not see Section 2.5.1.1, "To Register the Preferences and Session with the OAD" for details).

To run Discoverer 3i Viewer complete the following steps:

  1. Start a browser window and type in your own details using the following as a guide:

http://mywebserver.company.com/servlets/discoservlet

Where mywebserver.company.com represents the Web server machine that the HTTP server is installed on. You must replace this with its fully qualified host name. For example:

http://machinename.oracle.com/servlets/discoservlet

This will start Oracle Discoverer 3i Viewer and you will see the following login screen:

  1. Enter your User Name, Password and database connect string.

  2. (Optional) If you are connecting as an Oracle Applications user (to an Oracle Applications database) select the Oracle Applications User check box
    If the Oracle Applications User check box is not displayed in the connect screen above, details on how to display it are detailed in an Oracle Applications mode section in the Table 2-1, "Discoverer Server Preferences".

  3. Click Connect

You are now running Oracle Discoverer 3i Viewer.

2.2 Maintaining Discoverer 3i Viewer

To maintain Discoverer 3i, first go to the directory <ORACLE_HOME>/DISCWB33/util

If you are using C Shell (csh) run the command

> source discwb.csh

If you are using Korne shell/Bourne shell (ksh/sh) run the command

> ./discwb.sh

Running this command is very important because this will set the required PATH and other environment variables. These settings are required to run the scripts startoad.sh, startosagent.sh, startlocator.sh, stopoad.sh, stoposagent.sh, stopall.sh, registering and unregistering scripts, plus commands like osfind and oadutil.

2.3 Seeing Registered Discoverer Server Objects

Installed objects are registered with the VisiBroker OAD (Object Activation Daemon). You can see the registered objects for one machine or for the entire network.

To see the registered objects on one machine:

  1. Make sure the OAD is running. To do this perform Step 2 below:
    If it is not, run the script startoad.sh.

  2. At the command prompt, type:

    oadutil list and press return.


Note:

Running the oadutil command displays only the list of objects registered on the machine. 


2.4 Editing End User Preferences

The Preferences file (pref.txt) controls default settings that apply to all end users. When a new session starts, the settings in the Preferences component take affect.

Some of these settings can be customized by users from the Discoverer 3i Options page. Individual preferences are stored for each user as a unique combination of database and userid, and loaded whenever the user starts a new session. Therefore, users can log on from different client machines and still have their individual settings take effect.

Also see the "Discoverer Administration Edition User's Guide" for more information.


Note:

Editing Preferences, such as adding a machine IP address, does not require that you shut down the Preferences object. Thus, users can continue working uninterrupted while you edit. 


  1. Open pref.txt, under the following directory in a text editor (vi or emacs):
    <ORACLE_HOME>/DISCWB33/util/
    The file defaults.txt (located in the above directory) is a copy of the original prefs.txt file and contains the default preference values for subsequent reference.

  2. Edit the items.

  3. Save the file and quit.

  4. Run the applypreferences.sh script, to apply preferences. This script is available under <ORACLE_HOME>/DISCWB33/util directory.

    A confirmation message shows that the new preferences have been saved. If you suspect that the file contains errors, check the error.txt file in the current directory.

  1. To continue, press any key.

    The Preferences are updated in the Preferences component. Preferences are now set for the Discoverer Services.

The following table shows the items in the Preferences file

Table 2-1 Discoverer Server Preferences
Affected Feature   Preference Item Key Name  Description  Default/Values 

Locator 

MachineIPs 

IP address or machine name of all Discoverer Server Application server; this is the only required item in the Preferences file 

 

Session Manager 

Timeout 

Amount of time after which Discoverer 3i disconnects an idle session from the database. Minimum time is 180 seconds. 

1800 (seconds) 

 

RowsPerHTML 

Number of rows to display per HTML page. 

25 (any whole number) 

Application 

CacheFlushPercentage 

Percentage of cache flushed if the cache is full 

25 

 

MaxVirtualDiskMem 

Maximum amount of disk memory allowed for the data cache 

1024000000 

 

MaxVirtualHeapMem 

Maximum amount of heap memory allowed for the data cache 

1024000000 

 

QueryBehavior 

Action to take after opening a workbook. 

 

ShowDialogBitmaps 

End users see the bitmap graphics on Discoverer Plus dialogs. 

 

DataFormat 

Applies HTML formatting to data cells in worksheets. 

"<fontFormat fontName="Dialog" pitch="10" bold="false" italic="false" underline="false" strikethrough="false" foreground="0,0,0" background="255, 255, 255" halign="right" valign="top"> </fontFormat>" 

 

HeadingFormat 

Applies HTML formatting to heading cells in worksheets. 

"<fontFormat fontName="Dialog" pitch="10" bold="false" italic="false" underline="false" strikethrough="false" foreground="0,0,0" background="204, 204, 204" halign="left" valign="top"> </fontFormat>" 

 

TotalsFormat 

Applies HTML formatting to cells that contain totals in worksheets 

"<fontFormat fontName="Dialog" pitch="10" bold="false" italic="false" underline="false" strikethrough="false" foreground="0,0,0" background="255, 255, 255" halign="left" valign="top"> </fontFormat>" 

 

NullValue 

Specifies how null values are displayed in worksheets, for example, "NULL", "N/A", "0" 

"NULL" 

Database 

DisableFanTrapDetection 

Disables detection for fan trap in user queries 

0 (0 = on, 1 = off) 

 

DisableMultiJoinDetection 

Disables multiple join detection 

1 (0 = on, 1 = off) 

 

DisableAutoQuery 

If set to 0, queries do not automatically run when a worksheet opens 

0 (0 = on, 1 = off) 

 

ItemClassDelay 

Fetch list of values for this amount of time before timing out 

15 (seconds) 

 

PredictionThresholdSeconds 

Warn user if the predicted query time will exceed the number of seconds 

60 (seconds) 

 

PredictionThresholdSeconds
Enabled 

Query prediction threshold disabled (0) or enabled (1) 

 

QueryTimeLimit 

Limit on query time in seconds 

1800 (seconds) 

 

QueryTimeLimitEnabled 

Query time limit disabled (0) or enabled (1) 

 

RowFetchLimit 

The maximum number of rows fetched 

10000 (rows) 

 

RowFetchLimitEnabled 

RowFetchLimit parameter is disabled (0) or enabled (1) 

 

RowsPerFetch 

The number of rows to fetch at once 

100 (rows) 

 

SummaryThreshold 

Use summary table only if it is no older than this number of days 

30 (days)

0 do not use summary at all 

 

SummaryThresholdEnabled 

If enabled (1), will use the value specified by SummaryThreshold. Otherwise, Discoverer will always use summary tables if they are available 

 

DefaultEUL 

Sets the EUL you want all users to connect to. Each user can override this default from the Discoverer Plus Options dialog 

Any EUL you have created. 

Oracle Applications Mode 

AppsGWYUID 

Specifies the public username and password for the AOL security dll 

"APPLSYSPUB/PUB" 

 

AppsFNDNAM 

Specified the schema in which certain vital Oracle Applications data is stored 

"APPS" 

 

ShowUserTypeChoice 

Activates an end-user checkbox that allows them to specify whether they want to run Discoverer against an Oracle Application 

 

DefaultUserTypeIsApps 

Specifies that users run Discoverer by default against an Oracle Application 

Internal settings 

BusinessAreaFastFetchLevel 

Controls the amount of pre-caching that occurs for components and items whenever a Business Area is fetched 

 

ObjectsAlwaysAccessible 

Verify that Business Area objects and items exist in the database 

0 (0=verify; 1=don't verify and assume that the objects and items exist) 

 

SummaryObjectsUseCachedAccessibility 

Controls whether to access the summary-derived objects in the cache 

 

AvoidServerWildcardBug 

Set to 1 if running against RDBMS 7.3.2 with NLS_LANG set to Japanese_Japan.JA16SJIS to avoid certain list box appearing empty 

 

RdbFastSQLOff 

 

Query Prediction and Performance 

QPPEnable 

Uses query prediction/performance (QPP) if set to 1 

1 (0 = false, 1 = true) 

 

QPPCreateNewStats 

Records new statistics if set to 1 

1 (0 = false, 1 = true) 

 

QPPLoadStatsByObjectUseKey 

Records statistics for same objects first if set to 1 

1 (0 = false, 1 = true) 

 

QPPUseCpuTime 

Query prediction uses CPU time within its algorithm 

1 (0 = false, 1 = true) 

 

QPPAvgCostTimeAlgorithm 

 

 

QPPMaxObjectUseKey 

Affects the amount of statistics to cache in memory for query prediction 

30 

 

QPPCBOEnforced 

Will use cost-based optimizer if set to 1. Will use default optimizer if set to 0 

 

QPPObtainCostMethod 

 

 

QPPMinCost 

Only records or uses statistics with a cost greater than this value 

 

QPPMaxStats 

Only loads this many previous statistics 

500 

 

QPPMinActCpuTime 

Only records or uses statistics with a CPU time greater than this value 

 

QPPMinActElapsedTime 

Only records or uses statistics with an actual elapsed time greater than this value 

 

QPPMinEstElapsedTime 

Only records or uses statistics with an estimated elapsed time greater than this value 

 

UseOptimizerHints 

Will add optimized hints to SQL if set 1 

 

QuerySQLFastFetchLevel 

 

 

SQLTrace 

False (off)

 

Crosstab Layout 

Title 

Displays titles that were created in Discoverer 3.1 worksheets 

1 (0 = no, 1 = yes) 

 

Cell XGridline 

Show horizontal gridlines 

0 (0 = no, 1 = yes) 

 

Cell YGridline 

Show vertical gridlines 

0 (0 = no, 1 = yes) 

 

Axis Style 

Crosstab axis position 

2 (1 = inline, 2 = outline) 

Table Layout 

Title 

Displays titles that were created in Discoverer 3.1 worksheets 

1 (0 = no, 1 = yes) 

 

Cell XGridline 

Show horizontal gridlines 

0 (0 = no, 1 = yes) 

 

Cell YGridline 

Show vertical gridlines 

0 (0 = no, 1 = yes) 

 

Row Headings 

Display row numbers on table worksheets 

0 (0 = no, 1 = yes) 

:

2.5 Registering and Unregistering Objects

The VisiBroker OAD must be running to register and unregister components, using the command line.

2.5.1 Registering and Unregistering Individual Component(s)

You can register components using shell scripts. The shell scripts are located in the <ORACLE_HOME>/DISCWB33/util directory of the machine where the components are installed.

2.5.1.1 To Register the Preferences and Session with the OAD

The Preferences and Session must be registered with the OAD. The OAD will spawn a new session per connection of the client.

For your convenience, scripts are available to help you with registering the Preference and Session components with the OAD.

The scripts are named:

To register the Session from the command line:

  1. Change the directory to <ORACLE_HOME>/DISCWB33/util.

  2. Type

    > ./registersession.sh

To register the Preferences from the command line:

  1. Change the directory to <ORACLE_HOME>/DISCWB33/util.

  2. Type

    > ./registerpreferences.sh

2.5.1.2 To Unregister Objects from OAD

You can unregister the Preferences and Session from the OAD.

2.5.1.2.1 Unregistering the Preferences

A script is available to help you unregister the Preferences from the OAD.

To unregister the Preferences from the OAD:

  1. Change the directory to <ORACLE_HOME>/DISCWB33/util.

  2. Type

    > ./unregisterpreferences.sh

2.5.1.2.2 Unregistering the Session

A script is available to help you unregister the Session from the OAD.

To unregister the Session from the OAD:

  1. Change the directory to <ORACLE_HOME>/DISCWB33/util.

  2. Type

    > ./unregistersession.sh

2.6 Shutting Down

If you need to perform maintenance, change hardware settings, or perform any other tasks, you should take the server machine off-line while working. This prevents users from starting sessions on that server while you work.

You will need to shut down the entire Discoverer 3i system.

A reminder: You do not need to shut down to edit Discoverer Preferences.

2.6.1 Shutting down the entire Discoverer 3i system

  1. Run the script:

    stoplocator.sh.
    


Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Contents

Index