Oracle Web Cache

What is Oracle Web Cache ?
Oracle web cache is component of 10g Application Server which is installed by default with Portal & Wireless or BI & Forms type Installation. You can also install standalone webcache for J2ee & webcache applications or to configure webcache with Oracle Applications 11i.

Why I need Web Cache ?
As name suggest web cache act as Cache for Web Servers including Oracle Application Server 9i, 10g to cache frequently used static & dynamic pages. Web Cache is used for increasing response time of your site by caching frequently used partial / full page , images, pdf. Web cache can also act as Software Load balancer or Reverse Proxy Server or Front end to your Applications to Hide server name.

Is Web Cache configurable & Certified with Apps 11i ?
Yes, Web cache can be configured with Apps 11i as reverse proxy server (for security) and Failover & Surge Protection (To minimize downtime) .
*Web Cache can’t be used as Load balancer for E-Business Suite as its not possible to set session stickyness in Webcache. (Thanks to Gaurav for pointing this out)

Check Metalink Note 306653.1 Installing and Configuring Web Cache 10.1.2 and Oracle E-Business Suite 11i

How to start / stop webcache ?
To start/stop webcache with 10g AS, use
opmnctl startprocstopproc ias-component=WebCache
For standalone J2ee & Webcache Installation use
webcachectl startstop

How to troubleshoot Webcache Issues ?
Webcache logs are at $ORACLE_HOME/logs event_logs & access_log , all issues errors are recorded in event_logs so check this file any issues related to Webcache .

Related

Webcache FAQ at Oracle Site

If you can’t figure out raise it in forum dedicated to Apps DBA’s at

http://teachmeOracle.com/forum

About the Author Atul Kumar

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

follow me on:

Leave a Comment:

16 comments
mano says December 20, 2006

can u tell me about oracle’s top link.. why do we go it..

Reply
mano says December 20, 2006

can u tell me about oracle’s top link.. why do we go it..

Reply
Atul Kumar says December 20, 2006

Mano,
Are you talking about TopLink Persistence Framework ?

Atul

Reply
Anonymous says December 26, 2006

When u say Fusion middleware expert, does that mean u work on Oracle Fusion as well? i guess its still under development. Or it means something else??? was just curious…

Reply
Atul Kumar says December 26, 2006

There are two fusion projects running in parallel in Oracle, Fusion Middleware consist of oracle application server , collaboration suite , IM , soa suite , data hubs (anything apart from database) .

What you are talking about which is still in development, is Fusion Applications (ERP)

Atul

Reply
Guarav says September 6, 2007

Hi Atul
I don’t Web Cache can be used as a software load balanceer with E-biz as Oracle doesn’t support any kind of S/f load balancing. It will act as a s/f load balancer but not excatly load balancer. Refer Section 7 of NOTE.306653.1 “Configuring Oracle Web Cache solely as a software load balancer by specifying the parameter “LOADBALANCE ON=”YES”” in the web cache configuration file “internal.xml” is not supported for Oracle E-Business Suite 11i and also this setting is not intended for Oracle E-Business Suite 11i. “

Reply
Atul Kumar says September 6, 2007

Hi Guarav, Yes you are right Webcache can’t be used for Loads balancing with Apps / E-Business Suite as its not possible to maintain session stickyness in Webcache which is required for Apps Load Balancer. I have updated it accordingly.

Reply
Atul says October 17, 2007

Hi Atul,

i am new to 10g AS and now i am working on that. i am going through all your posts. but i have one doubt that, can i know what components have been installed in this server.i mean to ask , is there any command to know this.

Regards,
sam

Sam,
You can use iASConsole to check list of component install or under $ORACLE_HOME/install there is file which will list component installed. Do let me know if you need file name

Reply
sam says October 19, 2007

Hi Atul,

are u talking about portlist.ini ? as i know, in that file, we ll get port number of all components eventhough if u have nt installed any componet , bcoz oracle reserve that port number for future.

And if u are talkin about setupinfo.txt , then as i know there we only get the accurate URL for the server.

And if u are talkin about any other file under $ORACLE_HOME/install, then plz let me know that.

thanx,
sam

Reply
Atul says October 19, 2007

Sam,
Yes you are right but by default Oracle installer will install all component of that type (Infra/Mid) but only enable one you want to use and selected during install.

For type of component you installed check $ORACLE_HOME/config/ias.properties and you should see entry like

Middle Tier
————-
InstallType=Business
Components=Apache,J2EE,WebCache,JServ,Portal,Wireless,Discoverer,Personalization,Reports,Forms

Infra Tier
———-
InstallType=Infrastructure
Components=Apache,J2EE,JServ,SSO,OID,DAS,DIP,OCA

To check list of component you are using check iAS console (http://host.ddomain/em_port/emd )
Please note em_port is different from webcache or http server port and you can find this in portlist.ini

Reply
sam says October 20, 2007

thanx Atul.

Reply
jskishor says September 17, 2008

Hi Atul,

I am new to AS administration, I would like to know how to identify where the IM and MR are installed? if MR installed on the same machine or some other machine?

Thanks
Kishore

Reply
Atul says September 17, 2008

If you are using Oracle Portal, Wireless then IM & MR is must.

To confirm which component are installed check $ORACLE_HOME/config/ias.properties file

entry like

InstanceNamesList=
IASpassword=05fab3880f0127a3f90b066c52d05eac268520d758c7090046
IASSvcpassword=
UserName=
InfrastructureUse=true
DatabaseManagedClusterSupport=true
OIDhost=
OIDport=389
OIDsslport=636
SSLOnly=false
VirtualHostName=
InfrastructureInstallOnRAC=false
JRERuntime=
JRELocation=
[InfraStructureDatabase]
InfrastructureDBCommonName=
[EMConfigData]
IMAdminSupported=True
IMServerLocConfigurable=True
IMReposAdminSupported=False
CentralAdminSupported=True
MRAdminSupported=True
FarmAdminSupported=False

Entry like above specially InfrastructureUse=true
means I am using IM + MR

Reply
ashrafias@gmail.com says January 19, 2012

Hi Atul

We are planning to use webcahce 10g (10.1.2 ) as loadbalancer for OBIEE 10g .
And later we are planning to upgrade OBIEE10g to OBIEE11G .will there be any compatibility issue with webcache ,if we upgrade obiee10g to obiee11g ..

Thanks
Ashraf

Reply
Atul Kumar says January 20, 2012

@ ashrafias@gmail.com,
Technically it should be OK but for support check Oracle Support team

Reply
vsujeet says June 22, 2012

Hi Atul

Can you please help to confirm if I can safely delete access_log *& event _log files
from ../OAS_MID/webcache/logs directory

There are currently 6 G and 3 G each

Is it safe to delete this while application server is running OR do I need to stop it ?

Can I just delete this using rm command and Applciation server will re-create it
OR do I need to create blank acces_log and event_log

Please help

Reply
Add Your Reply