prevent registering JCSAdminBean multiple times

2017-11-16 Thread Tim Cronin
we have a few webapps running on the same server that use JCS. when moving the 2.x we started getting the following error on tomcat startup javax.management.InstanceAlreadyExistsException: org.apache.commons.jcs:type=JCSAdminBean at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.jav

commons validator saying valid email is invalid

2017-02-27 Thread Tim Cronin
calling org.apache.commons.validator.routines.EmailValidator.isValid() with "jane..s@test.com" as email returns false but is valid.

Re: JCS jcache examples specifically with spring caching

2017-01-30 Thread Tim Cronin
is there anyone that has used the Jcache impl of JCS? On Wed, Jan 25, 2017 at 8:48 AM, Tim Cronin wrote: > I'm trying to leverage Spring caching using jcs cache > the javadocs show only ctor for the JCSCachingManager. > https://commons.apache.org/proper/commons-jcs/commons

Re: Solved JCS 2.0 cache disappearing

2017-01-26 Thread Tim Cronin
we had a CCP error and two cache instances had the same name and the finalize killed to wrong cache. On Wed, Jan 18, 2017 at 10:14 AM, Tim Cronin wrote: > started getting these errors, have to restart the tomcat server to resolve: > &

Re: JCS jcache examples specifically with spring caching

2017-01-25 Thread Tim Cronin
sk_cache_event_queue.keepAliveTime=3500 thread_pool.disk_cache_event_queue.startUpSize=4 thread_pool.disk_cache_event_queue.whenBlockedPolicy=RUN ## # test ## jcs.region.test.cacheattributes.MaxO

JCS jcache examples specifically with spring caching

2017-01-25 Thread Tim Cronin
I'm trying to leverage Spring caching using jcs cache the javadocs show only ctor for the JCSCachingManager. https://commons.apache.org/proper/commons-jcs/commons-jcs-jcache/apidocs/src-html/org/apache/commons/jcs/jcache/JCSCachingManager.html#line.83 but i pass in what seems more like default val

JCS 2.0 eclipse setup issues

2017-01-18 Thread Tim Cronin
I'm running eclipse neon.2 4.6.2 m2e 1.3.1 I've imported as a maven project via svn and did the following to cleanup the livecycle issues https://mahichir.wordpress.com/2014/05/14/solving-the-plugin-execution-not-covered-by-lifecycle-configuration-error-in-eclipse/ but now getting the following

Re: JCS 2.0 cache disappearing

2017-01-18 Thread Tim Cronin
looking at JCSAdmin the cache status is disposed. [image: Inline image 1] On Wed, Jan 18, 2017 at 10:14 AM, Tim Cronin wrote: > started getting these errors, have to restart the tomcat server to resolve: > > ERROR org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCache –

JCS 2.0 cache disappearing

2017-01-18 Thread Tim Cronin
started getting these errors, have to restart the tomcat server to resolve: ERROR org.apache.commons.jcs.auxiliary.disk.indexed.IndexedDiskCache – Region [DroppedEmailSent] No longer alive so returning false for key = hqYRRK here is our config

Re: [ANNOUNCE] Apache Commons JCS 2.0-beta-2 Released

2016-11-17 Thread Tim Cronin
when will it be accessible via maven/ivy repo? On Wed, Nov 16, 2016 at 4:16 AM, Thomas Vandahl wrote: > The Apache Commons Team is pleased to announce the availability of: > > Apache Commons JCS 2.0-beta-2 > > Apache Commons JCS is a distributed, versatile caching system. > > The release notes c

Re: [ANNOUNCE] Apache Commons JCS 2.0-beta-2 Released

2016-11-17 Thread Tim Cronin
doesn't show up in the main maven repo the listings http://mvnrepository.com/artifact/org.apache.commons/commons-jcs-core On Wed, Nov 16, 2016 at 8:54 AM, Thomas Vandahl wrote: > On 16.11.16 14:56, Tim Cronin wrote: > > when will it be accessible via maven/ivy repo? > > I