webcaching.guerrerotome.com

Just another WordPress weblog

Archive for October, 2007

Posted by Carlos Guerrero on October 26, 2007

Java HTTP web caches

For the next step in my Phd work I need to integrate a web cache tier with Jastor and the Performance and Behaviour Knowledge Base. To avoid the complete implementation of the tier I have been looking in sourceforge.net for some web cache tier Java system. The list of the tools I’ve found is:

  • Puff proxy
  • Pippo proxy
  • Smartcache
  • Open cache
  • Pet Http Proxy
  • Web cache for J2EE
  • S3C Simple Server-side cache

Now I will study the different options and I will choose one to use as base of my implementation. In some days I will explain my conclusions about each of that proxy-cache tools.

Posted by Carlos Guerrero on October 19, 2007

Install and Setup Oracle Application Sever Web Cache

* Donwload the software form the Oracle web site (http://www.oracle.com/technology/products/ias/web_cache/index.html and click in “Download Web Cache standalone install”).

* Check a network sufix and DNS domain exist or the installation will not be done.

* It’s important there is only one installation of the OracleAS Web Cache in the computer. If others are installed, before install the new, uninstall the others in the same Installation Dialog of the intallation program.

* Unzip and execute setup.exe

* During the installation only the administrator password is required. Remember it. The administrator username is allways “ias_admin”.

* Check the firewall doesn’t have restrictions over the ports used by OracleAS web cache. In the basic configuration OracleAS web cache use port 80 for http request and port 4000 for configuration pannel.

* Start OracleAS web cache. Start menu –> Oracle Application Server oracleas1 –> Oracle AS web cache –> Start Web Cache

* Information about the software is in: C:\OraHome_2/README.htm or at the web in http://otn.oracle.com/products/ias/web_cache/

* OracleAS is now installed and running

* Setup of the origin server, cache rules, and sites is needed. To configure the application open a browser and write: http://130.206.134.121:4000 (130.206.134.121 is the ip or the DNS of the computer where oracle is installed) and input the user name (ias_admin) and the user password.

* The changes in the setup or configuration of Oracle are:

  •  Origin Servers, Sites, and Load Balancing –> Origin Servers –> Change the value of the “host” and “port” to the host where the web application (apache) is installed.
  •  Origin Servers, Sites, and Load Balancing –> Site Definitions –> Change the value of the “host name” and “port” to the host where the web application (apache) is installed.
  • Rules for Caching, Personalization, and Compression –> Caching, Personalization, and Compression Rules –> Add a new rule for php files. A rule for file extensions, .php, for get and get with query string, caching policy:cache, compression:off, and enabled=yes.

* Once all the changes are done, in the top of the page a button to apply changes has to be execute. After apply the changes, it’s needed to restart the oracleAS web cache.