niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » Oracle
Correct use of OCI driver proxy authentication with WebSphere application server
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
eugene_boulis@hotmail.com
*nix forums beginner


Joined: 18 Jul 2006
Posts: 1

PostPosted: Tue Jul 18, 2006 7:35 pm    Post subject: Correct use of OCI driver proxy authentication with WebSphere application server Reply with quote

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.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Thu Jan 08, 2009 6:52 am | All times are GMT
navigation Forum index » Databases » Oracle
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Postfix fatal authentication errors! JamesMaxwell Postfix 0 Tue Oct 28, 2008 3:37 pm
No new posts postfix smtp authentication using mysql stored user/pass rtresidd Postfix 0 Fri Oct 03, 2008 5:58 am
No new posts Transfer qmail email account to postfix server tallman Postfix 0 Thu Jun 05, 2008 12:43 pm
No new posts Insert header and footer in every page served by proxy ehmedk Apache 0 Tue Apr 22, 2008 6:27 pm
No new posts NFS server on Solaris 10 gurgle Solaris 0 Tue Sep 04, 2007 7:05 pm

Debt Consolidation | Debt Consolidation | Pocket PC Shareware | Guitar Lessons | Free SMS
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1480s ][ Queries: 16 (0.0859s) ][ GZIP on - Debug on ]