Bug #850: pconnects fail if database has released session
| From: | peter dot lerner at bayreuth dot baynet dot de | Date: | Thu, 15 Oct 1998 21:33:30 +0000 |
| Subject: | Bug #850: pconnects fail if database has released session | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-1853@lists.php.net to get a copy of this message | ||
From: peter.lerner@bayreuth.baynet.de
Operating system: Linux 2.0.35
PHP version: 3.0.4
PHP Bug Type: Adabas-D related
Bug description: pconnects fail if database has released session
using php3 (phplib5) / apache 1.3.2 and adabas-d i noticed some annoying behaviour with pconnects.
pconnects are established o.k. and you can use them.
but you can only use them for a while ... until adabas
explicitly releases the session after some timeout.
SQL error: [SOFTWARE AG][ODBCLIB A][ADABAS]Communication link failure;-807 CONNECTION DOWN,
SESSION RELEASED.
the explanation reads as follows ...
-807 CONNECTION DOWN, SESSION RELEASED
Erläuterungen:
Alle Datenbankverbindungen wurden mit RELEASE abgeschlossen.
<explanation: database connection was finished with RELEASE>
Benutzerreaktion:
Eine neue Verbindung ist mit CONNECT aufzubauen.
<user reaction: reconnect to database with CONNECT>
workaround: restart apache, then all connections work o.k.
until the next session timeout from adabas.
could this error condition be checked by php3 and the database
automatically reconnected, if there is any need?
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net