Forum OpenACS Q&A: Response to DB handle error met in filter

Collapse
Posted by Robert Ezman on
I have an old version of OpenACS running and am also not sure which one you're running so I'll tell you what I would do if I had the same problem.

If you go to the main tcl directory for your OpenACS site. (probably /web/your_server/tcl)

From that directory do a grep on ns_register_proc (If you want to get a more in depth explanation of the function you can check out this url: Sites That Are Really Programs or the AOLServer documentation). In essence it registers a tcl procedure to handle a certain url. Within the system there are various procedures that handle various things. Eg. on my system ad_server_html_page is registered to html pages.

It's possible that, that registered function or any number of other registered functions grabs a "log" pool db handle and doesn't release it.

Now just as an aside.... if you just want debug logging you can use the ns_log functionality to print stuff into you server log.