Re: [ANNOUNCE] Apache Commons JCS 2.0 Released

2017-01-02 Thread Johannes Weberhofer

Am 30.12.2016 um 14:55 schrieb Thomas Vandahl:

The Apache Commons Team is pleased to announce the availability of:

Apache Commons JCS 2.0


Thank you, Thomas!

This is a big step forward for JCS users!

Johannes

PS: https://commons.apache.org/ still shows the old version from 2007

--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE] Release Apache Commons JCS 2.0-beta-2 based on RC2

2016-11-02 Thread Johannes Weberhofer
nd vote.

  [ ] +1 Release these artifacts
  [ ] +0 OK, but...
  [ ] -0 OK, but really should fix...
  [ ] -1 I oppose this release because...

Bye, Thomas



-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org






--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE] Release Apache Commons JCS 2.0-beta-2 based on RC1

2016-10-24 Thread Johannes Weberhofer



Am 21.10.2016 um 19:42 schrieb Thomas Vandahl:

I would like to beta-release the [jcs] component.

Apache Commons JCS 2.0-beta-2 RC1 is available for review at:
  https://dist.apache.org/repos/dist/dev/commons/jcs/ (r16621).

Maven artifacts are at:
  https://repository.apache.org/content/repositories/orgapachecommons-1211 .

The Subversion tag is:

https://svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.0-beta-2
 (r1766068).

The release notes are at:

https://svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.0-beta-2/RELEASE-NOTES.txt
(r1766068).

Please review the release candidate and vote.

  [ ] +1 Release these artifacts
  [ ] +0 OK, but...
  [ ] -0 OK, but really should fix...
  [ ] -1 I oppose this release because...

Please be lenient with me as this is my first Commons release attempt.

Bye, Thomas

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Dear Thomas,

thanks for releasing that version! Compared to former builds the tests are much 
faster (When I remember right, it took me more than 10 minutes to create a 
package before). This is a non-binding +1!

I have replaced a beta1 version by this version in a testing software it runs 
without any issues so far.

Best regard,
Johannes


Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 
2015-11-10T17:41:47+01:00)
Maven home: /opt/apache-maven
Java version: 1.8.0_101, vendor: Oracle Corporation
Java home: /usr/lib64/jvm/java-1.8.0-openjdk-1.8.0/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "4.8.2-3.g5e4310e-default", arch: "amd64", family: 
"unix"

[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Commons JCS . SUCCESS [ 25.442 s]
[INFO] Apache Commons JCS :: Core . SUCCESS [03:49 min]
[INFO] Apache Commons JCS :: JCache ... SUCCESS [  2.810 s]
[INFO] Apache Commons JCS :: JCache TCK ... SUCCESS [  2.437 s]
[INFO] Apache Commons JCS :: JCache Extras  SUCCESS [  7.353 s]
[INFO] Apache Commons JCS :: JCache OpenJPA ... SUCCESS [  3.318 s]
[INFO] Apache Commons JCS :: Distribution . SUCCESS [  0.218 s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 04:31 min
[INFO] Finished at: 2016-10-24T12:24:41+02:00
[INFO] Final Memory: 58M/489M
[INFO] --------



--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE][JCS] release [jcs] 2.0-beta-1 (take 4)

2015-02-19 Thread Johannes Weberhofer

Thank you, Romain!

Builds fine; no errors, no warnings - have not checked for other issues; so 
here's my non-binding +1;

I'm hardly waiting for a (beta) release, as I'd like to replace old JSC in an 
application of mine...

Johannes



mvn -version

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
14:51:28+0100)
Maven home: /home.local/java/apache-maven-3
Java version: 1.7.0_75, vendor: Oracle Corporation
Java home: /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: linux, version: 3.16.7-7-desktop, arch: amd64, family: unix



