Details
- State: Success
- For: Project: excalibur-datasource
- Working Directory: /srv/gump/public/workspace/excalibur/components/datasource
- Output: /srv/gump/public/workspace/tmp/build_excalibur_excalibur-datasource.txt
- Exit Code: 0
- Start Time: Thu, 03 Jul 2008 16:43:05 (PDT)
- End Time: Thu, 03 Jul 2008 16:43:29 (PDT)
- Elapsed Time: 23 secs
Parameters
| Prefix |
Name |
Value |
|
--offline |
|
|
jar |
|
Environment Overrides
| Name |
Value |
| CLASSPATH |
:/usr/lib/jvm/java-1.5.0-sun/lib/tools.jar
/srv/gump/public/workspace/excalibur/components/datasource/target/classes
/srv/gump/public/workspace/ant/dist/lib/ant-jmf.jar
/srv/gump/public/workspace/ant/dist/lib/ant-swing.jar
/srv/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar
/srv/gump/public/workspace/ant/dist/lib/ant-trax.jar
/srv/gump/public/workspace/ant/dist/lib/ant-junit.jar
/srv/gump/public/workspace/ant/dist/lib/ant-launcher.jar
/srv/gump/public/workspace/ant/dist/lib/ant-nodeps.jar
/srv/gump/public/workspace/ant/dist/lib/ant.jar
/srv/gump/packages/junit3.8.1/junit.jar
/srv/gump/public/workspace/xml-commons/java/build/resolver.jar
/srv/gump/public/workspace/excalibur/framework/api/target/excalibur-framework-api-03072008.jar
/srv/gump/public/workspace/excalibur/framework/impl/target/excalibur-framework-impl-03072008.jar
/srv/gump/packages/avalon-logkit/avalon-logkit-2.1.jar
/srv/gump/public/workspace/apache-commons/collections/build/commons-collections-03072008.jar
/srv/gump/packages/dougLea/concurrent.jar
/srv/gump/public/workspace/excalibur/fortress/meta/target/excalibur-fortress-meta-03072008.jar
/srv/gump/public/workspace/excalibur/deprecated/component/target/excalibur-component-03072008.jar
/srv/gump/public/workspace/excalibur/fortress/container-api/target/excalibur-fortress-container-api-03072008.jar
/srv/gump/public/workspace/excalibur/containerkit/instrument/api/target/excalibur-instrument-api-03072008.jar
/srv/gump/public/workspace/excalibur/containerkit/logger/target/excalibur-logger-03072008.jar
/srv/gump/public/workspace/excalibur/components/pool/api/target/excalibur-pool-api-03072008.jar
/srv/gump/public/workspace/excalibur/components/pool/impl/target/excalibur-pool-impl-03072008.jar
/srv/gump/public/workspace/excalibur/components/pool/instrumented/target/excalibur-pool-instrumented-03072008.jar
/srv/gump/public/workspace/excalibur/deprecated/testcase/target/excalibur-testcase-03072008.jar
/srv/gump/public/workspace/hsqldb/lib/hsqldb.jar
/srv/gump/public/workspace/velocity-engine/bin/velocity-03072008.jar
/srv/gump/public/workspace/velocity-engine/bin/velocity-dep-03072008.jar
/srv/gump/public/workspace/junit/dist/junit-03072008.jar
/srv/gump/packages/qdox-1.6.3/qdox-1.6.3.jar
/srv/gump/public/workspace/checkstyle/target/dist/checkstyle-03072008/checkstyle-03072008.jar
/srv/gump/packages/antlr-2.7.6/antlr.jar
/srv/gump/public/workspace/jakarta-regexp/build/jakarta-regexp-03072008.jar
/srv/gump/public/workspace/jakarta-bcel/target/bcel-5.3-SNAPSHOT.jar
/srv/gump/public/workspace/apache-commons/beanutils/dist/commons-beanutils-03072008.jar
/srv/gump/public/workspace/commons-cli-1.0.x/target/commons-cli-03072008.jar
/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-03072008.jar
/srv/gump/public/workspace/apache-commons/logging/target/commons-logging-api-03072008.jar |
Command Line
maven --offline jar
Output
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0.2
build:start:
java:prepare-filesystem:
java:compile:
[echo] Compiling to /srv/gump/public/workspace/excalibur/components/datasource/target/classes
[echo]
==========================================================
NOTE: Targetting JVM 1.5, classes
will not run on earlier JVMs
==========================================================
[javac] Compiling 30 source files to /srv/gump/public/workspace/excalibur/components/datasource/target/classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
provide-fortress-meta:
[fortress-collect-meta] Writing Info descriptors as property files (.meta).
[fortress-collect-meta] Collecting service information.
[fortress-collect-meta] Processing service org.apache.avalon.excalibur.datasource.cluster.HashedDataSourceCluster
[fortress-collect-meta] Processing service org.apache.avalon.excalibur.datasource.DataSourceComponent
[fortress-collect-meta] Processing service org.apache.avalon.excalibur.datasource.ids.IdGenerator
[fortress-collect-meta] Processing service org.apache.avalon.excalibur.datasource.cluster.RoundRobinDataSourceCluster
[fortress-collect-meta] Processing service org.apache.avalon.excalibur.datasource.TraceableDataSourceComponent
[fortress-collect-meta] Processing service org.apache.avalon.excalibur.datasource.cluster.IndexedDataSourceCluster
java:jar-resources:
Copying 2 files to /srv/gump/public/workspace/excalibur/components/datasource/target/classes
test:prepare-filesystem:
[mkdir] Created dir: /srv/gump/public/workspace/excalibur/components/datasource/target/test-classes
[mkdir] Created dir: /srv/gump/public/workspace/excalibur/components/datasource/target/test-reports
test:test-resources:
Copying 3 files to /srv/gump/public/workspace/excalibur/components/datasource/target/test-classes
test:compile:
[javac] Compiling 3 source files to /srv/gump/public/workspace/excalibur/components/datasource/target/test-classes
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
test:test:
[junit] Running org.apache.avalon.excalibur.datasource.test.DataSourceJdbcTestCase
INFO 2008-07-03 15:43:17.115 [DataSourceJdbcTestCase ] (): <title>DataSource Tests</title>
<para>
This series of tests exercise the JDBC DataSourceComponent provided by
Excalibur. The configuration is specified in the file located in
<parameter>components/datasource/src/test/org/apache/avalon/excalibur/datasource/test/DataSourceJdbcTestCase.xtest</parameter>.
You may edit the test to customize the settings.
</para>
INFO 12151 [test.testOverAllocat] (): Testing overallocation of connections. Should see a warning next.
WARN 12151 [test ] (): Could not return Connection
java.lang.Exception: Could not create enough components to service your request.
at org.apache.avalon.excalibur.pool.DefaultPool.get(DefaultPool.java:145)
at org.apache.avalon.excalibur.datasource.JdbcConnectionPool.get(JdbcConnectionPool.java:154)
at org.apache.avalon.excalibur.datasource.JdbcDataSource.getConnection(JdbcDataSource.java:252)
at org.apache.avalon.excalibur.datasource.test.DataSourceJdbcTestCase.testOverAllocation(DataSourceJdbcTestCase.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO 12151 [test.testOverAllocat] (): The test was successful
INFO 12151 [test.testNormalUse ] (): The normal use test passed with 775 requests and 10 concurrent threads running
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.924 sec
[junit] Running org.apache.avalon.excalibur.datasource.ids.test.TableIdGeneratorJdbcTestCase
INFO 2008-07-03 15:43:23.394 [TableIdGeneratorJdbcTestCase ] (): <title>TableIdGenerator Tests</title>
<para>
This series of tests excercises the TableIdGenerator provided by Excalibur.
The configuration is specified in the file located in
<parameter>components/datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test/TableIdGeneratorJdbcTestCase.xtext</parameter>.
</para>
INFO 12151 [test.tes] (): testNonExistingTableName
ERROR 12151 [id-gen ] (): Unable to allocate a block of Ids, no row with table_name='does-not-exist' exists in the ids table.
INFO 12151 [test.tes] (): testSimpleRequestIdsSize1
INFO 12151 [test.tes] (): testSimpleRequestIdsSize10
INFO 12151 [test.tes] (): testSimpleRequestIdsSize100
INFO 12151 [test.tes] (): testBigDecimalRequestIdsSize10
INFO 12151 [test.tes] (): testMaxByteIds
ERROR 12151 [id-gen ] (): Unable to provide an id. The next id would be greater than the id data type allows.
INFO 12151 [test.tes] (): testMaxShortIds
ERROR 12151 [id-gen ] (): Unable to provide an id. The next id would be greater than the id data type allows.
INFO 12151 [test.tes] (): testMaxIntegerIds
ERROR 12151 [id-gen ] (): Unable to provide an id. The next id would be greater than the id data type allows.
INFO 12151 [test.tes] (): testMaxLongIds
ERROR 12151 [id-gen ] (): No more Ids are available, the maximum long value has been reached.
WARN 12151 [cm ] (): disposing of handler for unreleased component. role [org.apache.avalon.excalibur.datasource.DataSourceComponentSelector]
[junit] Tests run: 9, Failures: 0, Errors: 0, Time elapsed: 1.689 sec
[junit] Running org.apache.avalon.excalibur.datasource.ids.test.TableIdGeneratorMultithreadedJdbcTestCase
INFO 2008-07-03 15:43:25.155 [TableIdGeneratorMultithreadedJ] (): <title>TableIdGenerator Tests</title>
<para>
This series of tests excercises the TableIdGenerator provided by Excalibur in a multithreaded context.
The configuration is specified in the file located in
<parameter>components/datasource/src/test/org/apache/avalon/excalibur/datasource/ids/test/TableIdGeneratorMultithreadedJdbcTestCase.xtext</parameter>.
</para>
INFO 2008-07-03 15:43:25.603 [test.tes] (): testSimpleRequestIdsSize1
INFO 2008-07-03 15:43:27.010 [test.tes] (): It took 1007ms. for 50 threads to allocate 1000 ids.
INFO 2008-07-03 15:43:27.015 [test.tes] (): testSimpleRequestIdsSize10
INFO 2008-07-03 15:43:27.459 [test.tes] (): It took 103ms. for 50 threads to allocate 1000 ids.
INFO 2008-07-03 15:43:27.460 [test.tes] (): testSimpleRequestIdsSize100
INFO 2008-07-03 15:43:27.851 [test.tes] (): It took 40ms. for 50 threads to allocate 1000 ids.
INFO 2008-07-03 15:43:27.851 [test.tes] (): testBigDecimalRequestIdsSize10
INFO 2008-07-03 15:43:28.336 [test.tes] (): It took 61ms. for 50 threads to allocate 1000 ids.
WARN 2008-07-03 15:43:28.337 [cm ] (): disposing of handler for unreleased component. role [org.apache.avalon.excalibur.datasource.DataSourceComponentSelector]
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 3.241 sec
jar:jar:
[get] Getting: http://svn.apache.org/repos/asf/excalibur/trunk/LICENSE.txt
[get] Getting: http://svn.apache.org/repos/asf/excalibur/trunk/NOTICE.txt
[jar] Building jar: /srv/gump/public/workspace/excalibur/components/datasource/target/excalibur-datasource-03072008.jar
[checksum] Calculating MD5 checksum for /srv/gump/public/workspace/excalibur/components/datasource/target/excalibur-datasource-03072008.jar
BUILD SUCCESSFUL
Total time: 22 seconds
Finished at: Thu Jul 03 15:43:29 GMT-08:00 2008
Last Updated: Thu, 03 Jul 2008 08:01:27 ().