Thanks, that got me a connection to DB2 8.1 on
linux. Here is JDBC code...

try {
  
  Class.forName("com.ibm.db2.jcc.DB2Driver");
} catch (ClassNotFoundException e) {
     e.printStackTrace();
}

String url = "jdbc:db2://localhost:50000/test";
      
String user = "test";
String password = "test";
Connection con = DriverManager.getConnection(url, user, password); 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Don Brady
Sent: Thursday, January 22, 2004 8:35 PM
To: [EMAIL PROTECTED]
Subject: Re: [Juglist] Tomcat and DB2: No suitable driver


Why don't you use the new type 4 Universal drivers that come with DB2 
8.1?

They are a lot better than the old db2java drivers anyway.

The jars have names like db2jcc.jar. 



_______________________________________________
Juglist mailing list
[EMAIL PROTECTED]
http://trijug.org/mailman/listinfo/juglist_trijug.org

Reply via email to