I just tested this on NT ( JDK 1.2.1 - Intersolv JDBC 2.0 drivers ) and it works fine, I immediately get an SQLException which says "Login failed". The stack trace shows that the Exception originates deep inside the Intersolv JDBC drivers, so this makes me wonder if your JDBC drivers on Solaris may be the problem? - Tormod Hystad Developer, CatalystOne as Jaman Burton [SMTP:[EMAIL PROTECTED]] skrev Friday, April 30, 1999 6:15 PM: > Anyone out there ever have a problem with the DriverManager class not > throwing exceptions? > > For instance this code fragment SHOULD thrown an exception if the > username and password is invalid at the designated URL. > > this.connection = DriverManager.getConnection(this.dbURL, > this.userID, this.password); > > It does throw an exception on an AIX machine but not on a Solaris. > Anyone ever encounter this problem? Any ideas for a solution? > > Not only does it not thrown an exception, but it only returns from > trying to connect after a timeout period. > > However, if the username and password is correct the code operates > smoothly and returns a valid connection to the database. > > Jaman > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
