|
Hi, I am developing a web application where i create AS400JDBCConnectionPool for creating a connection pool when starting the application, But when the password is about to expire for the User id which i am using to create the connection pool, the application hangs and does not start, actually it is trying to throw a window asking the user to change the password, but since i am starting the server remotely i dont see this window.. So how do i supress this, what i want to do is stop the change password window if the password is about to expire and throw exception if password is expired here is the code i am using to create the pool AS400JDBCConnectionPoolDataSource dataSource = new AS400JDBCConnectionPoolDataSource(ip,userId, password); dataSource.setDateFormat("iso"); dataSource.setTimeFormat("hms"); dataSource.setNaming("system"); dataSource.setTranslateBinary (true); dataSource.setLibraries(libraryList); AS400JDBCConnectionPool pool = new AS400JDBCConnectionPool(dataSource); pool.fill(minConnection); ===== A$HI$H __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.