jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: getting ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler
Date Fri, 29 Jan 2010 14:31:40 GMT
On 29/01/2010, Babu123 <raghunath.guntupalli@wipro.com> wrote:
>
>
>  sebb-2-2 wrote:
>  >
>  > On 29/01/2010, Babu123 <raghunath.guntupalli@wipro.com> 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?
>  >
>
> > i am using "oracle.jdbc.xa.client.OracleXADataSource"

Try using "oracle.jdbc.driver.OracleDriver" as documented in:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#JDBC_Connection_Configuration

JMeter does not currently support DataSource.

> >
>  >>  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: jmeter-user-unsubscribe@jakarta.apache.org
>  >>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >>
>  >>
>  >
>  > ---------------------------------------------------------------------
>  > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>  >
>  >
>  >
>
>
> --
>  View this message in context: http://old.nabble.com/getting-ERROR---jmeter.protocol.jdbc.sampler.JDBCSampler-tp27369877p27370958.html
>
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
>
>  ---------------------------------------------------------------------
>  To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
>  For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>

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


Mime
View raw message