Oracle
  Home arrow Oracle arrow Page 2 - Managing the Oracle HTTP Server
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
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? 
Google.com  
ORACLE

Managing the Oracle HTTP Server
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 4
    2007-01-11


    Table of Contents:
  • Managing the Oracle HTTP Server
  • The Oracle HTTP Server Processing Model
  • Oracle HTTP Server Installation and Configuration
  • OHS Directives

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log 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


    Managing the Oracle HTTP Server - The Oracle HTTP Server Processing Model
    ( Page 2 of 4 )

    Once you start the Oracle HTTP server, it listens for connection requests and passes them on to the appropriate service. The spawning of these listener processes differs in UNIX and Windows servers. In a UNIX /Linux system, the OHS control process launches several copies of itself, known as child processes, to listen to user's requests. The main process runs as the root user and the child processes under a less privileged user account, usually a UNIX user named "nobody. " Each child process is another instance of the httpd program, as you can see from the output below.

    [] $root 12928 1 0 Apr 11 ? 36:06 /opt/hpws/apache/bin/httpd -d
    /opt/hpws/apache -k start

    awuser

     7898

    22238

    0

    May 16

    ?

     0:14

    /opt/apache/bin/httpd

    -DSSL

    awuser

    12653

    22238

    0

    May 19

    ?

     0:12

    /opt/apache/bin/httpd

    -DSSL

    awuser

    22249

    22238

    0

    May 16

    ?

     0:14

    /opt/apache/bin/httpd

    -DSSL

    awuser

    22248

    22238

    0

    May 16

    ?

     0:15

    /opt/apache/bin/httpd

    -DSSL

    awuser

    22250

    22238

    0

    May 16

    ?

     0:15

    /opt/apache/bin/httpd

    -DSSL

      root

    22238

        1

    0

    May 16

    ?

    18:55

    /opt/apache/bin/httpd

    -DSSL

    $

    On a Windows server, there is a multithreaded implementation of the HTTP server process, which involves a single control process and just one child process; it creates multiple threads to listen to connection requests. Thus, the child processes actually aren't separate processes but threads within a single child process.

    Under both UNIX and Windows systems, the httpd.pid
    file, located in the $ORACLE_HOME/Apache/Apache/logs directory, contains the process ID of the original OHS process.

    Starting and Stopping the Oracle HTTP Server

    You start and stop the OHS with the help of the opmnctl tool, which was explained in Chapter 3. When you use the startall command, all OracleAS components, including the OHS, are started by OPMN. Similarly, by using the stopall command, you can stop all the OracleAS processes. You can also start just the OHS server itself using the following command:

      $ opmnctl startproc ias-component=HTTP_Server

    You stop the OHS component by using the following opmnctl command:

      $ opmnctl stopproc ias-component=HTTP_Server

    Although you can start and stop the OHS processes with the opmcntl command as shown here, it's best to start OHS as part of the entire component stack of the OracleAS instance, because OHS is a key component of the OracleAS instance and you may run into problems by starting and stopping just the OHS by itself. You may also reconfigure, start, and stop the OHS server from the Application Server control console.

    on the job:  You mustn't use the apachectl script, traditionally used to start up the Apache Web server, to start the OHS.



     
     
    >>> More Oracle Articles          >>> More By McGraw-Hill/Osborne
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - Implementing and Using Oracle`s Restore Poin...
    - 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...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 6 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek