Hi,
I am working with TOrAlerter with EventType := etAlert and it works fine. But if I stop the database or disconnect the LAN connection the application hangs between the events ORASession.BeforeDisconnect and ORASession.AfterDisconnect.
Without activating the alerter it works well.
I am using
Delphi2006/ODAC 8.1.4
Thanks for your help.
Problem with alerter when session disconnect unexpeced
Sorry, I was too optimistic. If I do not reconnect and close my application an exception is thrown while destroying the form. Here is the stack output
:0051ce18 TOCICommand.RaiseError + $20
:0051d00c TOCICommand.CheckSession + $68
:0051e2f2 TOCICommand.Prepare + $12
:0052769a TOCICommand.DoExecute + $22
:00527809 TOCICommand.Execute + $F1
:0053b582 TOCIAlerter.SendAlertMessage + $17E
:0053a261 TOCIAlerter.SendEvent + $45
:0053bb1b TOCIAlerterListenThread.Terminate + $67
:0053a8ae TOCIAlerter.Stop + $1E
:00554d0f TDAAlerter.Stop + $17
:00428aba TComponent.DestroyComponents + $4A
I'm thankful for every idea.
:0051ce18 TOCICommand.RaiseError + $20
:0051d00c TOCICommand.CheckSession + $68
:0051e2f2 TOCICommand.Prepare + $12
:0052769a TOCICommand.DoExecute + $22
:00527809 TOCICommand.Execute + $F1
:0053b582 TOCIAlerter.SendAlertMessage + $17E
:0053a261 TOCIAlerter.SendEvent + $45
:0053bb1b TOCIAlerterListenThread.Terminate + $67
:0053a8ae TOCIAlerter.Stop + $1E
:00554d0f TDAAlerter.Stop + $17
:00428aba TComponent.DestroyComponents + $4A
I'm thankful for every idea.