I use W2K, tomcat 4.1.18, DB2 database, jdk1.4.0.
I have already add the DB at ODBC Data Source Administrator.
and set the class driver (sun.jdbc.odbc.JdbcOdbcDriver) and URL (jdbc:odbc:dbname) in 
the java file.
but when I try to run the login and check the userid. 
It seems cannot connect to the DB and show following error message:
"Error: Invalid user account/password. or User is Deactive.  Press the 'back' button 
and correct the error."

Anyone can teach me? and how to check the connection with the DB and tomcat?
Thanks in advance!
Cora

Reply via email to