Oracle
  Home arrow Oracle arrow Monitoring the Oracle HTTP Server
Dev Shed Forums 
Administration  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Download TestComplete 
VPS Hosting 
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
ORACLE

Monitoring the Oracle HTTP Server
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2007-01-25

    Table of Contents:
  • Monitoring the Oracle HTTP Server
  • How to Monitor the Oracle HTTP Server
  • Using Oracle HTTP Server Log Files
  • CERTIFICATION OBJECTIVE 5.03: OHS Configuration Directives

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
     
    ADVERTISEMENT

    Route your faxes to your email inbox. Private, secure fax numbers available from CallWave. Choose your fax number.

    Monitoring the Oracle HTTP Server
    (Page 1 of 4 )

    In this third part of a five-part article, you'll learn how to manage the Oracle HTTP Server (OHS) from the command line, how to monitor the OHS, and more. It is excerpted from chapter five of the book Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill, 2006; ISBN: 0072262710).

    CERTIFICATION OBJECTIVE 5.02: Managing the Oracle HTTP Server

    You can manage the Oracle HTTP Server through the Application Server Control, or with the help of command-line tools.

    Managing from the Command Line

    The two command-line tools you use to manage OHS are opmnctl and dcmtl. You can start, restart, and stop the Oracle HTTP Server along with the rest of the OracleAS components using the opmnctl utility, or just the Oracle HTTP Server by itself. Here's how you start and stop the OHS server using the opmnctl command-line utility, which is located in the $ORACLE_HOME/opmn/bin directory:

      $opmnctl startproc ias-component=HTTP_Server
      $opmnctl stopproc ias-component=HTTP_Server
      $opmnctl restartproc ias-component=HTTP_Server

    You can also use the dcmtl utility to configure the Oracle HTTP Server instance.

    exam watch:   Always use the opmnctl command-line tool to start, stop, and restart the Oracle HTTP Server to avoid potential problems caused by the inability of the configuration infrastructure to communicate with server processes. You shouldn't use the apachectl utility to manage the OHS.

    Using the Application Server Control to Manage OHS

    You can view the status and a brief performance report of the Oracle HTTP Server in the Application Server home page, shown in Figure 5-2. To get to the home page of the Oracle HTTP Server, go to the System Components table of the relevant OracleAS instance and click the HTTP_Server link. From the HTTP Server home page, you can click links to view the status metrics, module metrics, and the response/load metrics. You can also view the error log for the HTTP Server by clicking the Error Log link.

    Go to the System Components table section of the Application Server Control to find where you can start, stop, and restart the OHS server. You can also stop and start the OHS using the Stop All and Start All buttons on the Application Server Control home page.

    You can use the Application Server Control to conveniently manage the OHS and modify the default configuration settings. You've already seen how you can start, stop, and restart the OHS Server using the Application Server Control. Let's briefly examine the various OHS management features in the Application Server Control.


    Figure 5-2.   The Oracle HTTP Server Home Page

    Editing the httpd.conf File

    You can edit the httpd.conf file by following these steps:

    1. On the Application Server home page, select Oracle HTTP Server from the System Components table and click the HTTP_Server link.
    2. On the HTTP Server home page, click the Administration tab.
    3. Click the Advanced Server Properties link in the HTTP_Server Administration page.
    4. In the Advanced Properties page, click the httpd.conf link, to edit that file.

    Figure 5-3 shows the Advanced Server Properties page. You can view and modify several OHS
    configuration files from this page, including the httpd.conf file and the oracle_apache.conf file, which helps configure the Oracle-specific HTTP parameters.

    Although you can modify the httpd.conf file manually, the advantage in editing the file using Application Server Control is that the configuration changes are effected immediately, because the OHS server is automatically bounced when you


    Figure 5-3.   The Advanced Server Properties Page

    modify the configuration. Also remember that if you do decide to manually edit the httpd.conf file, be sure to issue the following dcmtl command at the command line:

      $ dcmtl updateconfig -v

    When you issue this command, the Metadata Repository is updated with the configuration changes you make by manually editing the httpd.conf file. The-- v option gives you detailed information (verbose) about the results of executing the command. Make sure that you execute the dcmtl command in the appropriate OracleAS instance home directory. You can't guarantee that you're issuing the command in the right environment by merely setting the ORACLE_HOME environment variable. You must be in the correct ORACLE_HOME location to make sure you're running the command for the appropriate instance.  

    More Oracle Articles
    More By McGraw-Hill/Osborne


       · This article is an excerpt from the book "Oracle 10g Application Server Exam Guide,"...
     

    Buy this book now. This article is excerpted from chapter five of the book Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill, 2006; ISBN: 0072262710). Check it out today at your favorite bookstore. Buy this book now.

       

    ORACLE ARTICLES

    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway