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 -N -r1.17.2.3 -r1.17.2.4 --- openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 26 Nov 2003 09:58:14 -0000 1.17.2.3 +++ openacs-4/packages/acs-bootstrap-installer/installer/index.tcl 11 Dec 2003 02:12:26 -0000 1.17.2.4 @@ -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 -

     ns_section \"ns/threads\"
    -        ns_param StackSize [expr 128*1024]
    +        ns_param StackSize \[expr ${acs_application(min_stack_size)}*1024\]
     
    After adding support the larger stacksize, please restart your web server.

    "