From jcs-usersjeanneramirez@example.net Fri May 06 14:21:31 2005
Return-Path: <jcs-usersjeanneramirez@example.net>
Delivered-To: jeanneramirez@example.net
Received: (qmail 6170 invoked from network); 6 May 2005 14:21:31 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 6 May 2005 14:21:31 -0000
Received: (qmail 25666 invoked by uid 500); 6 May 2005 14:22:35 -0000
Delivered-To: jeanneramirez@example.net
Received: (qmail 25627 invoked by uid 500); 6 May 2005 14:22:35 -0000
Mailing-List: contact jeanneramirez@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:jeanneramirez@example.net>
List-Unsubscribe: <mailto:jeanneramirez@example.net>
List-Post: <mailto:jeanneramirez@example.net>
List-Id: <jcs-users.jakarta.apache.org>
Reply-To: "JCS Users List" <jeanneramirez@example.net>
Delivered-To: mailing list jeanneramirez@example.net
Received: (qmail 25613 invoked by uid 99); 6 May 2005 14:22:34 -0000
X-ASF-Spam-Status: No, hits=0.0 required=10.0
	tests=
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Received: from mail-gw-2.br-online.de (HELO mail-gw-2.br-online.de) (83.161.120.155)
  by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 06 May 2005 07:22:34 -0700
Received: from localhost (localhost.localdomain [83.161.120.155])
	by mail-gw-2.br-online.de (Postfix) with ESMTP id 023937D417C
	for <jeanneramirez@example.net>; Fri,  6 May 2005 16:19:48 +0200 (CEST)
Received: from mail-gw-2.br-online.de ([83.161.120.155])
 by localhost (mail-gw.br-online.de [83.161.120.155]) (amavisd-new, port 10024)
 with ESMTP id 24321-07 for <jeanneramirez@example.net>;
 Fri,  6 May 2005 16:19:47 +0200 (CEST)
Received: from mail.br-online.de (nuts-57.br-online.de [83.161.120.155])
	by mail-gw-2.br-online.de (Postfix) with ESMTP id 007E57D417E
	for <jeanneramirez@example.net>; Fri,  6 May 2005 16:19:47 +0200 (CEST)
Received: from [83.161.120.155] (hawlitzek.br.de [83.161.120.155])
	by mail.br-online.de (Postfix) with ESMTP id CE94C20A312
	for <jeanneramirez@example.net>; Fri,  6 May 2005 16:19:42 +0200 (CEST)
Message-ID: <jeanneramirez@example.net>
Date: Fri, 06 May 2005 16:19:46 +0200
From: Florian Hawlitzek <jeanneramirez@example.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, de, en
MIME-Version: 1.0
To: jeanneramirez@example.net
Subject: TCP server config in lateral cache
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: jeanneramirez@example.net
X-Virus-Checked: Checked
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

Hi,

I've the same problem with the identical configuration file in the war 
file throughout several servers
as some of the other folks here.
I would like to write the suggested servlet to set
    jcs.auxiliary.LTCP.attributes.TcpServers
individually at each server.

But how can I access this attribute from within my servlet?

Thanks,
Florian Hawlitzek.


---------------------------------------------------------------------
To unsubscribe, e-mail: jeanneramirez@example.net
For additional commands, e-mail: jeanneramirez@example.net


From jcs-usersjeanneramirez@example.net Fri May 06 21:10:08 2005
Return-Path: <jcs-usersjeanneramirez@example.net>
Delivered-To: jeanneramirez@example.net
Received: (qmail 29573 invoked from network); 6 May 2005 21:10:08 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 6 May 2005 21:10:08 -0000
Received: (qmail 73769 invoked by uid 500); 6 May 2005 21:12:55 -0000
Delivered-To: jeanneramirez@example.net
Received: (qmail 73752 invoked by uid 500); 6 May 2005 21:12:54 -0000
Mailing-List: contact jeanneramirez@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:jeanneramirez@example.net>
List-Unsubscribe: <mailto:jeanneramirez@example.net>
List-Post: <mailto:jeanneramirez@example.net>
List-Id: <jcs-users.jakarta.apache.org>
Reply-To: "JCS Users List" <jeanneramirez@example.net>
Delivered-To: mailing list jeanneramirez@example.net
Received: (qmail 73737 invoked by uid 99); 6 May 2005 21:12:54 -0000
X-ASF-Spam-Status: No, hits=2.2 required=10.0
	tests=FORGED_YAHOO_RCVD
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Received: from web30514.mail.mud.yahoo.com (HELO web30514.mail.mud.yahoo.com) (83.161.120.155)
  by apache.org (qpsmtpd/0.28) with SMTP; Fri, 06 May 2005 14:12:54 -0700
