Re: JCS LateralTCPCacheFactory

2017-07-27 Thread Greg Parker
> If not, maybe someone else in the list can help. >> >> Cheers, >> >> --Russ >> >> -Original Message- >> From: Greg Parker [mailto:gmparker2...@gmail.com] >> Sent: July-27-17 10:07 AM >> To: Commons Users List >> Subject: Re: JCS Lateral

Re: JCS LateralTCPCacheFactory

2017-07-27 Thread Mat Jaggard
m] > Sent: July-27-17 10:07 AM > To: Commons Users List > Subject: Re: JCS LateralTCPCacheFactory > > Thanks Russ, > > So the TcpListenerPort value should match the tomcat port? So if tomcat > is running on port 6080 the cache.ccf on that instance should set > TcpLis

RE: JCS LateralTCPCacheFactory

2017-07-27 Thread Russell Sherk
From: Greg Parker [mailto:gmparker2...@gmail.com] Sent: July-27-17 10:07 AM To: Commons Users List Subject: Re: JCS LateralTCPCacheFactory Thanks Russ, So the TcpListenerPort value should match the tomcat port? So if tomcat is running on port 6080 the cache.ccf on that instance shoul

Re: JCS LateralTCPCacheFactory

2017-07-27 Thread Greg Parker
Thanks Russ, So the TcpListenerPort value should match the tomcat port? So if tomcat is running on port 6080 the cache.ccf on that instance should set TcpListenerPort=6080? I set things up this way and nothing seems to complain; however, now I get a SEVERE error on first access and caching is

Re: JCS LateralTCPCacheFactory

2017-07-27 Thread Russell Sherk
Hi Greg, Tomcat uses two consecutive ports. The one you specify and the next one for shutdown. E.g if you specify 8020, the shutdown port by default is 8021. Try spacing your ports out: 8020, 8022, 8024. --Russ On Jul 26, 2017 10:11 PM, Greg Parker wrote: I'm trying to get a sample cluster o

JCS LateralTCPCacheFactory

2017-07-26 Thread Greg Parker
I'm trying to get a sample cluster of tomcat servers (server A, B and C) to use a distributed cache. The ‘hello’ cache is configured on each server with a different TcpListenerPort on each server (8020, 8021, 8022) like this: jcs.region.hello=LTCP … jcs.auxiliary.LTCP=org.apache.commons.jcs.au