Hi Ramesh, I don't know if anybody's ever used Rivet with threads and mpm. Where I use Rivet, we use the forking model for Apache.
You can link Rivet to Tcl with thread support, and you can probably create and manage Tcl threads inside the httpd process, but I don't see anything after a quick read of the source that there are hooks to support threaded Apache. So try it without the worker mpm and see what happens. Also look in your Apache error log, whatever it's called, maybe /var/log/httpd-error.log or whatever you've configured it to, see if there's more information from Tcl, like a traceback. On Feb 6, 2011, at 7:37 PM, Ramesh Venkitaswaran wrote: > Hello > I'm running Apache 2.2.17, tcl 8.5.9 and rivet 2.0.2 on Debian Lenny > 32 bit. I have compiled all three of them from source. Tcl is compiled > with threads, Apache is compiled with the worker mpm. > > I have the following directives in httpd.conf to enable rivet. > > LoadModule rivet_module /opt/httpd/modules/mod_rivet.so > AddType application/x-httpd-rivet rvt > AddType application/x-rivet-tcl tcl > > Apache seems to startup correctly with this message indicating that > Rivet's configured. > > Apache/2.2.17 (Unix) Rivet/2.0.2 configured -- resuming normal operations > > Now, when I attempt to run one of the rivet example files (I'm running > the included env.rvt from the tests directory), I get this error in > the logs. The web browser gives me a "400 Bad Request" > > [error] (20014)Internal error: Could not create request namespace > > Any ideas on where to start looking for to debug this problem? I was > unable to turn up anything on google. > > [please Cc me, as I'm not subscribed to the list. Thank you] > -- > rv > > --------------------------------------------------------------------- > To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org > For additional commands, e-mail: rivet-dev-h...@tcl.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org