[INFO] Reactor Summary:
[INFO]
[INFO] Apache Commons JCS  SUCCESS [44.610s]
[INFO] Apache Commons JCS :: Core  SUCCESS [6:28.749s]
[INFO] Apache Commons JCS :: JCache .. SUCCESS [10.373s]
[INFO] Apache Commons JCS :: JCache TCK .. SUCCESS [3.882s]
[INFO] Apache Commons JCS :: JCache Extras ... SUCCESS [9.457s]
[INFO] Apache Commons JCS :: JCache OpenJPA .. SUCCESS [9.784s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 7:48.950s
[INFO] Finished at: Thu Feb 19 15:14:54 CET 2015
[INFO] Final Memory: 39M/155M
[INFO] 


Am 19.02.2015 um 14:28 schrieb Romain Manni-Bucau:

Hi

Another try, hopefully right this time (I speak about JCS in a JUG
next thursday so would be awesome to have a release ;))

- here is the maven repo:
https://repository.apache.org/content/repositories/orgapachecommons-1083/
- assemblies can be found here
https://repository.apache.org/content/repositories/orgapachecommons-1083/org/apache/commons/commons-jcs-dist/2.0-beta-1/
- tag is here: 
http://svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.0-beta-1/
- Site staging is:
http://people.apache.org/~rmannibucau/commons-jcs-2.0-beta-1-site/
- rat report is here (I deleted zipcodes.txt and CDI SPI
(META-INF/services/...) from reports since it seems rat config with
append parameter is not well respected but that's really what we
want):
http://people.apache.org/~rmannibucau/commons-jcs-2.0-beta-1-site/rat-report.html

Please review the release candidate and vote.
This vote will close no sooner that 72 hours from now or until we get
3 PMC votes.

[ ] +1 Release these artifacts
[ ] +-0 OK, but...
[ ] -1 I oppose this release because...


Here is my +1


Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [VOTE] (JCS) release [jcs] 2.0-RC1

2014-11-13 Thread Johannes Weberhofer

Dear Romain,

the packages are build nicely at my platform, here is my non-binding +1.

Apache Maven 3.0.5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19 
14:51:28+0100)
Maven home: /home.local/java/apache-maven-3
Java version: 1.7.0_71, vendor: Oracle Corporation
Java home: /usr/lib64/jvm/java-1.7.0-openjdk-1.7.0/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: linux, version: 3.16.6-2-desktop, arch: amd64, family: unix

[INFO] 
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Commons JCS  SUCCESS [12.751s]
[INFO] Apache Commons JCS :: Core  SUCCESS [14:30.007s]
[INFO] Apache Commons JCS :: JCache .. SUCCESS [2.009s]
[INFO] Apache Commons JCS :: JCache TCK .. SUCCESS [2.087s]
[INFO] Apache Commons JCS :: JCache Extras ... SUCCESS [2.135s]
[INFO] Apache Commons JCS :: JCache OpenJPA .. SUCCESS [5.464s]
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 14:55.215s
[INFO] Finished at: Thu Nov 13 10:45:11 CET 2014
[INFO] Final Memory: 32M/192M
[INFO] 



running mvn apache-rat:check on the version results into errors which seem to 
be in relation to the Java-version, but I don't know how to fix them:

Warning:  org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.
Compiler-Warnungen:
  WARNING:  'org.apache.xerces.jaxp.SAXParserImpl: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.'
Warning:  org.apache.xerces.parsers.SAXParser: Feature 
'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.
Warning:  org.apache.xerces.parsers.SAXParser: Property 
'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not 
recognized.

Thank's to everybody involved, I'm looking forward to replace the old JCS by 
this new version in the new version.

Best regards,
Johannes

Am 12.11.2014 um 10:23 schrieb Romain Manni-Bucau:

Hi

I'm trying to align on commons standards this time.

- here is the maven repo:
https://repository.apache.org/content/repositories/orgapachecommons-1061/
- assemblies can be found here
https://repository.apache.org/content/repositories/orgapachecommons-1061/org/apache/commons/commons-jcs-dist/2.0-RC1/
(I didn't copy them in another place since I guess it is ok to use
nexus for it)
- tag is here: 
svn.apache.org/repos/asf/commons/proper/jcs/tags/commons-jcs-2.0-RC1/
- Site staging is: http://people.apache.org/~rmannibucau/commons-jcs-2.0-RC1/
- rat report is:
http://people.apache.org/~rmannibucau/commons-jcs-2.0-RC1/rat-report.html
- KEYS:  https://www.apache.org/dist/commons/KEYS


