The problem is with the db2.zip file. 
Used anohter version of Zip file which resolved the problem.


Subhani Shaik wrote:
> 
> Hello,
> 
> I am trying to make a JDBC test request. I am getting the following
> exception.
> I am using 
> DB2 V7.x as database. 
> JMeter V2.3.2
> Java 1.6
> OS: Windows XP
> 
> To work with database drivers, we have 'db2java.zip' file which is to be
> set in CLASSPATH of environment variables. Since, Jmeter requires JAR file
> and it does not work with ZIP, i renamed the ZIP to JAR and placed in
> Jmeter's Home/lib/ext folder.
> 
> When i tried to run the test, it is giving me the following error. Could
> you anyone of you please suggets me how to resolve. Thank you.
> 
> 
> Uncaught Exception java.lang.UnsatisfiedLinkError:
> COM.ibm.db2.jdbc.app.DB2Connection.SQLFreeConnect(I)I. See log file for
> details.
> 
> Logger info.
> ------------
> 2009/01/13 11:19:31 INFO  - jmeter.threads.JMeterThread: Thread Thread
> Group 1-1 is done 
> 2009/01/13 11:19:31 INFO  - jmeter.engine.StandardJMeterEngine: Ending
> thread Thread Group 1-1 
> 2009/01/13 11:19:31 INFO  - jmeter.engine.StandardJMeterEngine: Stopping
> test 
> 2009/01/13 11:19:31 INFO  - jmeter.engine.StandardJMeterEngine: Notifying
> test listeners of end of test 
> 2009/01/13 11:19:31 ERROR - jmeter.engine.StandardJMeterEngine: Uncaught
> exception:  java.lang.UnsatisfiedLinkError:
> COM.ibm.db2.jdbc.app.DB2Connection.SQLFreeConnect(I)I
> at COM.ibm.db2.jdbc.app.DB2Connection.SQLFreeConnect(Native Method)
> at COM.ibm.db2.jdbc.app.DB2Connection.close2(DB2Connection.java:702)
> at COM.ibm.db2.jdbc.app.DB2Connection.close(DB2Connection.java:667)
> at
> org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.dispose(AbstractJdbcConnection.java:317)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at
> org.apache.avalon.excalibur.datasource.AbstractJdbcConnection.invoke(AbstractJdbcConnection.java:357)
> at $Proxy0.dispose(Unknown Source)
> at
> org.apache.avalon.excalibur.datasource.JdbcConnectionFactory.decommission(JdbcConnectionFactory.java:248)
> at
> org.apache.avalon.excalibur.pool.ResourceLimitingPool.removePoolable(ResourceLimitingPool.java:697)
> at
> org.apache.avalon.excalibur.pool.ResourceLimitingPool.permanentlyRemovePoolable(ResourceLimitingPool.java:639)
> at
> org.apache.avalon.excalibur.pool.ResourceLimitingPool.dispose(ResourceLimitingPool.java:518)
> at
> org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource.dispose(ResourceLimitingJdbcDataSource.java:442)
> at
> org.apache.jmeter.protocol.jdbc.config.DataSourceElement.testEnded(DataSourceElement.java:71)
> at
> org.apache.jmeter.engine.StandardJMeterEngine.notifyTestListenersOfEnd(StandardJMeterEngine.java:251)
> at
> org.apache.jmeter.engine.StandardJMeterEngine$StopTest.run(StandardJMeterEngine.java:326)
> at java.lang.Thread.run(Unknown Source)
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exception-while-using-JDBC-Request-%28UnsatisfiedLinkError%29-tp21442832p21510188.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]

Reply via email to