php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #850 pconnects fail if database has released session
Submitted: 1998-10-15 17:33 UTC Modified: 1999-10-03 06:34 UTC
From: peter dot lerner at bayreuth dot baynet dot de Assigned: kara (profile)
Status: Closed Package: Adabas-D related
PHP Version: 3.0.4 OS: Linux 2.0.35
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: peter dot lerner at bayreuth dot baynet dot de
New email:
PHP Version: OS:

 

 [1998-10-15 17:33 UTC] peter dot lerner at bayreuth dot baynet dot de
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?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-03 06:34 UTC] kara at cvs dot php dot net
Disable auto logoff on serverside
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC