dbTalk Databases Forums  

Correct use of OCI driver proxy authentication with WebSphere application server

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Correct use of OCI driver proxy authentication with WebSphere application server in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Correct use of OCI driver proxy authentication with WebSphere application server - 07-18-2006 , 02:35 PM






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.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.