20100305 oracle webcache maintenance mode - plembo/onemoretech GitHub Wiki

title: Oracle WebCache Maintenance Mode link: https://onemoretech.wordpress.com/2010/03/05/oracle-webcache-maintenance-mode/ author: lembobro description: post_id: 182 created: 2010/03/05 00:22:22 created_gmt: 2010/03/05 00:22:22 comment_status: open post_name: oracle-webcache-maintenance-mode status: publish post_type: post

Oracle WebCache Maintenance Mode

Really bad title, but you get the idea. Here’s the scenario. You’ve got an Oracle 10g AS Portal fronted by Oracle 10g AS WebCache and the database is coming down for patching. If this were your standard Apache HTTP Server in front of JBoss or Weblogic, you’d probably just insert an .htacess file with a redirect or change the proxy info in httpd.conf to go to a maintenance page.

But this is Oracle, and for once there’s actually an elegant solution.

First, make yourself a nice maintenance.html page and stick it under $ORACLE_HOME/webcache/files. Then go into the WebCache Manager console and define this as your network error page. Remember to hit Apply, Propagate to any clustered partners and Restart.

Finally, open up Origin Servers in the Manager console and select DISABLED in the Routing field. This will cause the server to deliver that new network error page you designed.

See the WebCache doc here for more.

Copyright 2004-2019 Phil Lembo