On 29/01/2010, Babu123 <[email protected]> wrote:
>
>  hi i am new to jmeter. i am getting the following error even though after
>  putting ojdbc14.jar
>

What are you using for the driver class name?

>  010/01/29 15:10:55 ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler: Error
>  in JDBC sampling java.lang.ClassCastException:
>  oracle.jdbc.xa.client.OracleXADataSource
>         at
>  
> org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.registerDriver(DBConnectionManager.java:224)
>         at
>  
> org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.getKey(DBConnectionManager.java:102)
>         at
>  
> org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.getKey(JDBCSampler.java:185)
>         at
>  
> org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:102)
>         at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:260)
>         at java.lang.Thread.run(Unknown Source)
>
>  2010/01/29 15:10:55 ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler: Error
>  in JDBC sampling java.lang.ClassCastException:
>  oracle.jdbc.xa.client.OracleXADataSource
>         at
>  
> org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.registerDriver(DBConnectionManager.java:224)
>         at
>  
> org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.getKey(DBConnectionManager.java:102)
>         at
>  
> org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.getKey(JDBCSampler.java:185)
>         at
>  
> org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample(JDBCSampler.java:102)
>         at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:260)
>         at java.lang.Thread.run(Unknown Source)
>
>
>  --
>  View this message in context: 
> http://old.nabble.com/getting-ERROR---jmeter.protocol.jdbc.sampler.JDBCSampler-tp27369877p27369877.html
>  Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: [email protected]
>  For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to