简体   繁体   中英

Oracle Connection request timed out

I am getting the following error sometimes when there is new OracleConnection using Oracle Managed Driver libraries in .net

I want to know what type of this exception is , i need to handle it in catch block.

    Message:Connection request timed out Stack Trace: at
 OracleInternal.ConnectionPool.PoolManager`3.CreateNewPR(Int32 reqCount, Boolean bForPoolPopulation, ConnectionString csWithDiffOrNewPwd, String instanceName) at OracleInternal.ConnectionPool.PoolManager`3.Get(ConnectionString csWithDiffOrNewPwd, Boolean bGetForApp, String affinityInstanceName, Boolean
 bForceMatch) at OracleInternal.ConnectionPool.OraclePoolManager.Get(ConnectionString
 csWithNewPassword, Boolean bGetForApp, String affinityInstanceName, Boolean bForceMatch) at OracleInternal.ConnectionPool.OracleConnectionDispenser`3.Get(ConnectionString cs, PM conPM, ConnectionString pmCS, SecureString securedPassword,
 SecureString securedProxyPassword) at Oracle.ManagedDataAccess.Client.OracleConnection.Open() at ClientService.ClientService.AuthenticateUser(String subno, String pin,
 String version

Your problem related with using of pooling as default attribute in connection string. This issue discussed in detail in this document: http://docs.oracle.com/cd/E51173_01/win.122/e17732.pdf in "Using connection pooling" chapter.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM