You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Vijaya (JIRA)" <ji...@apache.org> on 2018/04/19 21:12:00 UTC

[jira] [Commented] (JCS-189) TCP lateral cache not working

    [ https://issues.apache.org/jira/browse/JCS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16444806#comment-16444806 ] 

Vijaya commented on JCS-189:
----------------------------

My issue is resolved. I was mixing configuration from two different jcs versions.

Thanks.

> TCP lateral cache not working
> -----------------------------
>
>                 Key: JCS-189
>                 URL: https://issues.apache.org/jira/browse/JCS-189
>             Project: Commons JCS
>          Issue Type: Question
>          Components: TCP Lateral Cache
>            Reporter: Vijaya
>            Priority: Minor
>
> Unable to do distributed JCS caching between two Websphere Application Servers. It does caching in one server while do not share the cache with other servers.
>  
> I am testing it like this:
> http://localhost:9081/TestA/put
> http://localhost:9080/TestB/get
> I have two cache.ccf file for each get and put methods. They are in separate webProject.
>  
> jcs.auxiliary.LTCP=org.apache.commons.jcs.auxiliary.lateral.LateralCacheFactory
> jcs.auxiliary.LTCP.attributes=org.apache.commons.jcs.auxiliary.lateral.LateralCacheAttributes
> jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP
> jcs.auxiliary.LTCP.attributes.TcpServers=localhost:11101
> jcs.auxiliary.LTCP.attributes.TcpListenerPort=11100
> jcs.auxiliary.LTCP.attributes.AllowGet=false
> jcs.auxiliary.LTCP.attributes.IssueRemoveOnPut=false
> jcs.auxiliary.LTCP.attributes.Receive=true
> jcs.auxiliary.LTCP.attributes.PutOnlyMode=false
>  
>  
> the other cache.ccf is as follows: 
> jcs.auxiliary.LTCP=org.apache.commons.jcs.auxiliary.lateral.LateralCacheFactory
> jcs.auxiliary.LTCP.attributes=org.apache.commons.jcs.auxiliary.lateral.LateralCacheAttributes
> jcs.auxiliary.LTCP.attributes.TransmissionTypeName=TCP
> jcs.auxiliary.LTCP.attributes.TcpServers=localhost:11100
> jcs.auxiliary.LTCP.attributes.TcpListenerPort=11101
> jcs.auxiliary.LTCP.attributes.AllowGet=false
> jcs.auxiliary.LTCP.attributes.IssueRemoveOnPut=false
> jcs.auxiliary.LTCP.attributes.Receive=true
> jcs.auxiliary.LTCP.attributes.PutOnlyMode=false
>  
> Is there any other configuration I need to make. How can I start my listener ports in another server. What  ports can I use? Any advice will be valuable.
> Thanks. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)