Configure 10.1.3.X OC4J to access from 10.1.2.X Web Server

10.1.2 web and 10.1.3 OC4J

This post covers overview and key points you should know with documentation link on how to integrate 10.1.2 Oracle Application Server(Webcache, HTTP Server – Portal, J2EE, Forms and BI) with 10.1.3.X Application Server (OC4J)

This post is useful if your company already have an existing 10.1.2 installation (Portal or BI) and you wish to use new features provided by 10.1.3 Application Server. You can access/configure 10.1.3 Application Server via existing 10.1.2 HTTP Server or 10.1.2 Web Cache

Why to integrate existing 10.1.2 Oracle Application Server with 10.1.3 J2EE type installation ?
1. You wish to use single URL for both 10.1.2 applications (Portal, BI) as well as 10.1.3 Applications (SOA, WebCenter or any custom application)
2. You will be using single Web Server for both 10.1.2 and 10.1.3 Application Server thus reducing hardware and maintenance cost


Various Ways to integrate or use 10.1.2 Application Server in front of 10.1.3 Application Server (aka 10g AS R3)
1. Using Webcache – 10.1.2 OAS WebCache can act as reverse proxy for 10.1.3 AS
2. Using HTTP Server – 10.1.2 OAS HTTP Server can be deployed in front of 10.1.3 AS


Configure 10.1.2 Webcache as reverse proxy in front of 10.1.3 AS

1. Define 10.1.3 as origin server in 10.1.2 Web Cache
2. Define new site or use existing site for 10.1.3 in webcache
3. Map 10.1.3 site to origin server in webcache
For exact steps visit Oracle Documentation here

– 

Configure 10.1.2 HTTP Server in front of 10.1.3 AS
1. Add 10.1.2 details in 10.1.3’s opmn.xml
2. Change 10.1.3 OC4J’s protocol to AJP if its listening on HTTP
3. Add oc4j mount points in mod_oc4j.conf of 10.1.2 HTTP Server
For exact steps visit Oracle Documentation Here

Things good to know
1. OC4j can listen on AJP/AJPS or HTTP/HTTPS protocol
—-If OC4J is listening on AJP/AJPS it can be accessed via HTTP Server sitting in front communicating to OC4J using mod_oc4j (Module added by Oracle in Apache Server)
—-If OC4J is listening on HTTP/HTTPS, means it can be accessed via this HTTP listener port of OC4J and no HTTP Server is required

2. 10.1.3 Oracle Application Server can be installed on Same Machine as 10.1.2 Oracle Application Server but these two should be in different Oracle HOME’s. or These two (10.1.2 and 10.1.3 OAS) can be installed on two different machines and integrated with each other.

3. If you are using WebCenter Suite (10.1.3.2) then additional steps are required to update Oracle ContentDB settings

4. If you get error message like

[Tue Feb 12 09:35:09 2008] [error] MOD_OC4J_0191: Missing information from OC4J notification.  ias-cluster:default, ias-instance:INSTANCE_NAME.MACHINE_NAME, hostname:MACHINE_NAME, opmnid:<NUMBER>, oc4j-instance:home, oc4j-island:default_group, ajp-host:-missing-, ajp-port:-missing-

ensure that 10.1.3 OC4J is listening on AJP protocol and not HTTP

5. If you get error message like
[Tue Feb 12 09:38:24 2008] [error] [client <IP>] [ecid: <number>,1] MOD_OC4J_0013: Failed to call destination: instance://<INSTANCE_NAME>. <MACHINE_NAME>:home’s service() to service the request.

ensure that Machine hosting 10.1.2 HTTP Server can resolve Machine hosting 10.1.3 OC4J

Related Docs

Download Oracle AS 10.1.3 Software from here
Installation Guide for 10.1.3 Click Here
Reconfigure 10.1.2.0.2 AS in front of 10.1.3.0.0 Click Here 
Reconfigure 10.1.2.0.2 AS in front of 10.1.3.2.0 WebCenter Click here  
457091.1  Continuously Repeated MOD_OC4J_0191 After Integrating OracleAS 10.1.2 and 10.1.3
433170.1  How to Configure Oracle Application Server 10.1.2 With Oracle Application Server 10.1.3
466017.1  Internal Server Error Using Mod_oc4j to Connect to OC4J From a Remote Oracle HTTP Server

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

4 comments
Scott.Rini says October 21, 2009

This is a great article and has pointed me in the right direction, but I’m in a slightly different situation.

I have servers with Oracle application server 10gR3 and I want to install Web Cache in front of it. The reason is because I’m having problems with sessions being recreated when using SSL. When a user switches from HTTP to HTTPS, it keeps their session the same. After they switch from HTTPS back to HTTP, a new session is created for them and they lose their session data.

I was thinking WebCache could fix this problem. Is it possible to install Web Cache on top of a 10gR3 install? Do you think this would fix my problem? Any help would be really appreciated.

Reply
qixin says March 6, 2010

I am fresh in developing Oracle e-Biz.

The post make me wonder if we can deploy and publish the service at OC4J (eg. oafm).
Also, do we need to adopt the suggested to be able to publish the web service on web?

Really appreciate your advice on how to deploy and develop this as we could not find clear
direction or scope from ISG Dev/Impl guide for Java WS. We do not use BPEL as it does
not require any changes on EBS functional process. Thanks.

Reply
oas_noob says November 16, 2011

Hello,

I am trying to configure SSL for oc4j container. (No webcache/ohs – just http server)
Do i need to to configure home with SSL in order to get the site SSL? (
I have container site , home and http_server running when I do opmnctl status.

Thanks for any info
Joe

Reply
Atul Kumar says November 16, 2011

@ oas_noob,
You are saying there is not webcache/ohs (oracle http server) just http server :

Does this means that you have OC4J and standalone http server . Request from users hit to standalone server which then forwards it to OC4J .

Your application is deployed on OC4J and you wish to configure SSL .

If this is the case then it depends on where you wish to configure SSL , is this

user -(ssl)–> http_server –(ssl)–> OC4J ?

If this is the case then you need to configure SSLon both http server and OC4j.

Reply
Add Your Reply

Not found