Subject Re: [Firebird-Java] Re: AS3AP source?
Author Rick Fincher
Hi Roman,

OK, I got the code compiled and running but when I execute it can't find the
bundle for benchmarkTpbMapping.

I put a benchmarkTpbMapping_en_US.properties file in the classpath but it
still can't locate it. The error dump is below.

Any hints?

Thanks,

Rick

org.firebirdsql.jdbc.FBSQLException: Resource Exception. Cannot load TPB
mapping.Can't find bundle for base name
org.firebirdsql.benchmark.benchmarkTpbMapping, locale en_US
at
org.firebirdsql.benchmark.BenchmarkDatabaseManager.getNoPoolingDataSource(Be
nchmarkDatabaseManager.java:90)
at
org.firebirdsql.benchmark.BenchmarkDatabaseManager.<init>(BenchmarkDatabaseM
anager.java:61)
at
org.firebirdsql.benchmark.BenchmarkSuite.createDatabaseManager(BenchmarkSuit
e.java:47)
at
org.firebirdsql.benchmark.BenchmarkSuite$1.setUp(BenchmarkSuite.java:62)
at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.extensions.TestSetup.run(TestSetup.java:23)
at org.firebirdsql.benchmark.TestRunner.doRun(TestRunner.java:81)
at org.firebirdsql.benchmark.TestRunner.run(TestRunner.java:169)
at
org.firebirdsql.benchmark.SingleUserSuite.main(SingleUserSuite.java:171)

----- Original Message -----

> > OK, I got the code and:
> >
> > put the benchmark folder in client-java\src\test\org\firebirdsql
> > modified the benchmarkSuite.properties file for my local settings
> > created the as3ap.gdb database in the directory specified by
> > databasePath in benchmarkSuite.properties
> > put the as3ap-data-4mb file in the directory pointed to by dataPath
> > in benchmarkSuite.properties and did a build.
> > ...
> > Is this the proper procedure?
>
> I never run it this way. There is no build script for as3ap module,
> since it seemed that I was the only one interested in building that stuff.
>
> You just compile stuff with JayBird in the classpath. Then you just
> run two main classes (or classes with the main methods):
>
> org.firebirdsql.benchmark.SingleUserSuite
> org.firebirdsql.benchmark.MultiUserSuite
>
> They print a lot to the console, but at the end you will have list of
> tests with execution times and total execution time. I'm interested in
> that times.
>
> Roman