Return-Path: Delivered-To: apmail-jakarta-jcs-users-archive@www.apache.org Received: (qmail 59515 invoked from network); 15 May 2008 22:40:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 May 2008 22:40:28 -0000 Received: (qmail 20518 invoked by uid 500); 15 May 2008 22:40:30 -0000 Delivered-To: apmail-jakarta-jcs-users-archive@jakarta.apache.org Received: (qmail 20501 invoked by uid 500); 15 May 2008 22:40:29 -0000 Mailing-List: contact jcs-users-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Users List" Delivered-To: mailing list jcs-users@jakarta.apache.org Received: (qmail 20490 invoked by uid 99); 15 May 2008 22:40:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 May 2008 15:40:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [209.191.125.82] (HELO web38706.mail.mud.yahoo.com) (209.191.125.82) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 15 May 2008 22:39:42 +0000 Received: (qmail 98488 invoked by uid 60001); 15 May 2008 22:39:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=0uedM6q5wB23igKmOfkVZAZsxPhvy6Aa8d8pX7XUfUJNgpPs8OrigY7IAyk1KVaYEy4Rleftl/quDXk+lsrlRWtsDRgcWUkdqs2gYngn0j8WiSsyNJPYTB7oHW8K3if3MTxOVwUpRoXV7VMnTcbjzNO9epVxa8tzsPk/UtjVYDQ=; X-YMail-OSG: MBeQWysVM1ljqo_qWEKa3T1RGUQmq1xuEvTzU54LC8GPY3Bm4uQUOWwO3RCJObBzyx_Ehx2fwrIXX7PzuPIZTfL8f.RmKCwRHmRw Received: from [208.120.39.220] by web38706.mail.mud.yahoo.com via HTTP; Thu, 15 May 2008 15:39:56 PDT Date: Thu, 15 May 2008 15:39:56 -0700 (PDT) From: Aaron Smuts Subject: Re: Re-configure Remote cache Aux To: JCS Users List In-Reply-To: <44DC92EAB59D6349BE59680A21B84816017B62C4@TAIS-ML-P01.na.toshiba-dpg.local> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <697868.98145.qm@web38706.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org "Hot" configuration changes are not supported. You can change the default region attributes, but once configured, you cannot reliably change any auxiliary settings. A restart is currently required. I'm working on a way to make it possible to change auxiliary configurations on the fly. I have setups that use a dozen remote server boxes, partitioning the data between half a dozen clusters. I too would like to make it possible to change an ip address or port on the fly. Aaron --- "Mohammed, Yaseen " wrote: > Hi, > > > > I am using JCS with a RemoteCache auxiliary and > failover servers. I am > on jcs1.3 and jdk 1.4 > > I am trying to reconfigure CompositeCacheManager > without restarting the > server. > > For instance, changing the port number for the > failover server without > needing an application restart. > > > > Here is the code snippet > > cacheMgr = > CompositeCacheManager.getInstance(); > > cacheMgr.release(); > > cacheMgr.shutDown(); > > try{ > > Thread.sleep(10000); > > } catch (InterruptedException e) { } > > cacheMgr = > CompositeCacheManager.getUnconfiguredInstance(); > > cacheMgr.configure("/cache.ccf"); > > > > I observed that "shutdown" call flags the listeners > on remote cache > server as "not working". [Any "put"s, "remove"s are > not queued up for > these listeners, once these are marked as "not > working"] > > However, after reconfiguring the cache manager, the > old listener id is > re-assigned to the cache regions at the client. > > From this point onwards any "remove"s on the remote > cache server are not > propagated to the client. > > > > After reconfiguring cache manager, I would expect a > new listener Id to > be assigned and the client to be treated as a new > client to the remote > cache server. > > After going through all the mail-archives in this > group, I found a > reference that suggests that shutdown does not > release auxiliaries like > remote and lateral caches. > > If yes, was this issue fixed? > > > > Thanks in advance, > > YM > > > > ________________________________ > This message may contain confidential information. > If you are not the intended recipient of this > e-mail, do not disseminate, distribute or copy this > e-mail and delete this e-mail from your system. > --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-users-help@jakarta.apache.org