Please review the release candidate and vote.
This vote will close no sooner that 72 hours from now or until we get
3 PMC votes.

[ ] +1 Release these artifacts
[ ] +-0 OK, but...
[ ] -1 I oppose this release because...

Thanks guys and sorry for all my learning steps,
Romain Manni-Bucau
@rmannibucau
http://www.tomitribe.com
http://rmannibucau.wordpress.com
https://github.com/rmannibucau

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



[jcs] mvn test on trunk revision 1584561

2014-04-04 Thread Johannes Weberhofer

Dear all,

I'm currently testing the current trunk

1) On a virtualized Windoews XP the tests are running fine, on my linux 
workplace I see one Failure:

---
Test set: org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest
---
Tests run: 17, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 17.326 sec  
FAILURE! - in org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest
testRemoveIfLimitIsSetAndReached_Reached_TouchTrue(org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest)
  Time elapsed: 10.459 sec   FAILURE!
junit.framework.AssertionFailedError: Should be null.
at junit.framework.Assert.fail(Assert.java:47)
at junit.framework.Assert.assertTrue(Assert.java:20)
at junit.framework.Assert.assertNull(Assert.java:233)
at 
org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest.testRemoveIfLimitIsSetAndReached_Reached_TouchTrue(FileDiskCacheUnitTest.java:358)

2) I see a huge performance gap between the virualized XP machine and the linux 
desktop version:

Tests run: 396, Failures: 1, Errors: 0, Skipped: 0

Linux:

[INFO] 
[INFO] BUILD FAILURE
[INFO] 
[INFO] Total time: 11:23.386s
[INFO] Finished at: Fri Apr 04 10:33:21 CEST 2014
[INFO] Final Memory: 20M/160M
[INFO] 

