Hi,
There was a bug fix after the beta 6 about db pools problems :
----------------
Fixed hash table initialization in IncrCount
to TCL_ONE_WORD_KEYS instead of TCL_STRING_KEYS.
---------------
To correct the bug in your source, the latest AOLServer CVS version, or just
change the "nsdb/dbinit.c" in your source file, changing the line :
Tcl_InitHashTable(tablePtr, TCL_STRING_KEYS);
into
Tcl_InitHashTable(tablePtr, TCL_ONE_WORD_KEYS);
int the "IncrCount(Pool *poolPtr, int incr)" function.
Then recompile and test if it correct your problem.
I hope this will help.
Best Regards.
Jean-Fabrice RABAUTE
Core Services
http://www.core-services.fr
Mob: +33 (0)6 13 82 67 67
-----Message d'origine-----
De : AOLserver Discussion [mailto:[EMAIL PROTECTED] la part
de Mohan Pakkurti
Envoy� : mardi 27 mai 2003 23:36
� : [EMAIL PROTECTED]
Objet : [AOLSERVER] openacs + aolserver 4 + solaris = db handle problems
hi!
I am trying to get OpenACS to work with aolserver4 on Solaris,
and am having problems with db handles. This happens only with
the aolserver4. The exact same sources work fine with aolserver3.
I am using aolserver 4 beta 6 + Openacs 4.6.3 + Solaris 8
Any ideas what could be the problem. Thanks for your help.
/Mohan
The error message looks like this:
[27/May/2003:23:25:55][12995.8][-conn:tulsi::2] Error: Error
sourcing /web/tulsi/packages/acs-bootstrap-installer/install
er/packages-install.tcl:
could not allocate 1 handle from pool "pool3"
while executing
"ns_db gethandle $pool"
invoked from within
"db_with_handle db {
set selection [db_exec select $db $full_statement_name $sql]
set result [list]
while { [db_getrow $db $selection] } {
se..."
(procedure "db_list_of_lists" line 8)
invoked from within
"db_list_of_lists get_function_args {}"
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list: http://www.aolserver.com/listserv.html
List information and options: http://listserv.aol.com/