Print Thread
Can't stop TOracleEvent
#5876 01/08/04 05:46 PM
Joined: May 2002
Posts: 2
Denmark
M
Member
OP Offline
Member
M
Joined: May 2002
Posts: 2
Denmark
Hi

I have the following problem:

When I call the stop() method on the TOracleEvent component, the program just hangs. The call never returns.

I use Oracle 8.5 and client 9.0.

Hope that somebody can help me.

Martin

Re: Can't stop TOracleEvent
#5877 01/08/04 10:20 PM
Joined: Aug 1999
Posts: 22,224
Member
Offline
Member
Joined: Aug 1999
Posts: 22,224
Is this Oracle 8.0.5.0.0? In that case you will need to apply the 8.0.5.1.1 patch, which fixes several dbms_alert related issues.


Marco Kalter
Allround Automations
Re: Can't stop TOracleEvent
Marco Kalter #48563 01/31/14 09:48 AM
Joined: Aug 2013
Posts: 3
D
Member
Offline
Member
D
Joined: Aug 2013
Posts: 3
Problem is still here. DOA 4.1.2.0, delphi XE, Oracle 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production

When i call OracleEvent.Stop programm hangs. Then i see 3 sessions. First - Main App session. And two others Inactive and active. Now app turn back only if i call
sys.DBMS_ALERT.signal ('ALERT_NAME_REGISTRED_IN_CLOSING_EVENT', null);
Same happen when i just close form whith started OracleEvent

Last edited by Druching; 01/31/14 09:49 AM.
Re: Can't stop TOracleEvent
Druching #48602 02/14/14 03:41 PM
Joined: Jan 2010
Posts: 5
Southern California
V
Member
Offline
Member
V
Joined: Jan 2010
Posts: 5
Southern California
I had the same issue. If I remember correctly, I believe if you set the ThreadSafe of the Session to True this will correct the issue. There is an old post in the forum that references this issue.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.044s Queries: 14 (0.019s) Memory: 2.5092 MB (Peak: 3.0439 MB) Data Comp: Off Server Time: 2024-05-26 14:33:31 UTC
Valid HTML 5 and Valid CSS