Posted By: Consinco Argument out of range - 09/19/13 09:09 PM
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.
Posted By: Marco Kalter Re: Argument out of range - 09/20/13 10:20 AM
When exactly do you get this error message?
Posted By: Consinco Re: Argument out of range - 09/20/13 09:41 PM
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


© Allround Automations forums