Setup For Web Object Cache


Installation on iAS with OC4J

NOTE: the Web Object Cache examples require the Java Object Cache's cache.jar
      which is installed with Oracle9iAS. The file system cache examples 
      will run without configuring Java Object Cache.

1) For the file system cache demos,

 -  edit the wcache.xml file in <your_installation_root>/demo/ojspdemos/ojspdemos-web/WEB-INF and change
   the value (param-value) of reporoot to a temporary working directory 
   which exists in your file system.
   
   <init-param>
   <param-name>reporoot</param-name>
   <param-value>/work/temp/reporoot</param-value>
   </init-param>

2) For the Java Object Cache examples,

 - make sure <javacache-config path="./<your_jcache_config>.xml" /> tag is in server.xml .
 - make sure that the Java Object Cache's cache.jar is available in the <your_installation_root>/javacache/lib directory.
  
 - If any changes are made restart your web server
      java -jar oc4j.jar 

3) XML Dom object caching

   Please make sure the database connection string you provide for this
   demo is a valid one.