Hi all,

I am getting troubles switching from AS3.2/Tcl7.6 to AS4.0/Tcl8.4.2

I have 3 pools configured in my config file : main, subquery and log.

Using nscp, when I run this code :

set a [ns_db gethandle main]
set b [ns_db gethandle subquery]

it runs fine under AS3.2/Tcl7.6, but crashes under AS4.0/Tcl8.4.2 saying :
thread already owns one handle from pool "subquery" on the second line !

It looks like the 3 pools are handled as the same pool under 4.0.
When I try "ns_db pools", I get "main subquery log" under 3.2 et 4.0 ...
so I am a little bit lost !

For info my config file looks like :


ns_section "ns/db/pools"
ns_param main         "Oracle8 main database"
ns_param subquery     "subquery"
ns_param log          "log"

ns_section "ns/server/fr.dev/db"
ns_param pools        *
ns_param defaultpool  main


Thanks a lot for any tip.

Best Regards.

Jean-Fabrice RABAUTE
Core Services
http://www.core-services.fr
Mob: +33 (0)6 13 82 67 67


--
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/

Reply via email to