Prevent new session to start after crash application

Posted by gdb390 on 02-Sep-2015 04:24

Hi,

Sometimes when an application crashes (for whatever reason) a new session is started.

Is there a way to prevent the new session to be started ?

Gerd 

All Replies

Posted by Mike Fechner on 02-Sep-2015 04:26

Can you clarify crashes?
 
The default behavior on a STOP condition (often seen as a crash by users) is that the same session restarts the startup procedure.
 
Is that what you are seeing?
Von: gdb390 [mailto:bounce-gdb390@community.progress.com]
Gesendet: Mittwoch, 2. September 2015 11:25
An: TU.OE.General@community.progress.com
Betreff: [Technical Users - OE General] Prevent new session to start after crash application
 
Thread created by gdb390

Hi,

Sometimes when an application crashes (for whatever reason) a new session is started.

Is there a way to prevent the new session to be started ?

Gerd 

Stop receiving emails on this subject.

Flag this post as spam/abuse.

Posted by gdb390 on 02-Sep-2015 04:34

An example : when updating a pl file, we noticed that the orginal pl can not be in use by another user.

The application gives an error, stops (or crashes) and the startup procedure is restarted.

We also noticed that some super procedures in the new session are not correctly started

that 's why we want to prevent the session to be restarted

Posted by Mike Fechner on 02-Sep-2015 04:50

Did you try to add an ON STOP UNDO, LEAVE on the most outer block in the startup procedure?
Von: gdb390 [mailto:bounce-gdb390@community.progress.com]
Gesendet: Mittwoch, 2. September 2015 11:35
An: TU.OE.General@community.progress.com
Betreff: RE: [Technical Users - OE General] Prevent new session to start after crash application
 
Reply by gdb390

An example : when updating a pl file, we noticed that the orginal pl can not be in use by another user.

The application gives an error, stops (or crashes) and the startup procedure is restarted.

We also noticed that some super procedures in the new session are not correctly started

that 's why we want to prevent the session to be restarted

Stop receiving emails on this subject.

Flag this post as spam/abuse.

Posted by gdb390 on 02-Sep-2015 04:50

I'll try that ! Thanks !

Posted by cverbiest on 02-Sep-2015 04:56
Posted by gdb390 on 02-Sep-2015 05:15

+1 Done  !

This thread is closed