Print Thread
Argument out of range
#47874 09/19/13 09:09 PM
Joined: Sep 2013
Posts: 14
S
C
Member
OP Offline
Member
C
Joined: Sep 2013
Posts: 14
S
After enabling POOL started getting this message "Argument out of range" eventually, there any relation?

More information, some sessions are configured to "AutoCommit = True", this problem occurs when destroying the connection, return to the POOL.

Re: Argument out of range
Consinco #47877 09/20/13 10:20 AM
Joined: Aug 1999
Posts: 22,208
Member
Offline
Member
Joined: Aug 1999
Posts: 22,208
When exactly do you get this error message?


Marco Kalter
Allround Automations
Re: Argument out of range
Marco Kalter #47881 09/20/13 09:41 PM
Joined: Sep 2013
Posts: 14
S
C
Member
OP Offline
Member
C
Joined: Sep 2013
Posts: 14
S
This occurs when the component is released "OracleSession.free" eventually, log exception:

[Linked Image]

Exception:
Type: EArgumentOutOfRangeException
Message: Argument out of range.

My connection pool:

OracleSessionPool := TOracleSessionPool.Create(nil);
with OracleSessionPool do begin
Homogeneous := True;
Max := 300;
Min := 10;
PoolType := ptDefault;
TimeOut := 30;
end;

My session:

FConnection := TOracleSession.Create(nil);
with FConnection do begin
Pool := OracleSessionPool;
Cursor := crDefault;
AutoCommit := True;
RollbackOnDisconnect := True;
end;

Delphi XE3 Version: 17.0.4625.53395
DOA 4.1.3.3




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.022s Queries: 15 (0.005s) Memory: 2.5015 MB (Peak: 3.0380 MB) Data Comp: Off Server Time: 2024-05-05 14:26:51 UTC
Valid HTML 5 and Valid CSS