Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Relocate Apache out of Oracle 9i AS

Re: Relocate Apache out of Oracle 9i AS

From: Hans Forbrich <hforbric_at_yahoo.net>
Date: Fri, 20 Feb 2004 17:24:35 GMT
Message-ID: <nprZb.28163$n17.14772@clgrps13>


Marcos wrote:
> Dear,
>
> During installion of Oracle 9i Application Server, I notice Apache
> web server is installed as well. The installation will combine (1) Web
> and (2)Application server together.
>
> Right now, if I would like to relocate the web server to another new
> machine running Apache (I want to run the web and application server on
> two different machines). Do you know what configuration files should I
> modify?
>
> MT
>

DO NOT 'relocate' the OHS to another server. Instead, set up the other server to have it's own Apache or OHS and use Virtual Hosts to redirect to the one on the same host as the App Server. The 'local' OHS is needed to provide the AJ13 path to the OC4J unless you are using ORMI exclusively. (I've found exclusive ORMI a tricky setup.)

App Server basically includes:

"Oracle HTTP Server Powered By Apache" (OHS) as the front end, - this uses standard Apache 1.3.2 configuration found in $ORACLE_HOME/Apache/Apache/conf
- the httpd.conf points to an Oracle_Apache.conf which in turn points to most of the oracle specific conf files.
- 80% of the directives are documented well at http://httpd.apache.org and the rest are in Oracle's http://docs.oracle.com

and
the "OC4J Application Server" (Oracle Containers for J2EE) - the mod_oc4j.conf directs Apache to OC4J - OC4J uses $ORACLE_HOME/j2ee as the base for a standard J2EE deployment structure.

HTH
/Hans Received on Fri Feb 20 2004 - 11:24:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US