I've since found out that the message "No suitable driver" generally
means that the connection string is wrong - i.e. none of the loaded
drivers were able to handle it.

If the driver class cannot be found, then the message is different.

You can see this by deliberately using a class name that cannot be
found, e.g. "invalid.Driver".

On 16/01/2009, EvilPeanut <clau...@eai.co.za> wrote:
>
>  Try download ojdbc6.jar it works for me in 2.3.2. Also what java environment
>  are you using?
>
>
>
>  Shelli D. Orton wrote:
>  >
>  > Hi,
>  >
>  > I'm using JMeter 2.3.2 and am trying to connect to an Oracle database.  I
>  > have included the ojdbc14_10.1.0.4.0.jar file in my JMeter's lib
>  > directory.  I've set up my JDBC Connection Configuration element's JDBC
>  > Driver class to be "oracle.jdbc.driver.OracleDriver" (which I also
>  > confirmed exists in the jar file).  I've closed/re-opened JMeter since
>  > adding the jar file to the lib directory, but I still get this error:
>  >
>  > Thread Name: Ringback Account Manager 1-1
>  > Sample Start: 2009-01-08 16:32:21 MST
>  > Load time: 1
>  > Latency: 1
>  > Size in bytes: 0
>  > Sample Count: 1
>  > Error Count: 1
>  > Response code: 08001 0
>  > Response message: java.sql.SQLException: No suitable driver
>  >
>  > Response headers:
>  >
>  > Is there any other config change that I need to make?  I've used JMeter
>  > 2.1.1 in the past (with oracle9i-classes12.jar) and it worked fine.
>  >
>  > Thanks in advance!
>  >
>  > Shelli
>  >
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context: 
> http://www.nabble.com/java.sql.SQLException%3A-No-suitable-driver-tp21363800p21497611.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org

Reply via email to