Cyrille VIVION wrote:
>
> Windows 2000 ; Rivet 0.5 ; Apache 1.3.33 ; ActiveTCL 8.4.11
> --> with this configuration the stdout problem does not appear but I have
> some troubles with concurrent connection (multithreading related).
Urhm... concurrent connections to Apache?
> I've download and compiled the TCL sources 8.4.11 (and even 8.4.9) with the
> multithreading activated.
> --> In this case I face the same problem, the stdout as disappeared :
>
> can not find channel named "stdout"
> while executing
> "puts -nonewline """
> (in namespace eval "::request" script line 2)
> invoked from within
> "namespace eval request {
> puts -nonewline ""
> ...
> By compiling again the sources without the multithread support, it works
> with the same limitations as with ActiveTCL (no concurrent conection). As
> French say : Fromage ou Dessert.
I am not clear on this. Tcl can handle lots of concurrent connections
using its built in select loop. So can Apache, at least on Unix... I'm
not sure about the architecture of Apache 1.3 on windows though... does
it only use threads?
> A work around would be to have one interpreter by connection, is it possible
> ?
On Unix, Apache 1.3 has child processes that each have a select loop to
accept connections. Each child process only has one Tcl interpreter
(well, plus any extras needed for Virtual Hosts).
> I invested weeks of work to port some legacy Vignette TCL code to Rivet.
> It's incredible to be blocked on this kind of simple problem. Do you have
> some ideas? You are my only hope.
Use Linux or some BSD system?:-) Joking aside, we'll do our best to get
you up and running.
--
David N. Welton
- http://www.dedasys.com/davidw/
Linux, Open Source Consulting
- http://www.dedasys.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]