My problem is that sometimes, when I quit my application, it keeps on running (it is still running according to Delphi).
I seem to be able to reproduce the error, at least most of the times it does not quit. However, if I run Oracle Monitor (Lite) in the background, it always works. At least I haven't been able to reproduce the error though I do the same clicks in my application.
My own test logs shows that the problem lies in this row:
OEvent.Stop;
...here is where it waits forever.
Relevant system facts:
Oracle version: 8.1.6.0.0 Enterprise
DOA version: 3.4.3
object OEvent: TOracleEvent
Session = OSession
ObjectType = otAlert
TimeOut = 0
Synchronized = True
KeepConnection = True
OnEvent = OEventEvent
Left = 176
Top = 88
end
object OSession: TOracleSession
Cursor = crHourGlass
DesignConnection = False
ConnectAs = caNormal
ThreadSafe = True
Preferences.FloatPrecision = 0
Preferences.IntegerPrecision = 0
Preferences.SmallIntPrecision = -1
Preferences.UseOCI7 = False
Preferences.ConvertCRLF = True
Preferences.TrimStringFields = True
Preferences.MaxStringFieldSize = 0
Preferences.ZeroDateIsNull = True
Preferences.NullLOBIsEmpty = False
Pooling = spNone
MTSOptions = [moImplicit, moUniqueServer]
Connected = True
RollbackOnDisconnect = False
NullValue = nvUnAssigned
SQLTrace = stUnchanged
OptimizerGoal = ogUnchanged
IsolationLevel = ilUnchanged
BytesPerCharacter = bc1Byte
Left = 144
Top = 88
end
I seem to be able to reproduce the error, at least most of the times it does not quit. However, if I run Oracle Monitor (Lite) in the background, it always works. At least I haven't been able to reproduce the error though I do the same clicks in my application.
My own test logs shows that the problem lies in this row:
OEvent.Stop;
...here is where it waits forever.
Relevant system facts:
Oracle version: 8.1.6.0.0 Enterprise
DOA version: 3.4.3
object OEvent: TOracleEvent
Session = OSession
ObjectType = otAlert
TimeOut = 0
Synchronized = True
KeepConnection = True
OnEvent = OEventEvent
Left = 176
Top = 88
end
object OSession: TOracleSession
Cursor = crHourGlass
DesignConnection = False
ConnectAs = caNormal
ThreadSafe = True
Preferences.FloatPrecision = 0
Preferences.IntegerPrecision = 0
Preferences.SmallIntPrecision = -1
Preferences.UseOCI7 = False
Preferences.ConvertCRLF = True
Preferences.TrimStringFields = True
Preferences.MaxStringFieldSize = 0
Preferences.ZeroDateIsNull = True
Preferences.NullLOBIsEmpty = False
Pooling = spNone
MTSOptions = [moImplicit, moUniqueServer]
Connected = True
RollbackOnDisconnect = False
NullValue = nvUnAssigned
SQLTrace = stUnchanged
OptimizerGoal = ogUnchanged
IsolationLevel = ilUnchanged
BytesPerCharacter = bc1Byte
Left = 144
Top = 88
end