Skip Headers

Oracle Application Server Discoverer Configuration Guide
10g (9.0.4)

Part Number B10273-01
Go To Table Of Contents
Contents
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Index
Index

Go to previous page Go to next page

4
Maintaining OracleAS Discoverer

4.1 Maintaining OracleAS Discoverer

This chapter explains how to maintain OracleAS Discoverer, and includes the following topics:

4.2 About Oracle Enterprise Manager Application Server Control

Oracle Enterprise Manager Application Server Control is part of Oracle Enterprise Manager, which provides a comprehensive systems management platform for managing Oracle products.

Application Server Control provides Web-based management tools that enable you to monitor and configure the components (e.g. OracleAS Discoverer, OracleAS Portal, OracleAS HTTP Server) of your Oracle Application Server installations. You can deploy applications, manage security, and create Oracle Application Server clusters.

The figure below shows the Application Server Control main page.

Figure 4-1 Application Server Control main page


Text description of oem1.gif follows.
Text description of the illustration oem1.gif

Notes

4.2.1 Why use Application Server Control with Discoverer?

You use Application Server Control with Discoverer to:

The following table lists some of the Discoverer configuration tasks that you might perform using Application Server Control:

Discoverer configuration task  Where can I find out more information about this task? 

Change database passwords 

Application Server Control Help 

Enable and disable Discoverer client tier components 

Section 4.5, "About disabling and enabling Discoverer client tier components" 

Enable or disable graphs in Discoverer Viewer and Discoverer Portlet Provider 

Application Server Control Help 

Manage connections for Discoverer Plus and Discoverer Viewer 

Section 4.9, "About monitoring Discoverer metrics" 

Monitor Discoverer metrics 

Section 4.9, "About monitoring Discoverer metrics" 

Search for and analyze Discoverer log files 

Section 4.11, "About Discoverer diagnostics and logging" 

Select the locale for public connections 

Application Server Control Help 

Specify a delay value for the Query Progress page in Discoverer Viewer 

Application Server Control Help 

Specify communication protocols for the Discoverer Plus middle tier 

Section 12.7.3.3, "How to display the OracleAS Discoverer Plus Communications Protocols page in Application Server Control" 

Specify the maximum number of Discoverer Portlet Provider sessions to pool 

Application Server Control Help 

Specify the maximum number of stylesheets to pool (in the cache) for Discoverer Viewer and Discoverer Portlet Provider 

Section 10.5.2, "How to enhance Discoverer Viewer scalability using XSL stylesheet pooling" 

