Oracle Error ORA-24396: invalid attribute set in server handle

Oracle Error Message

ORA-24396: invalid attribute set in server handle

Reason for the Error

Attribute OCI_ATTR_NONBLOCKING_MODE has been set on the server handle and attached in OCI_POOL mode. Connection pooling does not support non blocking mode.

Solution

Do not set the OCI_ATTR_NONBLOCKING_MODE attribute on the server handle while attaching in OCI_POOL mode.