Re: [JCS] disk persistence - same conf file, different results

2014-11-17 Thread Tim Cronin
Any ETA on when JCS 2.0 will be released? On Mon, Nov 17, 2014 at 2:07 AM, Thomas Vandahl t...@apache.org wrote: On 14.11.14 19:14, joao tiago a. m. viegas wrote: thank you Thomas, but is there anyway to persist and reload the cache with 1.3? Unfortunately not. Sorry. JCS 1.3 is full of

Re: JSC 1.3 thread cleanup

2015-01-26 Thread Tim Cronin
thanks, any eta on release date? On Sun, Jan 25, 2015 at 10:49 AM, Thomas Vandahl t...@apache.org wrote: On 23.01.15 15:16, Tim Cronin wrote: ok, thanks how different is 2 vs. 1.3? First of all it is unreleased as of yet. The main change is the use of the class CacheAccess instead

Re: JSC 1.3 thread cleanup

2015-01-22 Thread Tim Cronin
it's not a tomcat error, it's a JCS resource leak tomcat is showing the error but it's caused by JCS not cleaning up the threads it's creating. On Thu, Jan 22, 2015 at 11:46 AM, sebb seb...@gmail.com wrote: On 22 January 2015 at 16:42, Tim Cronin t...@outboundengine.com wrote: I'm getting

Re: JSC 1.3 thread cleanup

2015-01-22 Thread Tim Cronin
no worries. had to double check myself. On Thu, Jan 22, 2015 at 12:57 PM, sebb seb...@gmail.com wrote: On 22 January 2015 at 18:39, Tim Cronin t...@outboundengine.com wrote: it's not a tomcat error, it's a JCS resource leak OK, sorry. Should have double-checked. tomcat is showing

JSC 1.3 thread cleanup

2015-01-22 Thread Tim Cronin
I'm getting tomcat errors on shutdown: 2015-01-22 16:41:51,186 [localhost-startStop-2] ERROR org.apache.catalina.loader.WebappClassLoader- The web application [/api] appears to have started a thread named [ElementEventQueue.QProcessor-1] but has failed to stop it. This is very l ikely to create a

Re: JSC 1.3 thread cleanup

2015-01-23 Thread Tim Cronin
ok, thanks how different is 2 vs. 1.3? On Fri, Jan 23, 2015 at 1:31 AM, Thomas Vandahl t...@apache.org wrote: On 22.01.15 17:42, Tim Cronin wrote: I'm getting tomcat errors on shutdown: 2015-01-22 16:41:51,186 [localhost-startStop-2] ERROR org.apache.catalina.loader.WebappClassLoader

Re: Adding CData to xml property

2015-01-06 Thread Tim Cronin
it seems like your fighting with the API. it will escape special chars for you. On Tue, Jan 6, 2015 at 10:55 AM, jeevi tesh jeevitesh...@gmail.com wrote: Hi, Need to add CDATA into XML Property element, but special character are getting added. Here is my code. Please give your thoughts on

JCS Region No longer alive so returning false for key

2015-07-02 Thread Tim Cronin
JCS 1.3 i periodically get the above error. what do i need to do to recover from this?

Re: [JCS] Region No longer alive so returning false for key

2015-07-06 Thread Tim Cronin
t...@apache.org wrote: On 02.07.15 15:13, Tim Cronin wrote: JCS 1.3 i periodically get the above error. what do i need to do to recover from this? First of all I'd suggest to try out commons-jcs 2.0-beta1. It contains numerous fixes and cleans up the lifecycle of most of the JCS

Re: [JCS] Region No longer alive so returning false for key

2015-07-06 Thread Tim Cronin
. On Sun, Jul 5, 2015 at 10:25 AM, Thomas Vandahl t...@apache.org wrote: On 02.07.15 15:13, Tim Cronin wrote: JCS 1.3 i periodically get the above error. what do i need to do to recover from this? First of all I'd suggest to try out commons-jcs 2.0-beta1. It contains numerous fixes

Re: [JCS] Region No longer alive so returning false for key

2015-07-06 Thread Tim Cronin
{ poolMgr.getPool(poolName).shutdown(); } catch (Throwable t) { LOGGER.warn(Failed to close pool + poolName, t); } } On Mon, Jul 6, 2015 at 9:33 AM, Tim Cronin t...@outboundengine.com wrote: MaxLifeSeconds has been

Re: [JCS] Region No longer alive so returning false for key

2015-07-06 Thread Tim Cronin
directory + diskPath); } } } On Mon, Jul 6, 2015 at 8:37 AM, Tim Cronin t...@outboundengine.com wrote: is there any documentation on migrating from 1.3 to 2? the JCSAdmin.jsp the FAQ link is broken. moved due to package change http://svn.apache.org/viewvc/commons/proper/jcs

Re: [JCS] Region No longer alive so returning false for key

2015-07-06 Thread Tim Cronin
, 2015 at 9:15 AM, Tim Cronin t...@outboundengine.com wrote: AuxDiskCache is throwing error that it can't create the directory but it already exists. localhost-startStop-1 2015-07-06 14:01:30,006 ERROR org.apache.commons.jcs.auxiliary.disk.AbstractDiskCacheAttributes - Failed to create

Re: [JCS] Region No longer alive so returning false for key

2015-07-06 Thread Tim Cronin
thanks for the reply. looking at trunk there's an added check isDirectory. On Mon, Jul 6, 2015 at 9:30 AM, sebb seb...@gmail.com wrote: On 6 July 2015 at 15:15, Tim Cronin t...@outboundengine.com wrote: AuxDiskCache is throwing error that it can't create the directory but it already exists

Re: [JCS] Region No longer alive so returning false for key

2015-07-10 Thread Tim Cronin
will there be another release cut soon? how close to non beta release? On Fri, Jul 10, 2015 at 1:48 AM, Thomas Vandahl t...@apache.org wrote: On 06.07.15 17:06, Tim Cronin wrote: I added the following before calling the composite cache shutdown. this should be called via the composite

Re: [JCS] Region No longer alive so returning false for key

2015-07-10 Thread Tim Cronin
yes is see it there, but nothing about it being changed in 2.x. On Fri, Jul 10, 2015 at 4:12 PM, Thomas Vandahl t...@apache.org wrote: On 06.07.15 16:33, Tim Cronin wrote: MaxLifeSeconds has been changed to MaxLife, didn't find anything in the docs about this change. See http

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

2016-11-16 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. > >

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

2016-11-16 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 <t...@apache.org> wrote: > On 16.11.16 14:56, Tim Cronin wrote: > > when will it be accessible via

Re: [CSV] Record Separator query

2017-08-09 Thread Tim Cronin
you can extend the formats and set the delimiter that way. https://commons.apache.org/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/CSVFormat.html https://commons.apache.org/proper/commons-csv/archives/1.2/apidocs/org/apache/commons/csv/CSVFormat.html#withDelimiter-char- On