Received: (qmail 20633 invoked by uid 60001); 6 May 2005 21:10:02 -0000
Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
  s=s1024; d=yahoo.com;
  b=he9FzuiZw67kzvRj6HtUH7D4uJLsj+AvN5x0WYDRj0utvuZKKKgxU5ElfNxeSnFDtzxGvEGCwXVG2WUVYk9ow+oZOD1lrneD2uFTkE0DLCTl3Ha35ZlVtcY6PgWMsBiRVKer6x01Sh6sWOyOmm/iCJ//5r5tpnZPFk3Gngc9J9A=  ;
Message-ID: <jeanneramirez@example.net>
Received: from [83.161.120.155] by web30514.mail.mud.yahoo.com via HTTP; Fri, 06 May 2005 14:10:02 PDT
Date: Fri, 6 May 2005 14:10:02 -0700 (PDT)
From: Aaron Smuts <jeanneramirez@example.net>
Subject: Re: TCP server config in lateral cache
To: JCS Users List <jeanneramirez@example.net>
In-Reply-To: 6667
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Virus-Checked: Checked
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

One way is to load up the JCS props file, modify the
values and then initialize JCS.


--- Florian Hawlitzek <jeanneramirez@example.net>
wrote:
> Hi,
> 
> I've the same problem with the identical
> configuration file in the war 
> file throughout several servers
> as some of the other folks here.
> I would like to write the suggested servlet to set
>     jcs.auxiliary.LTCP.attributes.TcpServers
> individually at each server.
> 
> But how can I access this attribute from within my
> servlet?
> 
> Thanks,
> Florian Hawlitzek.
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> jeanneramirez@example.net
> For additional commands, e-mail:
> jeanneramirez@example.net
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: jeanneramirez@example.net
For additional commands, e-mail: jeanneramirez@example.net


From jcs-usersjeanneramirez@example.net Tue May 10 13:02:08 2005
Return-Path: <jcs-usersjeanneramirez@example.net>
Delivered-To: jeanneramirez@example.net
Received: (qmail 2555 invoked from network); 10 May 2005 13:02:07 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 10 May 2005 13:02:07 -0000
Received: (qmail 14816 invoked by uid 500); 10 May 2005 13:04:02 -0000
Delivered-To: jeanneramirez@example.net
Received: (qmail 14765 invoked by uid 500); 10 May 2005 13:04:01 -0000
Mailing-List: contact jeanneramirez@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:jeanneramirez@example.net>
List-Unsubscribe: <mailto:jeanneramirez@example.net>
List-Post: <mailto:jeanneramirez@example.net>
List-Id: <jcs-users.jakarta.apache.org>
Reply-To: "JCS Users List" <jeanneramirez@example.net>
Delivered-To: mailing list jeanneramirez@example.net
Received: (qmail 14732 invoked by uid 99); 10 May 2005 13:04:01 -0000
X-ASF-Spam-Status: No, hits=0.0 required=10.0
	tests=
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: local policy)
Received: from mail-gw-1.br-online.de (HELO mail-gw-1.br-online.de) (83.161.120.155)
  by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 10 May 2005 06:04:01 -0700
Received: from localhost (localhost.localdomain [83.161.120.155])
	by mail-gw-1.br-online.de (Postfix) with ESMTP id AA5E37D4047
	for <jeanneramirez@example.net>; Tue, 10 May 2005 15:00:12 +0200 (CEST)
Received: from mail-gw-1.br-online.de ([83.161.120.155])
 by localhost (mail-gw.br-online.de [83.161.120.155]) (amavisd-new, port 10024)
 with ESMTP id 32258-03 for <jeanneramirez@example.net>;
 Tue, 10 May 2005 15:00:12 +0200 (CEST)
Received: from mail.br-online.de (nuts-57.br-online.de [83.161.120.155])
	by mail-gw-1.br-online.de (Postfix) with ESMTP id E44B77D40A6
	for <jeanneramirez@example.net>; Tue, 10 May 2005 15:00:11 +0200 (CEST)
Received: from [83.161.120.155] (hawlitzek.br.de [83.161.120.155])
	by mail.br-online.de (Postfix) with ESMTP id 0F30A20B4DD
	for <jeanneramirez@example.net>; Tue, 10 May 2005 15:00:04 +0200 (CEST)
