The old database I used to use, would require this when for some reason witango would burp or lost connection. It was very frustrating, but I never found a way to just stop that one thread from the witango side. It should be noted, that other dbs don't require this. Both MS SQL 2000 and MySQL don't have this problem. I can reboot mysql, and leave witango alone, and it will reconnect. This led me to realize, it is more of an issue with the ODBC driver/ db from the vendor. I experimented with other code and found this to be the case, outside of witango.

What database do you use?

--

Robert Garcia
President - BigHead Technology
VP Application Development - eventpix.com
13653 West Park Dr
Magalia, Ca 95954
ph: 530.645.4040 x222 fax: 530.645.4040
[EMAIL PROTECTED] - [EMAIL PROTECTED]
http://bighead.net/ - http://eventpix.com/

On Oct 1, 2007, at 1:20 PM, Shannon Henderson wrote:

Does anyone know if it is possible to kill open database connections without restarting the witango server process? We've had some cases lately where a connection will fail somewhere between the witango server and the database server. Everything but witango recognizes that the session is dead and ditches it. Rather than starting a new session, witango just keeps returning "113 Unable to communicate with the specified data source. The existing connection was lost." on the old session until the datasource timeout kicks in.

The problem is that the some other sessions are often fine, so I hate to kill off everything if I can tell that there are specific dead sessions.




--------------------------------------------------------------------
Shannon Henderson
Web Support Services
Reed College
Portland, OR 97202-8199
[EMAIL PROTECTED]
--------------------------------------------------------------------


______________________________________________________________________ __
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf


________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to