Start and stop the Discoverer Service (for more information 

Section 4.4, "About starting and stopping the Discoverer Service" 

Start and stop the Discoverer servlets 

Section 4.7, "How to start and stop the Discoverer servlets" 

4.2.2 How to display Application Server Control

You use Application Server Control to configure OracleAS components (e.g. OracleAS Discoverer, OracleAS Portal). For example, if you want to start or stop the Discoverer Service, view current session details, or configure default user preferences for all users.

To display Application Server Control:

  1. Start a Web browser and enter the Application Server Control URL containing the fully qualified host name and domain used by your own OracleAS installation.

    For example:

    http://<host.domain>:1810

  2. When prompted, enter an Application Server Control user name and password.

  3. Click OK to display the Application Server Control Home page, where you monitor OracleAS and manage the instances (i.e. OracleAS installations) on your network.


    Text description of oem1.gif follows.
    Text description of the illustration oem1.gif

The Standalone Instances table lists OracleAS instances available. For example, in the screenshot above, the Standalone Instances table contains the following two instances:

Notes

4.2.3 How to display the Application Server Control Discoverer Home page

You display the Application Server Control Discoverer Home page to configure and manage Discoverer.

To display the Application Server Control Discoverer home page:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

    Application Server Control displays a list of OracleAS instances available.

  2. In the Name column, select the OracleAS instance containing the OracleAS Business Intelligence and Forms installation where OracleAS Discoverer is installed.

  3. If prompted, enter an Application Server Control user name and password.

    Application Server Control displays a list of OracleAS System Components available for the OracleAS Business Intelligence and Forms installation (e.g. Discoverer, Forms, HTTP Server).


    Text description of oem2.gif follows.
    Text description of the illustration oem2.gif

  1. In the Name column, select the Discoverer link to display the Application Server Control Discoverer Home page.


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

You can now start and stop Discoverer client tier components, and manage all aspects of Discoverer (see figure below).

Notes:

Figure 4-2 Application Server Control Discoverer Home page


Text description of oem8.gif follows.
Text description of the illustration oem8.gif

Key to figure:

    1. Link to the Discoverer Components area (for more information, see Section 4.3, "About using Application Server Control to manage Discoverer components")

    2. The Home tab of the Application Server Control Discoverer page.

    3. Buttons to start and stop the Discoverer Service.

    4. Current Status indicator, which shows whether the Discoverer Service is running (i.e. Up) or not running (i.e. Down).

    5. General information about the Discoverer component (e.g. memory and CPU usage).

    6. Links to Discoverer configuration pages.

4.3 About using Application Server Control to manage Discoverer components

As a middle tier manager, you use Application Server Control to manage the following Discoverer components:

The main tasks that you perform using Application Server Control are (see figure below):

Figure 4-3 Using Application Server Control to mange Discoverer components


Text description of darch.gif follows.
Text description of the illustration darch.gif

The figure below shows the Discoverer Plus component, Discoverer Viewer component, and Discoverer Portlet Provider component displayed in the Application Server Control Discoverer Home page.

Figure 4-4 Discoverer components displayed in the Application Server Control Discoverer Home page


Text description of oem21.gif follows.
Text description of the illustration oem21.gif

Notes

4.3.1 What happens when you enable or disable Discoverer client tier components?

What happens when you enable or disable Discoverer client tier components depends on whether the Discoverer Service is running, as show below:

Is the Discoverer Service running?  What happens when you enable Discoverer client tier components?  What happens when you disable Discoverer client tier components? 

Yes 

Discoverer client tier components resume normal operation 

Existing Discoverer sessions continue as normal, but no new Discoverer sessions are allowed. A message is displayed that informs the Discoverer end user that the component is disabled (for more information, see Section 4.5, "About disabling and enabling Discoverer client tier components")  

No 

Nothing happens immediately

When you start the Discoverer Service, the Discoverer client tier components resume normal operation 

Nothing happens immediately (for more information, see Section 4.5, "About disabling and enabling Discoverer client tier components")  

4.4 About starting and stopping the Discoverer Service

The Discoverer Service comprises the following:

For more information about the Discoverer Service, see Section 1.10.2, "About the Discoverer CORBA components (Discoverer Service)".

You use Application Server Control to start, stop and monitor the Discoverer Service running on a machine. For example, you might need to start and stop the Discoverer Service for maintenance (e.g. when you apply a Discoverer patch).

Figure 4-5 The Application Server Control Discoverer Home page displaying the Discoverer Service options


Text description of em_main.gif follows.
Text description of the illustration em_main.gif

This section describes how to start and stop the Discoverer Service, and contains the following topics:

Notes

4.4.1 How to start the Discoverer Service on a machine

You might want to start the Discoverer Service after maintenance. For example, after the Discoverer Service has been stopped to apply a Discoverer patch.

Hint: If the Discoverer Service is already running, you might want to restart the Discoverer Service by clicking Restart.

Note: The Discoverer Service is started automatically as part of the BI_Forms instance.

To start the Discoverer Service:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page for the machine that you want to configure (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

  1. Click Start to start the Discoverer Service.

  2. Click Yes at the confirmation page.

4.4.2 How to stop the Discoverer Service on a machine

You might want to stop Discoverer Service to perform maintenance. For example, to apply a Discoverer patch.

To stop the Discoverer Service:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page for the machine that you want to configure (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

  1. Click Stop.

    Application Server Control displays a warning message.

  2. Click Yes to begin the process that stops the Discoverer Service.

Hint: To stop and start the Discoverer Service, click Restart instead of clicking Stop then Start.

4.5 About disabling and enabling Discoverer client tier components

Sometimes you will want to disable and enable end user access to Discoverer client tier components (i.e. Discoverer Plus, Discoverer Viewer, and Discoverer Portlet Provider).

For example, you might want to:

The Discoverer client tier components behave differently when you disable them, as follows:

4.5.1 How to disable Discoverer client tier components

You might need to disable one or more Discoverer client tier components to perform maintenance. For example, to apply a Discoverer patch, or to restrict user access to a Discoverer component.

To disable Discoverer client tier components:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").

  3. Select the Components link to display the Components area.


    Text description of oem21.gif follows.
    Text description of the illustration oem21.gif

  1. In the Components area, select the check box in the Select column for the Discoverer component(s) that you want to disable.

    For example, to disable Discoverer Plus, select the Discoverer Plus check box.

    Note: Alternatively, click a link in the Name column to display the Home page for the component you selected and click Disable or Enable.

  2. Complete the following steps to disable the Discoverer component:

    1. Click Disable.

      Application Server Control displays a warning message.

    2. Click Yes to begin the process that disables the Discoverer component.

      Application Server Control displays a Processing message.

    The Status column displays 'Disabled' for the Discoverer component(s) that you selected.

4.5.2 How to enable Discoverer client tier components

You might need to enable one or more Discoverer client tier components after performing maintenance. For example, after you have applied a Discoverer patch, or to enable user access to a Discoverer component.

Note: The Discoverer client tier components are started automatically as part of the BI_Forms instance.

To enable Discoverer client tier components:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").

  3. Select the Components link to display the Components area.


    Text description of oem21.gif follows.
    Text description of the illustration oem21.gif

  1. In the Components area, select a check box in the Select column for the Discoverer component(s) that you want to disable or enable.

    For example, to enable Discoverer Plus, select the Discoverer Plus check box.

    Note: Alternatively, click a link in the Name column to display the Home page for the component you selected and click Disable or Enable.

  2. Complete the following steps to enable the Discoverer component:

    1. Click Enable.

      Application Server Control displays a warning message.

    2. Click Yes to begin the process that enables the Discoverer component.

      Application Server Control displays a warning message.

    The Status column displays 'Enabled' for the Discoverer component(s) that you selected.

4.6 About starting the Discoverer Service and the Discoverer servlets without using Application Server Control

This section explains why you might want to manage Discoverer without using Application Server Control, and how you stop and start the Discoverer Service without using Application Server Control.

4.6.1 Managing Discoverer in a high availability environment

A high availability environment is an environment in which middle tier processes must have as little downtime as possible. If any middle tier processes fail or become unresponsive, those processes must be restarted as quickly as possible.

OPMN (Oracle Process Monitoring and Notification) is an OracleAS component for managing OracleAS middle tier processes (including Discoverer) in a high availability environment.

OPMN periodically checks the processes it manages, and automatically restarts any processes that have failed or become unresponsive.

You specify how OPMN manages Discoverer processes by changing the settings in the opmn.xml configuration file. For more information about the options that are available in the opmn.xml file, see Section A.6, "List of configuration settings in opmn.xml".

4.7 How to start and stop the Discoverer servlets

You can start and stop the Discoverer servlets (i.e. the Discoverer J2EE components) running on a standalone machine in an OracleAS component farm from any machine in the farm. For example, you might want to perform maintenance tasks on a machine and need to stop the Discoverer servlets.

Note: This task also stops the OracleAS Reports component and the OracleAS Forms component.

For more information about the Discoverer servlets, see Section 1.10.1, "About the Discoverer J2EE components".

To start and stop the Discoverer servlets:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

    Application Server Control displays a list of OracleAS instances available.

  2. In the Name column, select the OracleAS instance that you want to configure.

    Application Server Control displays a list of OracleAS System Components available (e.g. Discoverer, Forms, HTTP Server).


    Text description of oem2.gif follows.
    Text description of the illustration oem2.gif

  1. In the Name column, select the OC4J_BI_Forms link to display the OC4J_BI_Forms page.

  2. Do one of the following:

    • Click Start to start the OC4J_BI_Forms component, which starts the Discoverer servlets (i.e. Discoverer Plus, Discoverer Viewer, Discoverer Portlet Provider)

      Note: If the OC4J_BI_Forms component is already started, click Restart to start the Discoverer servlets.

    • Click Stop to stop the OC4J_BI_Forms component, which stops the Discoverer servlets (i.e. Discoverer Plus, Discoverer Viewer, Discoverer Portlet Provider).

    Notes

    • If you want to stop and start the servlets in one operation, you can also use the Restart button.

4.8 About configuring options for the Discoverer Service and the Discoverer client tier components

You use Application Server Control to configure options for the Discoverer Service and the Discoverer client tier component as follows:

For more information about how to configure Discoverer and Discoverer component options, see:

4.8.1 How to change configuration options for all Discoverer client tier components

You might want to change configuration settings that apply to all Discoverer client tier components. For example, to set the default locale or to edit public connections.

To change configuration options for all Discoverer client tier components:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

  1. In the General area, next to Configuration, click one of the links to display the appropriate Discoverer Configuration page, as follows:

    • Click General to display the General area.

      Use this page to select a locale, enable or disable graphs for Discoverer Viewer and Discoverer Portlets.

    • Click Public Connections to display the Public Connections area.

      Use this page to create and update public connection details

    • Click Private Connections to display the Private Connections area.

      Use this page to enable private connections for Discoverer Plus and Discoverer Viewer.

    • Click Services Logging to display the Services Logging area.

      Use this page to maintain Discoverer Services logging options

    Note: For more information about each option, see Application Server Control Help.

  2. Modify the configuration options as required.

  3. Click OK to save the changes you have made.

Note: Configuration changes take effect when Discoverer users next log in to Discoverer. You do not have to restart the Discoverer Service or the Discoverer servlets.

4.8.2 How to change configuration options for individual Discoverer client tier components

You might want to change configuration settings that apply to individual Discoverer client tier components (i.e. Discoverer Plus, Discoverer Viewer, or Discoverer Portlet Provider). For example, to select the communication protocol for Discoverer Plus.

To change configuration options for individual Discoverer client tier components:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

  1. Select the Components link to display the Components area.


    Text description of oem21.gif follows.
    Text description of the illustration oem21.gif

  1. In the Components area, in the Name column, select the Discoverer link for the component that you want to configure.

    For example, select the Discoverer Plus link to display the Home page for Discoverer Plus.

  2. In the General area, next to Configuration Links, select a link to display the Configuration options for the component you selected, as follows:

    • Discoverer Plus options:

    • Discoverer Viewer options

      • Caching enables you enable and disable OracleAS Web Cache

      • Logging enables you to maintain Viewer logging options

      • Stylesheet Pool enables you to specify the number of stylesheets to store in memory to maximize Discoverer performance (for more information, see Section 10.5.2, "How to enhance Discoverer Viewer scalability using XSL stylesheet pooling")

      • Delay Times enables you to specify how long to wait before Discoverer Viewer displays a query progress page, or the frequency for checking for export completion

    • Discoverer Portlet Provider options:

      • Sessions enables you to specify the number of sessions to cache for Discoverer portlets to maximize Discoverer performance

      • Logging enables you to maintain Discoverer Portlet Provider logging options

      • Stylesheet Pool enables you to specify the number of stylesheets to store in memory to maximize Discoverer Portlet Provider performance

    Note: For more information about each option, see Application Server Control Help.

  3. Modify the configuration options as required.

    For more information about each option, see Application Server Control Help.

  4. Click OK to save the changes you have made.

    Note: Configuration changes take effect when Discoverer users next log in to Discoverer. You do not have to restart the Discoverer Service or the Discoverer servlets.

4.9 About monitoring Discoverer metrics

As the Discoverer middle tier administrator, you will typically want to analyze system performance by monitoring a number of statistics or metrics. This enables an you to easily compare the total resources used by Discoverer with other installed applications and services.

You can use Application Server Control to monitor the following Discoverer metrics:

You can view the Discoverer metrics in two different ways:

For more information about how to monitor Discoverer metrics, see:

Notes

4.9.1 How to monitor summary metrics for all Discoverer client tier components

You might want to monitor metrics for all Discoverer client tier components. For example, to view the total amount of memory or CPU that the Discoverer system is using.

To monitor metrics for all Discoverer client tier components:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

  1. (optional) Display the Performance tab to show session details for all Discoverer client tier components.


    Text description of em2.gif follows.
    Text description of the illustration em2.gif

The Performance page displays:

For more information about the Discoverer session details displayed on this page, see Application Server Control Help.

  1. (optional) Click the file icon in the View Log column on the Performance page to display the View Logs page.

    The View Logs page displays all the log information for the selected Discoverer session.

4.9.2 How to monitor metrics for a single Discoverer client tier component

You might want to monitor metrics for a single Discoverer component (i.e. Discoverer Plus, Discoverer Viewer or Discoverer Portlet Provider). For example, For example, you mind want to find out exactly how many sessions are currently used by Discoverer Plus users compared to Discoverer Viewer users.

To monitor metrics for a single Discoverer client tier component:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").


    Text description of em_main.gif follows.
    Text description of the illustration em_main.gif

  1. Select the Components link to display the Components area.


    Text description of oem21.gif follows.
    Text description of the illustration oem21.gif

  1. In the Name column of the Components area, select the Discoverer link for the component that you want to monitor.

    For example, select the Discoverer Plus link to display the Home page for Discoverer Plus.

    Application Server Control displays the Home page for the Discoverer component that you selected.

    Each Discoverer component home page displays general information and summary metrics. The Discoverer component home page is similar to the metrics on the Application Server Control Discoverer Home page, except that the metrics are specific to the displayed Discoverer component.

  2. (optional) Display the Performance tab to show session details for the selected Discoverer component.

    The Performance page displays:

    • the total number of sessions for this Discoverer component

    • a list of the top N sessions for this Discoverer component, ordered by either CPU usage or memory usage

    For more information about the Discoverer session details displayed on this page, see Application Server Control Help.

  3. (optional) Click the file icon in the View Log column on the Performance page to display the View Logs page.

    The View Logs page displays log information for the selected Discoverer session.

Notes

4.10 How to list ports used by OracleAS

Discoverer uses the same port(s) as the Oracle HTTP Server.

To see a list of ports used by OracleAS:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. In the Name column, select the OracleAS instance containing the OracleAS infrastructure installation where OracleAS Discoverer is installed.


    Text description of infra3.gif follows.
    Text description of the illustration infra3.gif

  1. Display the Ports tab.


    Text description of ports.gif follows.
    Text description of the illustration ports.gif

For information about changing the default OracleAS ports for OracleAS components, see Section 4.10.1, "How to change the port on which Discoverer is deployed".

Note: For more information about which port Discoverer is installed on by default, see Section 2.5, "Which port number is Discoverer installed on?".

4.10.1 How to change the port on which Discoverer is deployed

To change the port on which Discoverer is deployed:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. In the Name column, select the OracleAS instance containing the OracleAS infrastructure installation where OracleAS Discoverer is installed.


    Text description of infra3.gif follows.
    Text description of the illustration infra3.gif

  1. Display the Ports tab.


    Text description of ports.gif follows.
    Text description of the illustration ports.gif

  1. In the rows containing the Oracle HTTP Server component, select the edit icon in the Configure column to display the Server Properties page for that component.

    For example, to change the Discoverer HTTP port, select the edit icon in the Configure column where the Type column displays 'The nonSSL listen port'. To change the Discoverer HTTPS port, select the edit icon in the Configure column where the Type column displays 'The SSL listen port'.


    Text description of infra4.gif follows.
    Text description of the illustration infra4.gif

  2. Scroll down to the Listening Addresses and Ports area and change the port number in the Default Port field.

  3. Click OK.

  4. When you are prompted to restart the Oracle HTTP Server, click Yes.

    For more information about the Server Properties page in Application Server Control, see Application Server Control Help.

    Hint: If you change a Discoverer port number, make sure that any other OracleAS components that use that Discoverer port number are synchronized.

4.11 About Discoverer diagnostics and logging

This explains describes the server diagnostic and logging facilities that are available in Discoverer, and contains the following topics:

4.11.1 What Discoverer diagnostics and logging facilities are available

You use Discoverer's diagnostics facilities to trace and diagnose problems with Discoverer. For example, if Discoverer's performance is slow, you might want to check that Discoverer's middle tier components are correctly configured.

The following Discoverer diagnostic facilities are available:

Notes

4.11.2 What is the checkdiscoverer utility?

The checkdiscoverer utility is a script that checks the configuration of the Discoverer middle tier and middle tier components, and reports any failures or anomalies.

For more information about the checkdiscoverer utility, see Section A.2, "List of Discoverer file locations".

4.11.3 About using the OracleAS View Logs facility

The OracleAS View Logs facility enables you to query and view log files from OracleAS applications. For example, you might want to produce a list of all Discoverer sessions running on a particular Discoverer middle tier machine.

Note: The OracleAS View Log facility is an alternative to using the Services Logging link on the Application Server Control Discoverer Home page, or the View Log link on the Performance page for each Discoverer servlet.

4.11.4 How to use OracleAS View Logs to view Discoverer log files

You use the OracleAS View Logs facility when you want to search for particular Discoverer logs. For example, you might want to look at session log files for a particular Discoverer component.

To use OracleAS View Logs to view Discoverer log files:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. In the Name column, select the OracleAS instance containing the OracleAS Business Intelligence and Forms installation where OracleAS Discoverer is installed.

  3. If prompted, enter an Application Server Control user name and password.

    Application Server Control displays a list of OracleAS System Components available for the OracleAS Business Intelligence and Forms installation (e.g. Discoverer, Forms, HTTP Server).

  4. Select the Logs link in the Application Server Control header to display the View Logs page.

  5. Add Discoverer to the Selected Components list.

  6. Click Search to display all Discoverer Services log files for that machine.


    Text description of log3.gif follows.
    Text description of the illustration log3.gif

  1. Select a link in the Log File column to display that log in detail.

Hint: For find more specific logging information, click Advanced Search to search by log file attributes, or display the Search Log Repository tab to search all logs.

4.11.5 How to enable the Discoverer Services log file

You enable the Discoverer Services log file when you want to monitor Discoverer session processes.

To enable the Discoverer Services log file:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").

  3. Select the Services Logging link to display the Discoverer Services Logging area.


    Text description of log1.gif follows.
    Text description of the illustration log1.gif

  1. Enable the Discoverer Services log file as follows:

  2. Select a logging level from the Logging Level drop down list.

    You can now monitor the Discoverer Services log file (for more information, see Section 4.11.7, "How to view the Discoverer Services log file").

  3. Click OK.

Notes

4.11.6 How to enable the Discoverer Servlet log files

You enable the Discoverer Servlet log files when you want to monitor Discoverer servlet activity.

To enable the Discoverer Servlet log files:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").

  3. Select the Components link to display the Components area.

  4. Display the home page for the Discoverer servlet for which you want to enable log files, select one of the following links in the Name column:

    • for the Discoverer Plus servlet log file, select the Discoverer Plus link

    • for the Discoverer Viewer servlet log file, select the Discoverer Viewer link

    • for the Discoverer Portlet Provider servlet log file, select the Discoverer Portlet Provider link

  5. Select the Logging link to display the Logging area.

  6. Select a logging level from the Logging Level drop down list.

    For example, the figure below shows a logging level being selected for Discoverer Plus.


    Text description of log2.gif follows.
    Text description of the illustration log2.gif

  1. Click OK.

    You can now monitor the Discoverer servlet log file that you enabled (for more information, see Section 4.11.8, "How to view Discoverer Servlet log files").

4.11.7 How to view the Discoverer Services log file

You view the Discoverer Services log file when you want to monitor Discoverer.

Note: The Discoverer Services log file must first be enabled (for more information, see Section 4.11.5, "How to enable the Discoverer Services log file").

Hint: You can also use the OracleAS View Log facility to search for and view Discoverer log files (for more information, see Section 4.11.4, "How to use OracleAS View Logs to view Discoverer log files").

To view the Discoverer Services log file:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").

  3. Display the Performance tab.


    Text description of oem7.gif follows.
    Text description of the illustration oem7.gif

  1. Click a file icon in the View Log column on the Performance page to display the View Logs page.

4.11.8 How to view Discoverer Servlet log files

You view the Discoverer Servlet log files when you want to monitor Discoverer servlets.

Note: The Discoverer Servlet logs must first be enabled (for more information, see Section 4.11.6, "How to enable the Discoverer Servlet log files").

Hint: You can also use the OracleAS View Log facility to search for and view Discoverer log files (for more information, see Section 4.11.4, "How to use OracleAS View Logs to view Discoverer log files").

To view the Discoverer Servlet log files:

  1. Display Application Server Control (for more information, see Section 4.2.2, "How to display Application Server Control").

  2. Display the Application Server Control Discoverer Home page (for more information, see Section 4.2.3, "How to display the Application Server Control Discoverer Home page").

  3. Display the Performance tab for the Discoverer servlet that you want to monitor, as follows.

    • to monitor Discoverer Plus - select the Discoverer Plus link, display the Performance tab, then click the View Log icon for the session that you want to monitor.

    • to monitor Discoverer Viewer - select the Discoverer Viewer link, display the Performance tab, then click the View Log icon for the session that you want to monitor.

    • to monitor Discoverer Portlet Provider - select the Discoverer Portlet Provider link, display the Performance tab, then click the View Log icon for the session that you want to monitor.

4.11.9 How to copy Discoverer log files

You might want to copy all Discoverer logs into a single location. For example, to provide a snap-shot of a Discoverer middle tier machine, or to provide an archive of Discoverer log files.

You use the collectlogs utility to copy Discoverer logs into a single location.

For more information about the collectlogs utility, see Section A.2, "List of Discoverer file locations".

To copy Discoverer log files to a single location:

  1. On the Discoverer middle tier machine, navigate to the /discoverer/util/ directory and type the following at a command prompt:

    collectlogs <logs target location>
    
    
    

    where <logs target location> is either a TAR filename (UNIX) or a folder name (Windows).

    The Discoverer log files are copied to the specified location.

Notes

4.12 About running Discoverer Plus with different Java Virtual Machines

OracleAS supports the following default Java Virtual Machines (JVMs):

You might want to use a different JVM in the following circumstances:

The plus_config.xml Discoverer configuration file that is installed with OracleAS contains details of the recommended JVMs that are compatible with Discoverer (for more information about the location of configuration files, see Section A.2, "List of Discoverer file locations"). The list of JVMs in plug_config.xml is pre-populated with JVM details for JInitiator 1.3 and Sun Java Plug-in 1.4.1.

In the figure below, the plus_config.xml file contains two JVM tags (highlighted):

Figure 4-6 Plus_config.xml showing the JVM parameters (highlighted)


Text description of pxml.gif follows.
Text description of the illustration pxml.gif

Notes

4.12.1 How to change the JVMs specified in the plus_config.xml file

You change the JVMs specified in the plus_config.xml file when you want to use a different JVM from the default JVMs installed with Discoverer.

Hint: Make a backup copy of the plus_config.xml file before making amendments.

To change the JVMs specified in the plus_config.xml file:

  1. Open the plus_config.xml file in a text editor (for more information about the location of the plus_config.xml file, see Section A.2, "List of Discoverer file locations").

  2. Change the details of the default JVMs (i.e. "windows" and "non-windows") as required.

4.12.2 How to specify a Java Virtual Machine

If you want to specify a JVM globally for Discoverer Plus sessions, you must modify JVM entries for 'windows' or 'non-windows'. For example, you might want Windows clients to use the Sun Java Plug-in 1.4.1 instead of the default JInitator 1.3 JVM.

To specify a Java Virtual Machine:

  1. Open the plus_config.xml file in a text editor or XML editor (for more information about the location of configuration files, see Section A.2, "List of Discoverer file locations").

  2. Remove (or comment out) the existing JVM tag for the JVM that you want to stop using.

    For example, if you want to stop using the JInitator 1.3 JVM for Windows clients, remove (or comment out) the following 'oracle' JVM tag:

    <jvm name="windows" classid="clsid:CAFECAFE-0013-0001-0008-ABCDEFABCDEF" plugin_setup="plus_files/plugin/jinit1318.exe" version="1.3.1.9" versionie="1,3,1,9" type="application/x-jinit-applet" plugin_page="" archive="disco5i.jar"/>

  3. Cut and paste the JVM tag for the JVM that you want to use into the plus_config.xml file.

    For example, if you want to start using the Sun Java Plug-in 1.4.1 JVM for Windows clients, cut and paste the following 'non-windows' JVM tag:

    <jvm name="non-windows" classid="clsid:CAFEEFAC-0014-0001-0002-ABCDEFFEDCBA" plugin_setup="/plus_files/plugin/j2re-1_4_1_02-windows-i586-i.exe" version="1.4.1" versionie="1,4,1,2" type="application/x-java-applet" plugin_page> ="http://java.sun.com/products/archive/j2se/1.4.1/index.html" archive="disco5i.jar"/>

    Note: The JVM tag that you paste must be one continuous line with no carriage returns or breaks.

  4. In the new JVM tag that created in the previous step, change the jvm name= value to the value of the JVM that you want to use.

    For example, if you want to start using the Sun Java Plug-in 1.4.1 JVM for Windows clients, change the value 'non-windows' to the value 'windows'.

  5. Save the plug_config.xml file.

The specified JVM will now be used for Discoverer Plus sessions for the specified browser platforms.

Example

The figure below shows an example of a plus_config.xml file after changes are made to specify the Sun Java Plug-in 1.4.1 JVM for Windows clients.

Figure 4-7 Specifying a JVM for all sessions


Text description of pxml2.gif follows.
Text description of the illustration pxml2.gif

Key to figure above:

    1. Original Windows JVM tag commented out.

    2. Original non-Windows JVM tag.

    3. Copy of the non-Windows JVM tag with "non-windows" changed to "windows".

    4. The JVM name value that is changed from "non-windows" to "windows".


Go to previous page Go to next page
Oracle
Copyright © 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents
Go To Documentation Library
Home
Go To Product List
Solution Area
Go To Index
Index