Message-ID: <jeanneramirez@example.net>
Date: Tue, 10 May 2005 15:00:11 +0200
From: Florian Hawlitzek <jeanneramirez@example.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
X-Accept-Language: en-us, de, en
MIME-Version: 1.0
To: JCS Users List <jeanneramirez@example.net>
Subject: Re: TCP server config in lateral cache
References: <jeanneramirez@example.net>
In-Reply-To: <jeanneramirez@example.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: jeanneramirez@example.net
X-Virus-Checked: Checked
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

Hi Araon,

I did it this way:
                CompositeCacheManager cacheMgr = 
CompositeCacheManager.getUnconfiguredInstance();
                Properties props = new Properties();
                InputStream is = 
ConfigurationHelper.getConfigFile(CACHE_CONFIG_FILE);
                props.load( is );
                String lateralServers = 
props.getProperty("jcs.auxiliary.LTCP.attributes.TcpServers");
                [...] // fix and save attribute
                cacheMgr.configure(props);
                cache = JCS.getInstance("myCache");

and it works!

Thanks,
Florian.

Aaron Smuts wrote:

>One way is to load up the JCS props file, modify the
>values and then initialize JCS.
>
>
>--- Florian Hawlitzek <jeanneramirez@example.net>
>wrote:
>  
>
>>Hi,
>>
>>I've the same problem with the identical
>>configuration file in the war 
>>file throughout several servers
>>as some of the other folks here.
>>I would like to write the suggested servlet to set
>>    jcs.auxiliary.LTCP.attributes.TcpServers
>>individually at each server.
>>
>>But how can I access this attribute from within my
>>servlet?
>>
>>Thanks,
>>Florian Hawlitzek.
>>    
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: jeanneramirez@example.net
For additional commands, e-mail: jeanneramirez@example.net


From jcs-usersjeanneramirez@example.net Wed May 11 07:37:11 2005
Return-Path: <jcs-usersjeanneramirez@example.net>
Delivered-To: jeanneramirez@example.net
Received: (qmail 33972 invoked from network); 11 May 2005 07:37:10 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 11 May 2005 07:37:10 -0000
Received: (qmail 94781 invoked by uid 500); 11 May 2005 07:39:26 -0000
Delivered-To: jeanneramirez@example.net
Received: (qmail 94582 invoked by uid 500); 11 May 2005 07:39:22 -0000
Mailing-List: contact jeanneramirez@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:jeanneramirez@example.net>
List-Unsubscribe: <mailto:jeanneramirez@example.net>
List-Post: <mailto:jeanneramirez@example.net>
List-Id: <jcs-users.jakarta.apache.org>
Reply-To: "JCS Users List" <jeanneramirez@example.net>
Delivered-To: mailing list jeanneramirez@example.net
Received: (qmail 94182 invoked by uid 99); 11 May 2005 07:39:13 -0000
X-ASF-Spam-Status: No, hits=0.2 required=10.0
	tests=HTML_00_10,HTML_MESSAGE,RCVD_BY_IP
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: domain of jeanneramirez@example.net designates 83.161.120.155 as permitted sender)
Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (83.161.120.155)
  by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 11 May 2005 00:39:10 -0700
Received: by rproxy.gmail.com with SMTP id a41so22743rng
        for <jeanneramirez@example.net>; Wed, 11 May 2005 00:35:29 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type;
        b=h/yqZDCgWeuq6Uan70+T0ci5nG/6iTaAQzcay4luJrzIXzzB5+VTDeTmE6v8cFIjRE+AqtkeC66ZjJKZ4JoRy+YI8lsarZk9Rhtsemj/XPR6pRxZmGSLtPNDoNlyblYqcCUXqBF8NexisI0c0ahE8S4xitRqcKtST8SSGQbHE7M=
Received: by 83.161.120.155 with SMTP id t62mr113537rna;
        Wed, 11 May 2005 00:35:29 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 11 May 2005 00:35:29 -0700 (PDT)
Message-ID: <jeanneramirez@example.net>
Date: Wed, 11 May 2005 15:35:29 +0800
From: Hariprasath Manivannan <jeanneramirez@example.net>
Reply-To: Hariprasath Manivannan <jeanneramirez@example.net>
To: jeanneramirez@example.net, jeanneramirez@example.net
Subject: Query regarding remote cache
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_193_22160586.(544)468-3419"
X-Virus-Checked: Checked
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

------=_Part_193_22160586.(544)468-3419
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I am planning to use the remote cache feature of JCS in my J2EE based=20
application. Basically my core application is a static data-store. Since th=
e=20
data is static, I decided to use the remote cache feature as this can reduc=
e=20
the RMI calls and network traffic.

