On Wed, Feb 24, 2016 at 4:35 PM, sebb <[email protected]> wrote:

> This affects the GUI; the screenshots need to be updated as well.
>

Yes , but didn't have time to do so for now.
The priority for me was to fix the bug and the documentation before fixing
screenshots as there may be other changes, it should be done before release.

You're welcome to do it


>
> Also, are you sure this does not affect the JMX file names?
>

Yes but you can double check

>
> On 23 February 2016 at 12:51,  <[email protected]> wrote:
> > Author: pmouawad
> > Date: Tue Feb 23 12:51:03 2016
> > New Revision: 1731847
> >
> > URL: http://svn.apache.org/viewvc?rev=1731847&view=rev
> > Log:
> > Bug 58786 - JDBC Sampler : Replace Excalibur DataSource by more up to
> date library commons-dbcp2
> > Update documentation and rename properties to match DBCP names (and more
> recent pools)
> > Bugzilla Id: 58786
> >
> > Modified:
> >
>  
> jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources.properties
> >     jmeter/trunk/xdocs/usermanual/component_reference.xml
> >
> > Modified:
> jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources.properties
> > URL:
> http://svn.apache.org/viewvc/jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources.properties?rev=1731847&r1=1731846&r2=1731847&view=diff
> >
> ==============================================================================
> > ---
> jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources.properties
> (original)
> > +++
> jmeter/trunk/src/protocol/jdbc/org/apache/jmeter/protocol/jdbc/config/DataSourceElementResources.properties
> Tue Feb 23 12:51:03 2016
> > @@ -22,25 +22,25 @@ autocommit.displayName=Auto Commit
> >  autocommit.shortDescription=Whether queries should be auto committed.
> >  poolMax.displayName=Max Number of Connections
> >  poolMax.shortDescription=Maximum number of connections the pool will
> open at one time
> > -connectionAge.displayName=Max Connection age (ms)
> > -connectionAge.shortDescription=Maximum number of milliseconds an idle
> connection is kept before discarding
> > +connectionAge.displayName=Soft Min Evictable Idle Time(ms)
> > +connectionAge.shortDescription=Minimum amount of time a connection may
> sit idle in the pool before it is eligible for eviction by the idle object
> evictor, with the extra condition that at least "minIdle" connections
> remain in the pool.
> >  driver.displayName=JDBC Driver class
> >  driver.shortDescription=Full package and class name of the JDBC driver
> to be used (Must be in JMeter's classpath)
> >  dbUrl.displayName=Database URL
> >  dbUrl.shortDescription=Full URL for the database, including jdbc
> protocol parts
> >  username.displayName=Username
> > -username.shortDescription=Username to use in connecting to database
> > +username.shortDescription=Username to use to connect to database
> >  password.displayName=Password
> >  password.shortDescription=Password used to connect to database
> >  checkQuery.displayName=Validation Query
> > -checkQuery.shortDescription=A query used to validate a connection still
> works.  Only relevant if Keep Alive is true.
> > +checkQuery.shortDescription=A query used to validate a connection still
> works.  Only relevant if Validate connections is true.
> >  dataSource.displayName=Variable Name
> >  dataSource.shortDescription=Name of the JMeter variable that the pool
> will be bound to.
> > -timeout.displayName=Pool Timeout
> > -timeout.shortDescription=The pool blocks requests for connection until
> a connection is available. This is the maximum blocking time before an
> exception is returned.
> > -trimInterval.displayName=Idle Cleanup Interval (ms)
> > -trimInterval.shortDescription=The pool removes extra idle connections
> at regular intervals
> > -keepAlive.displayName=Keep-Alive
> > -keepAlive.shortDescription=Whether the pool should validate
> connections.  If no, Connection Age and Validation Query are ignored.
> > +timeout.displayName=Max Wait (ms)
> > +timeout.shortDescription=The pool blocks requests for connection until
> a connection is available. This is the maximum blocking time in
> milliseconds before an exception is returned.
> > +trimInterval.displayName=Time Between Eviction Runs (ms)
> > +trimInterval.shortDescription=The pool removes idle connections at
> regular intervals
> > +keepAlive.displayName=Test While Idle
> > +keepAlive.shortDescription=Whether the pool should validate connections
> while they are idle in Pool.  If no, Soft Min Evictable Idle Time and
> Validation Query are ignored.
> >  transactionIsolation.displayName=Transaction Isolation
> >  transactionIsolation.shortDescription=Transaction Isolation Level
> > \ No newline at end of file
> >
> > Modified: jmeter/trunk/xdocs/usermanual/component_reference.xml
> > URL:
> http://svn.apache.org/viewvc/jmeter/trunk/xdocs/usermanual/component_reference.xml?rev=1731847&r1=1731846&r2=1731847&view=diff
> >
> ==============================================================================
> > --- jmeter/trunk/xdocs/usermanual/component_reference.xml (original)
> > +++ jmeter/trunk/xdocs/usermanual/component_reference.xml Tue Feb 23
> 12:51:03 2016
> > @@ -4039,6 +4039,7 @@ instead. (see figures 12 and 13).</p>
> >       Otherwise each thread gets its own connection.
> >       The connection configuration name is used by the JDBC Sampler to
> select the appropriate
> >       connection.
> > +     The used pool is DBCP, see <a href="
> https://commons.apache.org/proper/commons-dbcp/configuration.html";
> >BasicDataSource Configuration Parameters</a>
> >      </description>
> >      <properties>
> >          <property name="Name" required="No">Descriptive name for the
> connection configuration that is shown in the tree.</property>
> > @@ -4057,15 +4058,18 @@ instead. (see figures 12 and 13).</p>
> >          If you really want to use shared pooling (why?), then set the
> max count to the same as the number of threads
> >          to ensure threads don't wait on each other.
> >          </property>
> > -        <property name="Pool timeout" required="Yes">Pool throws an
> error if the timeout period is exceeded in the
> > -        process of trying to retrieve a connection</property>
> > -        <property name="Idle Cleanup Interval (ms)" required="Yes">This
> is used to specify how long idle connections will be maintained in the pool
> before being closed. (Defaults to "<code>60000</code>", 1 minute)</property>
> > +        <property name="Max Wait (ms)" required="Yes">Pool throws an
> error if the timeout period is exceeded in the
> > +        process of trying to retrieve a connection, see <a href="
> https://commons.apache.org/proper/commons-dbcp/api-2.1.1/org/apache/commons/dbcp2/BasicDataSource.html#getMaxWaitMillis--";
> >BasicDataSource.html#getMaxWaitMillis</a></property>
> > +        <property name="Time Between Eviction Runs (ms)"
> required="Yes">The number of milliseconds to sleep between runs of the idle
> object evictor thread. When non-positive, no idle object evictor thread
> will be run. (Defaults to "<code>60000</code>", 1 minute).
> > +        See <a href="
> https://commons.apache.org/proper/commons-dbcp/api-2.1.1/org/apache/commons/dbcp2/BasicDataSource.html#getTimeBetweenEvictionRunsMillis--";
> >BasicDataSource.html#getTimeBetweenEvictionRunsMillis</a></property>
> >          <property name="Auto Commit" required="Yes">Turn auto commit on
> or off for the connections.</property>
> > -        <property name="Keep-alive" required="Yes">The keep-alive is
> used enable a mechanism to monitor the health of connections. If a
> connection has not been used for Max Connection Age (ms) then before
> returning the connection from a call to <code>getConnection()</code>, the
> connection is first used to ping the database to make sure that it is still
> alive.
> > -        Setting the age allows the 5 second age to be overridden.
> Validation Query will be used to test it.</property>
> > -        <property name="Max Connection Age (ms)"
> required="Yes">Controls the age mentioned in "<code>Keep-Alive</code>"
> property. It means connections not used for more than Max Connection Age
> will be tested</property>
> > -        <property name="Validation Query" required="Yes">A simple query
> used to determine if the database is still
> > -        responding.</property>
> > +        <property name="Test While Idle" required="Yes">Test idle
> connections of the pool, see <a href="
> https://commons.apache.org/proper/commons-dbcp/api-2.1.1/org/apache/commons/dbcp2/BasicDataSource.html#getTestWhileIdle--
> ">BasicDataSource.html#getTestWhileIdle</a>.
> > +        Validation Query will be used to test it.</property>
> > +        <property name="Soft Min Evictable Idle Time(ms)"
> required="Yes">Minimum amount of time a connection may sit idle in the pool
> before it is eligible for eviction by the idle object evictor, with the
> extra condition that at least <code>minIdle</code> connections remain in
> the pool.
> > +        See <a href="
> https://commons.apache.org/proper/commons-dbcp/api-2.1.1/org/apache/commons/dbcp2/BasicDataSource.html#getSoftMinEvictableIdleTimeMillis--
> ">BasicDataSource.html#getSoftMinEvictableIdleTimeMillis</a>.
> > +        Defaults to 5000 (5 seconds)
> > +        </property>
> > +        <property name="Validation Query" required="Yes">A simple query
> used to determine if the database is still responding.</property>
> >          <property name="Database URL" required="Yes">JDBC Connection
> string for the database.</property>
> >          <property name="JDBC Driver class" required="Yes">Fully
> qualified name of driver class. (Must be in
> >          JMeter's classpath - easiest to copy <code>.jar</code> file
> into JMeter's <code>/lib</code> directory).</property>
> >
> >
>



-- 
Cordialement.
Philippe Mouawad.

Reply via email to