jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giriraj <giriraj.vengurle...@gmail.com>
Subject Lateral TCPCache issue
Date Mon, 30 Oct 2006 23:56:27 GMT

Hi

I am trying to configure a TCP Lateral cache using the following config
parameters


jcs.auxiliary.LTCP=org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory
jcs.auxiliary.LTCP.attributes=org.apache.jcs.auxiliary.lateral.socket.tcp.TCPLateralCacheAttributes
jcs.auxiliary.LTCP.attributes.TcpServers=localhost:7010
jcs.auxiliary.LTCP.attributes.TcpListenerPort=7011
jcs.auxiliary.LTCP.attributes.Receive=true
jcs.auxiliary.LTCP.attributes.AllowGet=false
jcs.auxiliary.LTCP.attributes.IssueRemoveOnPut=false
jcs.auxiliary.LTCP.attributes.FilterRemoveByHashCode=false

I get the following error. 

I am testing with 2 JVMs on same machine but the error comes when i start my
first VM. 

The second VM will only have changes in the TCPListenerPort and TCPServers
parameters.

-giriraj


2006-10-30 15:50:09,031 ERROR [main] tcp.LateralTCPService - Could not
create s
nder to [localhost:7010] -- Socket is null, cannot connect to localhost:7010
2006-10-30 15:50:09,031 ERROR [main] tcp.LateralTCPCacheManager - Failure,
late
al instance will use zombie service
java.io.IOException: Socket is null, cannot connect to localhost:7010
        at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPSender.init(La
eralTCPSender.java:137)
        at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPSender.<init>(
ateralTCPSender.java:110)
        at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPService.<init>
LateralTCPService.java:70)
        at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager.<
nit>(LateralTCPCacheManager.java:164)
        at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheManager.g
tInstance(LateralTCPCacheManager.java:105)
        at
org.apache.jcs.auxiliary.lateral.socket.tcp.LateralTCPCacheFactory.c
eateCache(LateralTCPCacheFactory.java:81)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseAuxili
ry(CompositeCacheConfigurator.java:551)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion
CompositeCacheConfigurator.java:343)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion
CompositeCacheConfigurator.java:264)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.parseRegion
(CompositeCacheConfigurator.java:241)
        at
org.apache.jcs.engine.control.CompositeCacheConfigurator.doConfigure
CompositeCacheConfigurator.java:136)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(Compos
teCacheManager.java:311)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(Compos
teCacheManager.java:255)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(Compos
teCacheManager.java:242)
        at
org.apache.jcs.engine.control.CompositeCacheManager.configure(Compos
teCacheManager.java:191)
        at
org.apache.jcs.engine.control.CompositeCacheManager.getInstance(Comp
siteCacheManager.java:119)
        at org.apache.jcs.JCS.ensureCacheManager(JCS.java:99)
        at org.apache.jcs.JCS.getInstance(JCS.java:64)
        at
com.serus.common.caching.jcs.JCSCacheFactory.getCache(JCSCacheFactor
.java:42)
        at
com.serus.common.caching.CacheManager.createCache(CacheManager.java:
63)
        at
com.serus.common.caching.CacheManager.getCache(CacheManager.java:71)
        at
com.serus.common.caching.CacheManager.getCache(CacheManager.java:65)
        at
com.serus.common.caching.ProductReadCacheTest.setUp(ProductReadCache
est.java:59)
-- 
View this message in context: http://www.nabble.com/Lateral-TCPCache-issue-tf2542979.html#a7085643
Sent from the JCS - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message