<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/benchmarksql/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/benchmarksql/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 06 May 2016 06:30:32 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/benchmarksql/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>incorrect informativeText output format</title><link>https://sourceforge.net/p/benchmarksql/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There's wrong code in jTPCC.java, which cause the output format of informativeText become incorrect.(I run it in Linux)&lt;/p&gt;
&lt;p&gt;jTPCC.java:&lt;br/&gt;
for (int count = 0; count &amp;lt; 1+informativeText.length(); count++)&lt;/p&gt;
&lt;p&gt;the above should be:&lt;br/&gt;
for (int count = 0; count &amp;lt; informativeText.length(); count++)&lt;/p&gt;
&lt;p&gt;BTW:&lt;br/&gt;
I want to write a script to parse the output of runBenchmark.sh, but there is too many informativeText output if i redirect the stdout to a log file.&lt;br/&gt;
Could write the informativeText to stderr instead of stdout. As the following.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;        System.err.print(informativeText);
        for (int count = 0; count &amp;lt; informativeText.length(); count++)
            System.err.print("\b");
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chen Huajun</dc:creator><pubDate>Fri, 06 May 2016 06:30:32 -0000</pubDate><guid>https://sourceforge.netc35dbbfc6bd17071cd1ed070e64cddc64c2a6cac</guid></item><item><title>Print next exception</title><link>https://sourceforge.net/p/benchmarksql/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When an exception is thrown, sometimes is not enough to deal with the exception itself, but it is necessary, in order to understand the reason, to scan the "next exceptions"&lt;/p&gt;
&lt;p&gt;At the moment of the catch exception, print the message of not only that given exception, but any other wrapped exception, and for this the nextException() method could be used.&lt;/p&gt;
&lt;p&gt;That helps to resolve problem easily.&lt;/p&gt;
&lt;p&gt;The issue is present in the Java classes that deal with SQLExceptions.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andres Gomez Casanova</dc:creator><pubDate>Sat, 31 May 2014 09:58:12 -0000</pubDate><guid>https://sourceforge.net3c1838c3e1adf70edb4137e4f7eba68ae2dd46e8</guid></item><item><title>Code</title><link>https://sourceforge.net/p/benchmarksql/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I would like to know where the code is hosted? The SVN or git server.&lt;br /&gt;
I know the code is provide as part of the release, but it is better to get a copy of the most recent versions.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andres Gomez Casanova</dc:creator><pubDate>Wed, 18 Dec 2013 15:40:30 -0000</pubDate><guid>https://sourceforge.net50d5593b67d998dfd72edee12566edec018f24a9</guid></item><item><title>Modify script to change the driver</title><link>https://sourceforge.net/p/benchmarksql/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I just downloaded the application to test a db2 database, but I needed to modify many scripts (runSQL, runLoader, runBenchmark) in order to load the right drivers and execute the benchmark.&lt;/p&gt;
&lt;p&gt;However, I found that the scripts and the documentation is oriented to postgres. It is not bad, but it could be more flexible.&lt;/p&gt;
&lt;p&gt;I would like to propose to create a symbolic link to the postgres driver. In this way, the scripts reference to the symbolic link, and by default it uses postgres. For other users, like me, we need to replace the symbolic link to point to our own driver, in my case the db2jcc4.jar.&lt;/p&gt;
&lt;p&gt;For example, in the run directory execute:&lt;/p&gt;
&lt;p&gt;ln -s ../lib/postgresql-9.3-1100.jdbc4.jar jdbc-driver.jar&lt;/p&gt;
&lt;p&gt;and then, replace the scripts with lines like this:&lt;/p&gt;
&lt;p&gt;runSQL.sh&lt;br /&gt;
myCP="./jdbc-driver.jar"&lt;/p&gt;
&lt;p&gt;runBenchmark.sh&lt;br /&gt;
java -cp .:./jdbc-driver.jar:../lib/log4j-1.2.17.jar:../lib/apache-log4j-extras-1.1.jar:../dist/BenchmarkSQL-4.0.jar -Dprop=$1 jTPCC&lt;/p&gt;
&lt;p&gt;For other databases, it is not necessary to modify the script, but just remove the link and recreate. In my case&lt;/p&gt;
&lt;p&gt;rm jdbc-driver.jar&lt;br /&gt;
ln -s /home/db2inst1/sqllib/java/db2jcc4.jar jdbc-driver.jar&lt;/p&gt;
&lt;p&gt;If the symbolic link is not a good option, you could also put a env variable, and use parameter expansion.&lt;/p&gt;
&lt;p&gt;For example, in all scripts put a variable like this&lt;br /&gt;
JDBC_DRIVER=${JDBC_DRIVER:-../lib/postgresql-9.3-1100.jdbc4.jar}&lt;/p&gt;
&lt;p&gt;java -cp .:${JDBC_DRIVER}:../lib/log4j-1.2.17.jar:../lib/apache-log4j-extras-1.1.jar:../dist/BenchmarkSQL-4.0.jar -Dprop=$1 jTPCC&lt;/p&gt;
&lt;p&gt;If the variable is not defined, the script will override this with the postgres value. Other users will defined before call the script just by doing this:&lt;br /&gt;
export JDBC_DRIVER=/home/db2inst1/sqllib/java/db2jcc4.jar&lt;/p&gt;
&lt;p&gt;For more information:&lt;br /&gt;
&lt;a href="https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html" rel="nofollow"&gt;https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andres Gomez Casanova</dc:creator><pubDate>Wed, 18 Dec 2013 15:12:58 -0000</pubDate><guid>https://sourceforge.net92027440d495dd845bcdc3bbe196b5152b36acbc</guid></item><item><title>Incorrect transaction boundaries</title><link>https://sourceforge.net/p/benchmarksql/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The Stock-Level transaction and the Order-Status transaction are both missing a call to the transCommit()&lt;br /&gt;
method.&lt;/p&gt;
&lt;p&gt;Need to add a call to transCommit() at lines 696 and 1149 of jTPCCTerminal.java .&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Hann</dc:creator><pubDate>Fri, 27 Feb 2009 09:30:20 -0000</pubDate><guid>https://sourceforge.netb59678e5e22d23723bc2b67356f2429cf3e7126b</guid></item><item><title>Customer loading failures</title><link>https://sourceforge.net/p/benchmarksql/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;BenchmarkSQL version: 2.3.2&lt;br /&gt;
Database: postgresql 8.1.3, oracle 9.2.0.4&lt;br /&gt;
Drivers: postgresql-8.0.309.jdbc3.jar, classes12.jar&lt;/p&gt;
&lt;p&gt;I get errors like these (in the ERRORS tab) when&lt;br /&gt;
running BenchmarkSQL 2.3.2:&lt;/p&gt;
&lt;p&gt;[ERROR] TERMINAL=Term-01  TYPE=ORDER-STATUS  COUNT=197&lt;br /&gt;
java.lang.Exception: C_LAST=CALLYPRESPRI C_D_ID=9&lt;br /&gt;
C_W_ID=4 not found!&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.orderStatusTransaction(jTPCCTerminal.java:578)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransaction(jTPCCTerminal.java:310)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransactions(jTPCCTerminal.java:165)&lt;br /&gt;
at jTPCCTerminal.run(jTPCCTerminal.java:111)&lt;br /&gt;
at java.lang.Thread.run(Thread.java:595)&lt;/p&gt;
&lt;p&gt;[ERROR] TERMINAL=Term-01  TYPE=ORDER-STATUS  COUNT=654&lt;br /&gt;
java.lang.Exception: C_LAST=ATIONCALLYEING C_D_ID=4&lt;br /&gt;
C_W_ID=4 not found!&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.orderStatusTransaction(jTPCCTerminal.java:578)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransaction(jTPCCTerminal.java:310)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransactions(jTPCCTerminal.java:165)&lt;br /&gt;
at jTPCCTerminal.run(jTPCCTerminal.java:111)&lt;br /&gt;
at java.lang.Thread.run(Thread.java:595)&lt;/p&gt;
&lt;p&gt;[ERROR] TERMINAL=Term-01  TYPE=ORDER-STATUS  COUNT=860&lt;br /&gt;
java.lang.Exception: C_LAST=PRIESEPRI C_D_ID=7 C_W_ID=4&lt;br /&gt;
not found!&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.orderStatusTransaction(jTPCCTerminal.java:578)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransaction(jTPCCTerminal.java:310)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransactions(jTPCCTerminal.java:165)&lt;br /&gt;
at jTPCCTerminal.run(jTPCCTerminal.java:111)&lt;br /&gt;
at java.lang.Thread.run(Thread.java:595)&lt;/p&gt;
&lt;p&gt;[ERROR] TERMINAL=Term-01  TYPE=ORDER-STATUS  COUNT=1407&lt;br /&gt;
java.lang.Exception: C_LAST=ESEESEPRES C_D_ID=1&lt;br /&gt;
C_W_ID=4 not found!&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.orderStatusTransaction(jTPCCTerminal.java:578)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransaction(jTPCCTerminal.java:310)&lt;br /&gt;
at&lt;br /&gt;
jTPCCTerminal.executeTransactions(jTPCCTerminal.java:165)&lt;br /&gt;
at jTPCCTerminal.run(jTPCCTerminal.java:111)&lt;br /&gt;
at java.lang.Thread.run(Thread.java:595)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mikael Carneholm</dc:creator><pubDate>Wed, 26 Apr 2006 14:19:23 -0000</pubDate><guid>https://sourceforge.net5693f42d063dbea4a106098938ae6d2267872c53</guid></item></channel></rss>