jakarta-jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 18853] New: - JDBC loops on connection failure
Date Wed, 09 Apr 2003 12:25:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18853>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18853

JDBC loops on connection failure

           Summary: JDBC loops on connection failure
           Product: JMeter
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Main
        AssignedTo: jmeter-dev@jakarta.apache.org
        ReportedBy: jkb@stian.freeserve.co.uk


If there is a problem connecting to a database via JDBC (e.g. the wrong 
database name) then JMeter keeps trying the same request over and over, and 
does not seem to give up at all ...

Sample trace (showing JMeter classes only):
04/09/2003 12:48:53 PM ERROR - jmeter.protocol.jdbc:  java.sql.SQLException: 
Fatal db error: could not open db "dbnane" for user "USER" : E_US0010 Database 
does not exist: 'dbname'.
    (WED APR  9 12:48:50 2003)
...
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:171)
	at org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.setup
(DBConnectionManager.java:162)
	at org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.getKey
(DBConnectionManager.java:134)
	at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.getKey
(JDBCSampler.java:269)
	at org.apache.jmeter.protocol.jdbc.sampler.JDBCSampler.sample
(JDBCSampler.java:151)
	at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:158)
	at java.lang.Thread.run(Thread.java:536)

04/09/2003 12:48:56 PM ERROR - jmeter.protocol.jdbc: ConnectionObject: url = 
jdbc:.../dbname java.sql.SQLException: Fatal db error: could not open 
db "dbname" for user "USER" : E_US0010 Database does not exist: 'dbname'.
    (WED APR  9 12:48:52 2003)
...
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:171)
	at 
org.apache.jmeter.protocol.jdbc.util.DBConnectionManager.newConnection
(DBConnectionManager.java:246)
	at org.apache.jmeter.protocol.jdbc.util.ConnectionObject.reset
(ConnectionObject.java:254)
	at org.apache.jmeter.protocol.jdbc.util.ConnectionObject.run
(ConnectionObject.java:226)
	at java.lang.Thread.run(Thread.java:536)

====================================

Hope to look at this in more detail soon; maybe post a patch....

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


Mime
View raw message