Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Correct use of OCI driver proxy authentication with WebSphere application server
Hi,
Has anyone used the Oracle OCI driver with Oracle 9i and WebSphere application server V 5.
Here is my code:
OracleOCIConnectionPool dataSource = (OracleOCIConnectionPool) ( new
InitialContext().lookup(jndiDataSource) );
Properties prop = new Properties();
prop.put( OracleOCIConnectionPool.PROXY_USER_NAME, "byee" );
OracleConnection oc = dataSource.getProxyConnection(
OracleOCIConnectionPool.PROXYTYPE_USER_NAME, prop );
The method call getProxyConnection fails and returns a null pointer.
If anyone knows what might have gone wrong, please let me know.
Thanks. Received on Tue Jul 18 2006 - 14:35:57 CDT