eugene_boulis@hotmail.com *nix forums beginner
Joined: 18 Jul 2006
Posts: 1
|
Posted: Tue Jul 18, 2006 7:35 pm Post subject:
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. |
|