Now if I have a cache and both server side and client side, then I may face=
=20
issue during the remote caches synchronization. The server side cache will=
=20
be a global cache containing all the cached objects. This is fine. But once=
=20
synchronization is complete, the client cache's will become similar in=20
content to the server side cache. So for any given client application cache=
=20
will be holding data which is not relevant to that application.

Is there any way where by I still maintain the remote cache, but synchroniz=
e=20
with primary cache server "selectively" - based on a application ID or=20
something like that.

Regards,
Hari

------=_Part_193_22160586.(544)468-3419--

From jcs-usersjeanneramirez@example.net Wed May 11 11:09:46 2005
Return-Path: <jcs-usersjeanneramirez@example.net>
Delivered-To: jeanneramirez@example.net
Received: (qmail 24903 invoked from network); 11 May 2005 11:09:46 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155)
  by minotaur.apache.org with SMTP; 11 May 2005 11:09:46 -0000
Received: (qmail 3596 invoked by uid 500); 11 May 2005 11:13:26 -0000
Delivered-To: jeanneramirez@example.net
Received: (qmail 3558 invoked by uid 500); 11 May 2005 11:13:24 -0000
Mailing-List: contact jeanneramirez@example.net; run by ezmlm
Precedence: bulk
List-Help: <mailto:jeanneramirez@example.net>
List-Unsubscribe: <mailto:jeanneramirez@example.net>
List-Post: <mailto:jeanneramirez@example.net>
List-Id: <jcs-users.jakarta.apache.org>
Reply-To: "JCS Users List" <jeanneramirez@example.net>
Delivered-To: mailing list jeanneramirez@example.net
Received: (qmail 3530 invoked by uid 99); 11 May 2005 11:13:24 -0000
X-ASF-Spam-Status: No, hits=0.1 required=10.0
	tests=HTML_40_50,HTML_MESSAGE,RCVD_BY_IP
X-Spam-Check-By: apache.org
Received-SPF: pass (hermes.apache.org: domain of jeanneramirez@example.net designates 83.161.120.155 as permitted sender)
Received: from rproxy.gmail.com (HELO rproxy.gmail.com) (83.161.120.155)
  by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 11 May 2005 04:13:23 -0700
Received: by rproxy.gmail.com with SMTP id a41so41533rng
        for <jeanneramirez@example.net>; Wed, 11 May 2005 04:09:40 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references;
        b=UpDGPgk79fSsfUc9HZzGX627cPGxwCHbSVd7t4S91v5Ec5rMht9WNPJVG9m08s2d/t5xxqzuXB5Sx7xMNy4oiSzMTVWbA40MKoG4/jXWnd+cJ1dnAlGoqtkF8SfVvtIWgdWSCC91TrVaNOg6qxLboBOQ+0yCrYmeZMU5ZUy45n8=
Received: by 83.161.120.155 with SMTP id 75mr193152rnf;
        Wed, 11 May 2005 04:09:40 -0700 (PDT)
Received: by 83.161.120.155 with HTTP; Wed, 11 May 2005 04:09:40 -0700 (PDT)
Message-ID: <jeanneramirez@example.net>
Date: Wed, 11 May 2005 19:09:40 +0800
From: Hariprasath Manivannan <jeanneramirez@example.net>
Reply-To: Hariprasath Manivannan <jeanneramirez@example.net>
To: JCS Developers List <jeanneramirez@example.net>, 
	jeanneramirez@example.net
Subject: Fwd: Cache Problem
In-Reply-To: <jeanneramirez@example.net>
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_318_29843573.(544)468-3419"
References: <jeanneramirez@example.net>
X-Virus-Checked: Checked
X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N

------=_Part_318_29843573.(544)468-3419
Content-Type: multipart/alternative; 
	boundary="----=_Part_319_9296552.(544)468-3419"

------=_Part_319_9296552.(544)468-3419
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi All,
 I have attached a wor doc to explain the issue with the Remote cache=20
synchronization.
 Regards,
Hari

------=_Part_319_9296552.(544)468-3419
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<div>Hi All,</div>
<div>&nbsp;</div>
<div>I have attached a wor doc to explain the issue with the Remote cache s=
ynchronization.</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Hari<br>&nbsp;</div>
------=_Part_319_9296552.(544)468-3419--


------=_Part_318_29843573.(544)468-3419
Content-Type: text/plain; charset=us-ascii

---------------------------------------------------------------------
To unsubscribe, e-mail: jeanneramirez@example.net
For additional commands, e-mail: jeanneramirez@example.net
------=_Part_318_29843573.(544)468-3419--


{'source': 'Apache Software Foundation Public Mail Archives'}