Return-Path: Delivered-To: apmail-jakarta-jcs-dev-archive@www.apache.org Received: (qmail 43236 invoked from network); 22 Sep 2005 11:28:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Sep 2005 11:28:58 -0000 Received: (qmail 49465 invoked by uid 500); 22 Sep 2005 11:28:58 -0000 Delivered-To: apmail-jakarta-jcs-dev-archive@jakarta.apache.org Received: (qmail 49385 invoked by uid 500); 22 Sep 2005 11:28:57 -0000 Mailing-List: contact jcs-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "JCS Developers List" Delivered-To: mailing list jcs-dev@jakarta.apache.org Received: (qmail 49372 invoked by uid 500); 22 Sep 2005 11:28:57 -0000 Delivered-To: apmail-jakarta-turbine-jcs-dev@jakarta.apache.org Received: (qmail 49369 invoked by uid 99); 22 Sep 2005 11:28:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 04:28:57 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [81.19.200.19] (HELO macaw.verisign.com) (81.19.200.19) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Sep 2005 04:29:04 -0700 Received: from BER1WNEXCN01.vcorp.ad.vrsn.com (mailhost.verisign.com [10.35.12.41]) by macaw.verisign.com (8.12.11/8.12.11) with ESMTP id j8MBQaPM010052 for ; Thu, 22 Sep 2005 13:26:37 +0200 Received: from BER1WNEXMB02.vcorp.ad.vrsn.com ([10.35.12.47]) by BER1WNEXCN01.vcorp.ad.vrsn.com with Microsoft SMTPSVC(6.0.3790.211); Thu, 22 Sep 2005 13:28:31 +0200 x-mimeole: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Subject: JCS remote server can't be shutdown (?) Date: Thu, 22 Sep 2005 13:28:30 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: JCS remote server can't be shutdown (?) Thread-Index: AcW/aMH9qdI4a2uyTNSbe8lcbp76Bw== From: "Nentwig, Timo" To: X-OriginalArrivalTime: 22 Sep 2005 11:28:31.0021 (UTC) FILETIME=[C27A0DD0:01C5BF68] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi! This applies to JCS 1.2.6.5: While RemoteCacheServerFactory -stats 1102 /remote.cache.ccf=20 works perfectly the same for -shutdown does not (-> connection refused). Looking at RemoteCacheServerFactory.main() you'll find that the code for -stats and -shutdown does quite the same but looks slightly different (-shutdown appears to be older). 1) You can't specify the RMI port, but in order to lookup the Registry Registry.REGISTRY_PORT=3D=3D1099 is used anyway. 2) admin.shutdown() will use Registry.REGISTRY_PORT as well and for shutdown(host, port) we don't have the host, i.e. there's code missing to either take the host from CLI or from Properties. But this isn't done. So, I wonder how it is supposed to work at all? Applying the above mentioned changes the server is shut down but I get an UnmarshalException anyway: 22.09.2005 12:37:30 org.apache.jcs.auxiliary.remote.server.RemoteCacheServerFactory main SCHWERWIEGEND: java.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:=20 java.net.SocketException: Connection reset --------------------------------------------------------------------- To unsubscribe, e-mail: jcs-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: jcs-dev-help@jakarta.apache.org