×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Hi
Is it possible to find which library user is not
authorized while creating JDBC connection.
It creates a connection but gives error saying library
list not set bcause of authority issue.
Here is the code i am using

AS400JDBCConnectionPoolDataSource dataSource = new  
AS400JDBCConnectionPoolDataSource(ip,userId,
password);
         dataSource.setDateFormat("iso");
         dataSource.setPrompt(false);
         dataSource.setTimeFormat("hms");
         dataSource.setNaming("system");
         dataSource.setErrors("full");
         dataSource.setTrace(true);
         dataSource.setTranslateBinary (true);
         dataSource.setLibraries(libraryList);

         AS400JDBCConnectionPool pool = new
AS400JDBCConnectionPool(dataSource);
         pool.fill(minConnection);
         return pool;



A$HI$H

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.