You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Babu123 <ra...@wipro.com> on 2010/01/29 11:25:11 UTC
getting ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler
hi i am new to jmeter. i am getting the following error even though after
putting ojdbc14.jar
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
Re: getting ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler
Posted by Babu123 <ra...@wipro.com>.
i am using oracle.jdbc.xa.client.OracleXADataSource
sebb-2-2 wrote:
>
> On 29/01/2010, Babu123 <ra...@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?
>
>> 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-tp27369877p27370888.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
Re: getting ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler
Posted by sebb <se...@gmail.com>.
On 29/01/2010, Babu123 <ra...@wipro.com> wrote:
>
>
> sebb-2-2 wrote:
> >
> > On 29/01/2010, Babu123 <ra...@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
Re: getting ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler
Posted by Babu123 <ra...@wipro.com>.
sebb-2-2 wrote:
>
> On 29/01/2010, Babu123 <ra...@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"
>
>> 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
Re: getting ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler
Posted by sebb <se...@gmail.com>.
On 29/01/2010, Babu123 <ra...@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?
> 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