XP:
[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 1:54.444s
[INFO] Finished at: Fri Apr 04 01:16:20 PDT 2014
[INFO] Final Memory: 9M/21M
[INFO] 

There is one test which takes extremely long on Linux, it's this one:

Running 
org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheConcurrentNoDeadLockUnitTest
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 385.972 sec - 
in 
org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCacheConcurrentNoDeadLockUnitTest


Best regards,
Johannes

--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Johannes Weberhofer
 - in 
org.apache.commons.jcs.auxiliary.remote.RemoteCacheListenerUnitTest
Running org.apache.commons.jcs.auxiliary.remote.ZombieRemoteCacheServiceUnitTest
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec - in 
org.apache.commons.jcs.auxiliary.remote.ZombieRemoteCacheServiceUnitTest
Running org.apache.commons.jcs.auxiliary.remote.RemoteCacheUnitTest
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.17 sec - in 
org.apache.commons.jcs.auxiliary.remote.RemoteCacheUnitTest
Running org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheFactoryUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.169 sec - in 
org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheFactoryUnitTest
Running org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest
afterElement = [CacheElement: cacheName [testPutGet_BigString], key [x], val 
[This is my big string ABCDEFGH 0This is my big string ABCDEFGH 1This is my big 
string ABCDEFGH 0This is my big string ABCDEFGH 2This is my big string ABCDEFGH 
0This is my big string ABCDEFGH 1This is my big string ABCDEFGH 0This is my big 
string ABCDEFGH 3This is my big string ABCDEFGH 0This is my big string ABCDEFGH 
1This is my big string ABCDEFGH 0This is my big string ABCDEFGH 2This is my big 
string ABCDEFGH 0This is my big string ABCDEFGH 1This is my big string ABCDEFGH 
0This is my big string ABCDEFGH], attr [null]
Tests run: 17, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.509 sec - 
in org.apache.commons.jcs.auxiliary.disk.file.FileDiskCacheUnitTest
Running 
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.util.ScheduleParserUtilUnitTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.026 sec - in 
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.util.ScheduleParserUtilUnitTest
Running 
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheManagerUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.282 sec - in 
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheManagerUnitTest
Running org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.299 sec - in 
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheUnitTest
Running 
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql.MySQLDiskCacheHsqlBackedUnitTest
BEFORE PUT
Region Name = testCache2
HitCountRam = 0
HitCountAux = 0



--
Johannes Weberhofer
Weberhofer GmbH, Austria, Vienna

-
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org



Re: [jcs] Attempt a 2.0 release

2014-04-02 Thread Johannes Weberhofer

After your latest changes the output looks much better now.

java version 1.7.0_51
OpenJDK Runtime Environment (IcedTea 2.4.4) (suse-24.13.5-x86_64)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)


Results :
Tests run: 396, Failures: 0, Errors: 0, Skipped: 0

[INFO] 
[INFO] BUILD SUCCESS
[INFO] 
[INFO] Total time: 14:10.204s
[INFO] Finished at: Wed Apr 02 16:12:23 CEST 2014
[INFO] Final Memory: 20M/174M
[INFO] 



Am 02.04.2014 13:57, schrieb Johannes Weberhofer:

Am 02.04.2014 08:41, schrieb Thomas Vandahl:

On 31.03.14 23:56, sebb wrote:

The Continuum build reports lots of test failures.

For example:

https://continuum-ci.apache.org/continuum/buildResult.action?buildId=28476projectId=286

The tests are very noisy when run interactively.
This makes it difficult to pick out the test failures.
Ideally tests should produce no output except on failure.

I think the test failures need to be fixed before a release can be considered.


Absolutely agree. Problem is, however, that the tests run fine here (Mac
OS Snow Leopard) and it is difficult for me to reproduce the Continuum
environment. Does the build run successful when you run it locally?

Bye, Thomas.


On Linux I see one stacktrace but all tests pass without errors; 
https://issues.apache.org/jira/browse/JCS-110 seems to be solved for me.

Johannes

---Memory Cache
List Size = 0
Map Size = 0
Put Count = 1
Hit Count = 1
Miss Count = 1
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.461 sec - in 
org.apache.commons.jcs.auxiliary.remote.server.BasicRemoteCacheClientServerUnitTest
Running 
org.apache.commons.jcs.auxiliary.remote.server.TimeoutConfigurableRMIScoketFactoryUnitTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.024 sec - in 
org.apache.commons.jcs.auxiliary.remote.server.TimeoutConfigurableRMIScoketFactoryUnitTest
Running 
org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactoryUnitTest
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.124 sec - in 
org.apache.commons.jcs.auxiliary.remote.util.RemoteCacheRequestFactoryUnitTest
Running org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest
java.rmi.server.ExportException: internal error: ObjID already in use
 at sun.rmi.transport.ObjectTable.putTarget(ObjectTable.java:169)
 at sun.rmi.transport.Transport.exportObject(Transport.java:74)
 at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:229)
 at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:393)
 at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:129)
 at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:188)
 at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:100)
 at sun.rmi.registry.RegistryImpl.init(RegistryImpl.java:86)
 at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:186)
 at 
org.apache.commons.jcs.auxiliary.remote.RemoteUtils.createRegistry(RemoteUtils.java:81)
 at 
org.apache.commons.jcs.auxiliary.remote.RemoteUtilsUnitTest.testCreateRegistryTwice(RemoteUtilsUnitTest.java:53)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at junit.framework.TestCase.runTest(TestCase.java:154)
 at junit.framework.TestCase.runBare(TestCase.java:127)
 at junit.framework.TestResult$1.protect(TestResult.java:106)
 at junit.framework.TestResult.runProtected(TestResult.java:124)
 at junit.framework.TestResult.run(TestResult.java:109)
 at junit.framework.TestCase.run(TestCase.java:118)
 at junit.framework.TestSuite.runTest(TestSuite.java:208)
 at junit.framework.TestSuite.run(TestSuite.java:203)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:597)
 at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:95)
 at 
org.apache.maven.surefire.junit.JUnit3Provider.executeTestSet(JUnit3Provider.java:131)
 at 
org.apache.maven.surefire.junit.JUnit3Provider.invoke(JUnit3Provider.java:108)
 at 
org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:200)
 at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:153)
 at 
org.apache.maven.surefire.booter.ForkedBooter.main