[jboss-dev] configs are broken
Scott Stark
sstark at redhat.com
Thu Nov 6 17:56:44 EST 2008
r80622 updates to jboss-vfs 2.0.0.CR4 and set the default vfs cache impl
to org.jboss.virtual.plugins.cache.TimedVFSCache in conf/initialize.xml
Scott Stark wrote:
> SoftRefVFSCache is close to TimedVFSCache
> -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.SoftRefVFSCache
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 19.238 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 12.784 sec
> [junit] Test
> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.186 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.204 sec
> [junit] Running
> org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 40.773 sec
> ...
> Total time: 6 minutes 5 seconds
>
> Scott Stark wrote:
>> Running the profileservice tests with
>> -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.WeakRefVFSCache,
>> the seam test times are:
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 24.436
>> sec
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 16.696
>> sec
>> [junit] Test
>> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 11.985
>> sec
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 9.289 sec
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
>> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 44.541
>> sec
>> ...
>> Total time: 6 minutes 37 seconds
>>
>> with -Djboss.vfs.cache=org.jboss.virtual.plugins.cache.TimedVFSCache
>> the seam test times are:
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamBookingExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 17.681
>> sec
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 15.061
>> sec
>> [junit] Test
>> org.jboss.test.deployers.seam.test.SeamDvdExampleUnitTestCase FAILED
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamJpaExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 10.536
>> sec
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamNumberguessExampleUnitTestCase
>> [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 8.257 sec
>> [junit] Running
>> org.jboss.test.deployers.seam.test.SeamVFSClassloadingUnitTestCase
>> [junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 42.076
>> sec
>> ...
>> Total time: 6 minutes 15 seconds
>>
>> So the TimedVFSCache is a little better. Can't we add a
>> VFSCacheFactory.getInstance(String defaultCache) so that the cache
>> can be set in the initialize.xml rather than having to update every
>> startup config to pass in a system property.
>>
>>
>
>
> _______________________________________________
> jboss-development mailing list
> jboss-development at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-development
More information about the jboss-development
mailing list