Index: openacs-4/packages/acs-bootstrap-installer/installer/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-bootstrap-installer/installer/index.tcl,v diff -u -r1.17 -r1.18 --- openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 14 Oct 2003 16:19:59 -0000 1.17 +++ openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 11 Dec 2003 18:02:26 -0000 1.18 @@ -71,7 +71,7 @@ set acs_application(name) [apm_required_attribute_value $root_node name] set acs_application(pretty_name) [apm_attribute_value -default $acs_application(name) $root_node pretty-name] set acs_application(home) [apm_attribute_value -default "" $root_node home] - + set acs_application(min_stack_size) [apm_attribute_value -default 128 $root_node min_stack_size] append body "
The installer will automatically install the $acs_application(pretty_name) application after the basic OpenACS tookit has been installed. @@ -83,6 +83,11 @@ $acs_application(pretty_name) home page " } +} else { + set acs_application(name) openacs + set acs_application(pretty_name) OpenACS + set acs_application(home) "" + set acs_application(min_stack_size) 128 } set error_p 0 @@ -183,22 +188,20 @@ set error_p 1 } -# AOLserver must have a large stack size (at least 128K) +# AOLserver must have a large stack size (at least 128K by default, or the value specified +# in the install.xml file) + set stacksize [ns_config "ns/threads" StackSize] -if { $stacksize < [expr 128 * 1024] } { +if { $stacksize < [expr $acs_application(min_stack_size) * 1024] } { - append errors "
The configured AOLserver Stacksize is too small ($stacksize). -OpenACS requires a StackSize parameter of at least 131072 (ie 128K). -Please add the following to your AOLserver configuration file or -see the Installation Guide for more information.
+ append errors "
The configured AOLserver Stacksize is too small +([expr $stacksize / 1024]K). +$acs_application(pretty_name) requires a StackSize parameter of at least +${acs_application(min_stack_size)}K. +
Please add the following line to your .tcl configuration file
--\[ns/threads\] -stacksize=131072 -
If you use a .tcl configuration file, add -
After adding support the larger stacksize, please restart your web server. " @@ -275,6 +278,9 @@ set system_url "http://yourdomain.com" } + set email_input_widget [install_input_widget \ + -extra_attributes "onChange=\"updateSystemEmails()\"" \ + email] append body "ns_section \"ns/threads\" - ns_param StackSize [expr 128*1024] + ns_param StackSize \[expr ${acs_application(min_stack_size)}*1024\]
The OpenACS data model is already installed. Click Next to scan the available packages. - + [install_next_button "packages-install"] " }