OCI Invalid Handle error
Posted: Thu 17 May 2012 15:58
I'm not sure this is a Devart issue or not, but I thought I'd check to see if anyone else is seeing this behavior.
We have a WCF service app (hosted as a windows service), running on two windows 2008 R2 servers, that connects to an Oracle cluster. This morning we started getting "OCI Invalid Handle" errors from one of the servers running the WCF service app. The interesting piece of this is the very first error...
Message: Server did not respond within the specified timeout interval
Stack Trace: at Devart.Data.Oracle.a3.a(z A_0, ai A_1)
at Devart.Data.Oracle.OracleInternalConnection..ctor(z connectionOptions, OracleInternalConnection proxyConnection)
at Devart.Data.Oracle.cs.a(k A_0, Object A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, k A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
at Devart.Common.DbConnectionFactory.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at Platform.DataAccess.RFConnection.Open()
Then, we get this error for every command sent to the database, until the app is restarted.
Message: OCI invalid handle.
Stack Trace: at Devart.Data.Oracle.ah.b(Int32 A_0)
at Devart.Data.Oracle.a3.d()
at Devart.Data.Oracle.OracleInternalConnection.Commit()
at Devart.Data.Oracle.OracleConnection.Commit()
at Platform.DataAccess.RFConnection.Commit()
The service continued to throw the "OCI Invalid Handle" errors until we restarted it. Now it's running fine without errors. The timeout is likely due to a database server issue. But, the thing that concerns me is the OCI errors continued happening until we restarted the application.
Has anyone seen this behavior? Why would the timeout error cause all of these OCI errors?
Thanks!
We have a WCF service app (hosted as a windows service), running on two windows 2008 R2 servers, that connects to an Oracle cluster. This morning we started getting "OCI Invalid Handle" errors from one of the servers running the WCF service app. The interesting piece of this is the very first error...
Message: Server did not respond within the specified timeout interval
Stack Trace: at Devart.Data.Oracle.a3.a(z A_0, ai A_1)
at Devart.Data.Oracle.OracleInternalConnection..ctor(z connectionOptions, OracleInternalConnection proxyConnection)
at Devart.Data.Oracle.cs.a(k A_0, Object A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionFactory.a(DbConnectionPool A_0, k A_1, DbConnectionBase A_2)
at Devart.Common.DbConnectionPool.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionPool.GetObject(DbConnectionBase owningConnection)
at Devart.Common.DbConnectionFactory.a(DbConnectionBase A_0)
at Devart.Common.DbConnectionClosed.Open(DbConnectionBase outerConnection)
at Devart.Common.DbConnectionBase.Open()
at Devart.Data.Oracle.OracleConnection.Open()
at Platform.DataAccess.RFConnection.Open()
Then, we get this error for every command sent to the database, until the app is restarted.
Message: OCI invalid handle.
Stack Trace: at Devart.Data.Oracle.ah.b(Int32 A_0)
at Devart.Data.Oracle.a3.d()
at Devart.Data.Oracle.OracleInternalConnection.Commit()
at Devart.Data.Oracle.OracleConnection.Commit()
at Platform.DataAccess.RFConnection.Commit()
The service continued to throw the "OCI Invalid Handle" errors until we restarted it. Now it's running fine without errors. The timeout is likely due to a database server issue. But, the thing that concerns me is the OCI errors continued happening until we restarted the application.
Has anyone seen this behavior? Why would the timeout error cause all of these OCI errors?
Thanks!