Ensure that the Oracle jar is in the lib directory and that you have
used the correct driver name.

It looks like you have confused the database URL and the driver class.

Please read the JMeter and Oracle JDBC documentation.

On 24/10/2007, Neiman, Oleg <[EMAIL PROTECTED]> wrote:
> OK, I updated to the recent jvm and JMeter versions, the scripts are
> working now, but jdbc request failed with the message:
>
> 2007/10/24 15:44:45 ERROR - jmeter.protocol.jdbc.sampler.JDBCSampler:
> SQLstate: 08001 SQLcode: 0 Message: No suitable driver found for
> dbc:oracle:thin:@antares:1521:db10g java.sql.SQLException: No suitable
> driver found for dbc:oracle:thin:@antares:1521:db10g
>        at java.sql.DriverManager.getConnection(Unknown Source)
>        at java.sql.DriverManager.getConnection(Unknown Source)
>
> How can I handle this problem with "No suitable driver found" ?
>
> Thanks a lot for your help
>
> Oleg
>
> -----Original Message-----
> From: sebb [mailto:[EMAIL PROTECTED]
> Sent: October 24, 2007 2:30 PM
> To: JMeter Users List
> Subject: Re: cannot run jmeter scripts, please help!
>
> That's because the oracle driver is missing.
>
> By the way, the current version of JMeter is 2.3, and that requires
> Java 1.4 or later.
>
> Java 1.3.1 is very old, and not recommended for use with JMeter.
>
>
> On 24/10/2007, Neiman, Oleg <[EMAIL PROTECTED]> wrote:
> > Strange, I was using java 1.3.1 and jmeter 2.1 and I had no problems
> > before, for now I reinstalled jmeter and getting some new kind of
> error,
> > complaining to jdbc driver:
> >
> > 2007/10/24 13:44:24 ERROR - jmeter.gui.tree.JMeterTreeNode: Can't
> obtain
> > GUI class for org.apache.jmeter.protocol.jdbc.config.DataSourceElement
> > 2007/10/24 13:44:24 WARN  -
> > jmeter.protocol.jdbc.config.DataSourceElement: Could not load driver:
> > oracle.jdbc.driver.OracleDriver java.lang.ClassNotFoundException:
> > oracle.jdbc.driver.OracleDriver
> >        at java.net.URLClassLoader$1.run(Unknown Source)
> >        at java.security.AccessController.doPrivileged(Native Method)
> >        at java.net.URLClassLoader.findClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClass(Unknown Source)
> >        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
> >        at java.lang.Class.forName0(Native Method)
> >        at java.lang.Class.forName(Unknown Source)
> >        at
> >
> org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.co
> > nfigure(ResourceLimitingJdbcDataSource.java:297)
> >        at
> >
> org.apache.jmeter.protocol.jdbc.config.DataSourceElement.initPool(DataSo
> > urceElement.java:185)
> >        at
> >
> org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testStarted(Dat
> > aSourceElement.java:92)
> >        at
> >
> org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfStart
> > (StandardJMeterEngine.java:199)
> >        at
> >
> org.apache.jmeter.engine.StandardJMeterEngine.run(StandardJMeterEngine.j
> > ava:315)
> >        at java.lang.Thread.run(Unknown Source)
> >
> >
> >
> > -----Original Message-----
> > From: sebb [mailto:[EMAIL PROTECTED]
> > Sent: October 24, 2007 1:02 PM
> > To: JMeter Users List
> > Subject: Re: cannot run jmeter scripts, please help!
> >
> > Looks like the JMeter installation is incomplete or corrupted, or you
> > are using an unsupported JVM.
> >
> > On 24/10/2007, Neiman, Oleg <[EMAIL PROTECTED]> wrote:
> > > Hi,
> > >
> > > I cannot run any tests due to following errors in jmeter.log:
> > >
> > >
> > > 2007/10/24 11:48:34 ERROR - jmeter.threads.JMeterThread: Test
> failed!
> > > java.lang.NoSuchMethodError
> > >        at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.setupConnection(HTTP
> > > Sampler.java:167)
> > >        at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSampler.sample(HTTPSampler.j
> > > ava:422)
> > >        at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > > erBase.java:514)
> > >        at
> > >
> >
> org.apache.jmeter.protocol.http.sampler.HTTPSamplerBase.sample(HTTPSampl
> > > erBase.java:503)
> > >        at
> > > org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:247)
> > >        at java.lang.Thread.run(Unknown Source)
> > >
> > > 2007/10/24 11:48:34 INFO  - jmeter.threads.JMeterThread: Thread
> Thread
> > > Group 1-1 is done
> > > 2007/10/24 11:48:34 INFO  - jmeter.engine.StandardJMeterEngine:
> Ending
> > > thread 0
> > > 2007/10/24 11:48:34 INFO  - jmeter.engine.StandardJMeterEngine:
> > Stopping
> > > test
> > > 2007/10/24 11:48:34 INFO  - jmeter.engine.StandardJMeterEngine:
> > > Notifying test listeners of end of test
> > > 2007/10/24 11:48:34 INFO  - jmeter.gui.util.JMeterMenuBar:
> > > setRunning(false,local)
> > > 2007/10/24 11:48:34 INFO  - jmeter.engine.StandardJMeterEngine: Test
> > has
> > > ended
> > > 2007/10/24 11:48:38 ERROR - jmeter.gui.tree.JMeterTreeNode: Can't
> > obtain
> > > GUI class for
> org.apache.jmeter.protocol.jdbc.config.DataSourceElement
> > > 2007/10/24 11:48:38 ERROR - jmeter.gui.tree.JMeterTreeNode: Can't
> > obtain
> > > GUI class for
> org.apache.jmeter.protocol.jdbc.config.DataSourceElement
> > >
> > > Thanks,
> > > Oleg
> > >
> > >
> ---------------------------------------------------------------------
> > > 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]
> >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>
> ---------------------------------------------------------------------
> 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