Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: java.sql.SQLException: No suitable driver
On Apr 19, 8:04 pm, raghu <raghu_v..._at_yahoo.com> wrote:
> My application is connecting to a 10g database through 9i client. OS
> is HP-UX. I get the following error:
>
> java.sql.SQLException: No suitable driver
> at java.sql.DriverManager.getConnection(DriverManager.java:
> 532)
> at java.sql.DriverManager.getConnection(DriverManager.java:
> 171)
> .....
>
> Classpath is
>
> /ora/product/9.2.0/client/jdbc/lib/nls_charset12.zip:/ora/product/
> 9.2.0/client/jdbc/lib/classes12.zip:/ora/product/9.2.0/client/jdbc/lib/
> ojdbc14.jar:/ora/product/9.2.0/client/jdbc/lib/classes12.jar:/ora/
> product/9.2.0/client/jdbc/lib/nls_charset12.jar:/home/inbasp/dbteam/
> version/config:/opt/cbus1.3.d02/bin/CBus.jar
>
> What could be wrong here?
What's the connect string you're using? Also, I'd put ojdbc14.jar before classes12 and remove redundant references to classes12 and nls_charset12.
Regards,
Vladimir M. Zakharychev
N-Networks, makers of Dynamic PSP(tm)
http://www.dynamicpsp.com
Received on Thu Apr 19 2007 - 11:10:10 CDT