| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> OCCI Connection Pool on Oracle RAC
Hi,
In a OCCI program I use a connection pool to connect to a Oracle RAC with two instances:
. . .
		if ( env_general == NULL )
		{
			//env_general =
Environment::createEnvironment(Environment::OBJECT);
			env_general =
Environment::createEnvironment(Environment::THREADED_MUTEXED);
		}
		if (connPool_general == NULL)
			connPool_general = env_general->createConnectionPool(poolUserName,
poolPassword,
							 connectString, minConn, maxConn, incrConn);
I connect with:
conn = connPool_general->createConnection (user, passwd);
When there is a instance change I loss the connection. Is it a Oracle configuration problem or must I resume the connection calling "terminateConnectionPool" and "createConnectionPool" again ?
Thanks in advance,
Jose Luis
Received on Tue Sep 27 2005 - 06:38:04 CDT
![]()  | 
![]()  |