Index: openacs-4/packages/acs-bootstrap-installer/installer.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer.tcl,v diff -u -r1.19 -r1.19.2.1 --- openacs-4/packages/acs-bootstrap-installer/installer.tcl 5 Jun 2006 00:02:36 -0000 1.19 +++ openacs-4/packages/acs-bootstrap-installer/installer.tcl 20 Feb 2007 17:01:21 -0000 1.19.2.1 @@ -394,6 +394,7 @@ # Some APM procedures use util_memoize, so initialize the cache # before starting APM install apm_source "[acs_package_root_dir acs-tcl]/tcl/20-memoize-init.tcl" + apm_source [acs_package_root_dir acs-tcl]/tcl/database-init.tcl apm_version_enable -callback apm_ns_write_callback [apm_package_install -callback apm_ns_write_callback "[file join [acs_root_dir] packages acs-kernel acs-kernel.info]"] Index: openacs-4/packages/acs-tcl/tcl/database-init.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/database-init.tcl,v diff -u -r1.2 -r1.2.2.1 --- openacs-4/packages/acs-tcl/tcl/database-init.tcl 28 Feb 2006 03:22:26 -0000 1.2 +++ openacs-4/packages/acs-tcl/tcl/database-init.tcl 20 Feb 2007 17:01:21 -0000 1.2.2.1 @@ -8,5 +8,8 @@ } +#DRB: the default value is needed during the initial install of OpenACS ns_cache create db_cache_pool -size \ - [parameter::get_from_package_key -package_key acs-kernel -parameter DBCacheSize] + [parameter::get_from_package_key \ + -package_key acs-kernel \ + -parameter DBCacheSize -default 50000]