No suitable driver
2 posts in topic
Flat View  Flat View

Posted By:   Rogi_Garcia
Posted On:   Tuesday, August 7, 2001 04:26 PM

I get "java.sql.SQLException No suitable driver" when trying to import a schema from a DB2 database(VAJ Enter. 3.5 for Win). Previously I added the zip file with DB2 drivers to the Workspace classpath. How I can fix it?

Re: No suitable driver

Posted By:   Michael_Gawlik  
Posted On:   Monday, August 20, 2001 12:29 AM

Hi Rogi,
we had the same problem twice (trying to access a remote DB2 from within VAJ Test Environment). In both cases we fixed the problem by adding the db2java.zip file from the DB installation we wanted to connect to VAJ Test Environment's class path.

Re: No suitable driver

Posted By:   Darrin_Blocker  
Posted On:   Thursday, August 9, 2001 06:14 PM

I had the same problem when trying to create a sql package in WAS Studio from a DB2 schema resideing on a remote linux box. Are you trying to to import from a remote location ? What I did was copy the db2java.zip file from the linux box to my local directory where my class path points to. Since they both were using the same classes it seemed to have done the trick. Don't forget that if you're working with remote DB2's via sockets, that you need to run the strjdbc command on the remote host. -HTH-
About | Sitemap | Contact