1. Brindha Duraisingh
  2. PowerBuilder
  3. Monday, 22 March 2021 16:53 PM UTC

Hi All,

below error is being thrown when the powerbuilder 2019 application is left idle in WIN10.

ct_cmd_alloc(): user api layer: external error: The connection has been marked dead.

we didn't face this problem with PB12.9. 

my application has a timeout defined as 90 mins, but this DB connection failure makes the application session to disconnect in less than an hour.

 

does anyone else has faced similar DB disconnection issue? please suggest a sollution.

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 22 March 2021 19:50 PM UTC
  2. PowerBuilder
  3. # 1

Hi Brindha;

   This error normally (AFAIK) occurs when the Database / DBMS connection has been broken. This  error can also be caused when a long running DML request has been executed and the DBMS times out. Depending on the DBMS server type and its settings, it may just truncate the session.

   My advise would be to check the DBMS server logs and see if there is a corresponding log entry in the DBMS Server logs around the time that your PB App(s) get this error. If so, you might have to have your DBA team "tweak" the server settings.

HTH

Regards ... Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.