Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Correct use of OCI driver proxy authentication with WebSphere application server

Correct use of OCI driver proxy authentication with WebSphere application server

From: <eugene_boulis_at_hotmail.com>
Date: 18 Jul 2006 12:35:57 -0700
Message-ID: <1153251357.762102.325690@75g2000cwc.googlegroups.com>


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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US