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 -

     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.

    " @@ -275,6 +278,9 @@ set system_url "http://yourdomain.com" } + set email_input_widget [install_input_widget \ + -extra_attributes "onChange=\"updateSystemEmails()\"" \ + email] append body "

    System Configuration

    @@ -304,27 +310,27 @@ Email: - +$email_input_widget Username: - \[*\] + [install_input_widget username] First Name: - + [install_input_widget first_names] Last Name: - + [install_input_widget last_name] Password: - + [install_input_widget -size 12 -type password password] Password (again): - + [install_input_widget -size 12 -type password password_confirmation] @@ -333,42 +339,43 @@ System URL: -
    -The canonical URL of your system.

    + [install_input_widget system_url]
    +The canonical URL of your system as visible from the outside world
    +Usually it should include the port if your server is not on port 80

    System Name: -
    + [install_input_widget system_name]
    The name of your system.

    Publisher Name: -
    + [install_input_widget publisher_name]
    The legal name of the person or corporate entity responsible for the site.

    System Owner: -
    + [install_input_widget system_owner]
    The email address signed at the bottom of user-visible pages.

    Admin Owner: -
    + [install_input_widget admin_owner]
    The email address signed on administrative pages.

    Host Administrator: -
    + [install_input_widget host_administrator]
    A person whom people can contact if they experience technical problems.

    Outgoing Email Sender: -
    + [install_input_widget outgoing_sender]
    The email address that will sign outgoing alerts. New Registration Email: -
    + [install_input_widget new_registrations]
    The email address to send New registration notifications.

    @@ -394,7 +401,7 @@ } else { append body "

    The OpenACS data model is already installed. Click Next to scan the available packages. - + [install_next_button "packages-install"] " }