Oracle Application Server 10g 9.0.4 : 2004 6
Oracle Application Server 10g 9.0.4 : Oracle Application Server... 3... 3 Oracle Application Server... 3... 3... 4 Oracle Application Server... 6 Oracle Application Server... 6... 7 1.... 7 2.... 7... 9 1. OracleAS... 10 2. OC4J... 11 3. J2EE... 13 4. OHS 14... 16 Oracle Application Server 10g 9.0.4 : 2
Oracle Application Server 10g 9.0.4 : Oracle Application Server Oracle Application Server 10g Oracle Application Server Oracle Application Server 1 Oracle Application Server OracleAS Cluster Oracle Application Server 10g: Oracle Application Server Oracle Application Server Oracle Application Server : Oracle Application Server File-Based Repository FBR Oracle Application Server : Oracle Application Server Oracle : 1 Oracle HTTP Server Oracle Application Server Containers for J2EE OC4J Oracle Application Server 10g 9.0.4 : 3
Oracle Application Server : Oracle Application Server OracleAS OC4J : Oracle Application Server Containers for J2EE OC4J OC4J OC4J Web OC4J : Oracle Application Server 10g 1: OracleAS Oracle Process Manager and Notification Server OPMN Oracle Application Server 10g 9.0.4 : 4
OPMN DCM mod_oc4j Distributed Configuration Management DCM DCM Metadata Repository OracleAS OracleAS OracleAS OracleAS DCM OracleAS file-based database-based Oracle HTTP Server OHS mod_oc4j AJP OC4J OPMN mod_oc4j 2 OracleAS DCM OracleAS Oracle 2: OracleAS Oracle Application Server 10g 9.0.4 : 5
Oracle Application Server Oracle Application Server 2 OracleAS : OracleAS OracleAS OracleAS : OracleAS OracleAS OracleAS 1 Distributed Configuration Management DCM OracleAS OracleAS : OracleAS Oracle Application Server 10g: Oracle Application Server Oracle Application Server 10g 9.0.4 file-based DCM OracleAS File-Based Repository FBR OracleAS Oracle Application Server 10g 9.0.4 : 6
Oracle Application Server 10g 9.0.4 OracleAS 1. 2. 1. 1 OracleAS FBR OracleAS OracleAS 10g 9.0.4 DCM FBR DBR 2. WebCache OHS OC4J OracleAS OracleAS OracleAS J2EE & WebCache OHS OC4J OC4J OracleAS OC4J OracleAS 2 a. b. a. 1 OracleAS OracleAS 3 b. OracleAS OracleAS OracleAS 1 OracleAS OracleAS Oracle Application Server 10g 9.0.4 : 7
1 OracleAS OHS OracleAS OHS OracleAS OracleAS 4 : 2 3: OracleAS OracleAS OracleAS Oracle Application Server 10g 9.0.4 : 8
4: Web EJB OracleAS OracleAS J2EE J2EE myapp OracleAS inst1 inst2 2 OracleAS 2 OracleAS inst1 inst2 2 1 2 ORACLE_HOME Oracle Application Server 10g 9.0.4 : 9
J2EE myapp OracleAS OC4J_BI_Forms OC4J_Portal home OC4J 1. OracleAS 2. OC4J 3. J2EE 4. OHS 1. OracleAS 2 OracleAS OracleAS file-based database-based OracleAS OracleAS 2 inst1 inst2 %cd $ORACLE_HOME/dcm/bin %dcmctl getopmnport ONS ons.conf IPaddress:PortNumber 127.2.141.148:6200 inst1 <IP of inst1:port of inst1> inst2 <IP of inst2:port of inst2> inst1 %cd $ORACLE_HOME/dcm/bin %dcmctl addopmnlink <IP of inst2:port of inst2> inst2 %cd $ORACLE_HOME/dcm/bin %dcmctl addopmnlink <IP of inst1:port of inst1> 2 OracleAS OracleAS 2 OPMN Oracle Application Server 10g 9.0.4 : 10
: addopmnlink J2EE Web Cache OracleAS ONS removeopmnlink addopmnlink Oracle Oracle 2. OC4J OracleAS OracleAS Web EJB OC4J J2EE OC4J J2EE Web OC4J OC4J OC4J J2EE 3 a. Web b. EJB a. Web Web inst1 inst2 OracleAS "home" OC4J Web 5 Oracle Application Server 10g 9.0.4 : 11
IP IP 230.0.0.1 9127 IP 224.0.0.2 239.255.255.255 HTTP EJB 5: Web b. EJB EJB inst1 inst2 OracleAS "home" OC4J EJB 6 IP IP 230.0.0.1 23791 IP 224.0.0.2 239.255.255.255 HTTP EJB Oracle Application Server 10g 9.0.4 : 12
/ RMI OC4J [ ] [OK] 6: EJB 3. J2EE J2EE inst1 inst2 a. web.xml <distributable> b. orion-web.xml <cluster-config> c. orion-ejb-jar.xml replication a. web.xml <distributable> web.xml <distributable/> Web web.xml web.xml <web-app> <distributable/> <servlet>... </servlet> </web-app> Oracle Application Server 10g 9.0.4 : 13
b. orion-web.xml <cluster-config> orion-web.xml <cluster-config/> orion-web.xml <orion-web-app...>... <cluster-config/> </orion-web-app> c. orion-ejb-jar.xml replication orion-ejb-jar.xml Session Bean Session Bean Bean Bean VMTermination EndOfCall orion-ejb-jar.xml <session-deployment... replication= EndOfCall /> 4. OHS Oracle HTTP Server OHS mod_oc4j OC4J J2EE web root context root context URL mod_oc4j OPMN mod_oc4j OC4J mod_oc4j mod_oc4j $ORACLE_HOME/Apache/Apache/conf/mod_oc4j.conf OHS Oc4jMount OC4J OC4J OracleAS OC4J mod_oc4j.conf OC4J Oracle HTTP Server OHS mod_oc4j.conf Oc4jMount 1 OC4J OC4J Oc4jMount Oracle Application Server 10g 9.0.4 : 14
Oc4jMount path [destination] 1 ajp13_dest cluster_dest instance_dest Oracle HTTP Server 10g 9.0.4 mod_oc4j.conf Oc4jMount Oc4jMount /j2ee/* Oc4jMount /webapp home Oc4jMount /webapp/* home OracleAS inst1 inst2 %cd $ORACLE_HOME/dcm/bin %dcmctl whichinstance inst1 <inst1_name> inst2 <inst2_name> OC4J Oc4jMount OracleAS /OC4J Oc4jMount OracleAS inst1 inst2 inst2 OHS inst1 OHS 1 OracleAS "HTTP_Server" File Name mod_oc4j.conf Oracle Application Server 10g 9.0.4 : 15
Oc4jMount Oc4jMount /myapp instance://<inst1_name>:home, <inst2_name>:home Oc4jMount /myapp/* instance://<inst1_name>:home, <inst2_name>:home inst1 inst2 [ ] [OK] Oracle HTTP Server OHS Oracle Application Server 10g 9.0.4 file-based FBR OracleAS Oracle Application Server 10g 9.0.4 : 16
Oracle Application Server 10g (9.0.4): Manually Managed Cluster 2004 6 : Shail Goel : John Lang, Rick Ehrsam Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. : : +1.650.506.7000 : +1.650.506.7200 www.oracle.com Oracle Copyright 2004 Oracle Corporation All rights reserved.