Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 392BF8406 for ; Thu, 1 Sep 2011 15:53:42 +0000 (UTC) Received: (qmail 18826 invoked by uid 500); 1 Sep 2011 15:53:41 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 18666 invoked by uid 500); 1 Sep 2011 15:53:41 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 18655 invoked by uid 99); 1 Sep 2011 15:53:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Sep 2011 15:53:40 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.136.44.62] (HELO smtp107.prem.mail.sp1.yahoo.com) (98.136.44.62) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 01 Sep 2011 15:53:34 +0000 Received: (qmail 94991 invoked from network); 1 Sep 2011 15:53:13 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=nC+cNgWGq9Ojg7QxZyr9cPuboJhY3KoPBkZnS2nQmMjBz1cO51IzyT4MgjTkaLEYj9BzKaRsSXt8JI6gjCM47LqsfDS/rubAQakPeT694AHr2AEbw9zy6LI9BfE2EnXQK5M4IwYlk2fH9VYNYbAULg0c1mb8V501SiA0ZXr+yI8= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1314892393; bh=vAltE5RPRyADg6iXPAjyGMS93TeBa24Qy6RXhk/gaz0=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Content-Transfer-Encoding:Message-Id:References:To:X-Mailer; b=dnwCNANTnYZkwIIspz3DhNw/t8xwHsN2dRRo5W90awqNaPk75MNJ07KikiG7b8ER39Eh+4ot7n7YK4XA8QbIpLDnk5o8OaBhxvQkwwxmSOWmfm3R5DU7OSrM+wGlbHIyRb1z8mSlYiYcPIKYLYa9OsWTzBLzlZaIODbxfcTesL0= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 0DXXDp8VM1k3fFbQhOxbbtw8bN8O7WYJVB7BWK5T3sb4Lhw jgxa_8JPdpSogvpBRMHW4h7NGVe1JB2rdvqj3lbc7uIz28bl06allnb93zSX DL1H6PL9WcEVTicUQSGt8wxahzgl1KeSmGxduEo9SqfzlKrTZ3H6jqEvC3Lb adMFQv7fg0Ll6syDfwTISQEKZDszqqvY4Nn5r2tr4ehKrZgIIW.VxXmWddU1 Ct3BcJbYybeE5pfXuxP324v0Hqdw_Enh1H8pwr_aiFSmNAp8_73li2tV3ulb SesmJuxNfWvsuD91cDvMIBZvE86ctAUvwG67W_MeLn4cquJmImKEdeMK7weD IiXVdyw20jvNt3RhcEBLNvHRqYqCGVT.J6f2FDpIoBuqCBxs7pGYR4iC3C4A zDXZsHlTGMJz4RTWusq6UNFYWDiXQYVDbVLQ- X-Yahoo-SMTP: .9oIUzyswBANsYgUm_5uPui0skTnzGJXJQ-- Received: from [10.0.1.4] (david_jencks@76.76.148.215 with plain) by smtp107.prem.mail.sp1.yahoo.com with SMTP; 01 Sep 2011 08:53:12 -0700 PDT Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1084) Subject: Re: PortOffset for o.a.karaf.shell.ssh From: David Jencks In-Reply-To: <4E5F901C.9010906@cait.org> Date: Thu, 1 Sep 2011 08:53:11 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4E5F901C.9010906@cait.org> To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.1084) Hi Russell, I agree with what you say except that the osgi config admin service is = not related to the geronimo-specific var/config-substitution.properties = system, and I think we need to move towards using config admin instead = of a geronimo-specific admin service. osgi config admin deals with, = roughly speaking, sets of configuration info per osgi service. So to do = something like the port offset we need something that interacts with = config admin, recognizes any setting for any service that is a port, and = shifts it. If it can recognize that its a port :-) it can also report = it on demand. In a more osgi oriented future we will also need a new = way to recognize that the server is "fully started" and I guess that = could trigger listing all the used ports. thanks david jencks On Sep 1, 2011, at 7:01 AM, Russell E Glaue wrote: >=20 >=20 > On 08/31/2011 10:18 PM, Jarek Gawor wrote: >> On Wed, Aug 31, 2011 at 11:07 PM, Shawn Jiang = wrote: >>>=20 >>>=20 >>>=20 >>> We just turn it off by default, the user can still open it easily = if they >>> want. >>=20 >> Is it? What does the user need to do today to turn it back on? Modify >> the geronimo script? I think a system property set on the command = line >> wins over the property set in etc/system.properties. >=20 > Ideally > 1. the SSH Service is on by default > 2. It uses the admin config service - i.e. = var/config-substitutions.properties > 3. a command line option can turn it off or on and change the binding = port > 4. a configuration in var/config-substitutions.properties can turn it = off or on > 5. the ssh service's bind port appears in the list of services in the = server > startup output. >=20 > None of these are currently done. >=20 > The problem was expressed that though we want the ideal, no one knows = right know > how to make karaf work in this way. This means we need two = configuration files, > one for karaf and one for the rest of Geronimo if we want the SSH = service to be > configurable. This results in a non-conformity - not using a single > configuration file for all parts of the Geronimo Server. >=20 > So to avoid confusion with first-time users who are expecting the = conformity of > all services using the single configuration file, we turn the ssh = service off by > default. In this way, when Geronimo is shipped, it is shipped with = conformity in > using the single configuration file for the Geronimo Server. >=20 > Then we add a JIRA to have this issue made into the ideal = configuration. >=20 > In the mean time, those of use who are no novice with Geronimo, and = looking for > the additional service, can read and become aware of the current issue = and > modify the secondary and non-conforming configuration file to turn the = service > on and use it. >=20 >=20 > IMO - all services should conform with the config admin service, = otherwise be > turned off by default (with option to turn on) until it can be made to = conform. > In full releases, non-conformities will cause issues I think we should = avoid. If > this was a snapshot, then perhaps the non-conformity could persist, as = it did > with the ActiveMQ issue (GERONIMO-5987), though it was a show-stopper = issue for me. >=20 >=20 >>=20 >>>> Turning off the remote shell also might have some impact on GEP >>>> as there is a JIRA open on using ssh terminal in Eclipse to connect = to >>>> the server. >>>=20 >>> Because GEP will start the server with it's own way to control the = ssh >>> server. I believe the impact here is limited to GEP. >>=20 >> I was thinking about using GEP with a remote server. >>=20 >> Jarek >=20