Oracle Error ORA-24484: Setting authentication handle not allowed after pool create

Oracle Error Message

ORA-24484: Setting authentication handle not allowed after pool create

Reason for the Error

An attempt was made to set the authentication handle on session pool handle after OCISessionPoolCreate.

Solution

Set the authentication handle on session pool handle before calling OCISessionPoolCreate.