Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 23913 invoked from network); 24 Aug 2005 20:03:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Aug 2005 20:03:15 -0000 Received: (qmail 86904 invoked by uid 500); 24 Aug 2005 20:03:11 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 86862 invoked by uid 500); 24 Aug 2005 20:03:11 -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 86848 invoked by uid 99); 24 Aug 2005 20:03:11 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2005 13:03:11 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [128.241.244.71] (HELO chi.mobile-health-diary.com) (128.241.244.71) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 24 Aug 2005 13:03:27 -0700 Received: (qmail 21152 invoked from network); 24 Aug 2005 20:03:07 -0000 Received: from ool-43560634.dyn.optonline.net (HELO ?10.0.1.113?) (geir@67.86.6.52) by b014.internal.mobile-health-diary.com with SMTP; 24 Aug 2005 20:03:07 -0000 Mime-Version: 1.0 (Apple Message framework v733) In-Reply-To: References: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Geir Magnusson Jr." Subject: Re: User Configuration of ports, etc. Date: Wed, 24 Aug 2005 16:03:23 -0400 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.733) X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N How far does this go? Could I add things rather than override? Could I add GBeans? If changed dynamically after startup, are the new values written out at shutdown? geir On Aug 24, 2005, at 4:04 PM, Aaron Mulder wrote: > I have a change ready that lets us mark certain GBean attributes > as "manageable", meaning that we expect the user be interested in > potentially overriding that value. Then there's a service that tracks > values for some or all of these manageable attributes, currently > storing > them in an XML file. So the end result is there's a plain text file > (currently var/config/config.xml) that looks like the sample > below. The > idea is that the user could change any values in there by hand if they > like, particularly for network ports that would otherwise conflict > with > something running on their machine. > > I'm looking for feedback on this. David J seemed to largely > approve but wondered whether it would be better to store separate > config > files for each Configuration. I prefer having one unified config file > because I think it's clearer and easier to edit and cust down on > config > file sprawl. Any comments would be appreciated. > > Thanks, > Aaron > > > > > localhost > 8080 > 8443 > > > localhost > 8443 > > > localhost > 8080 > 8443 > > > localhost > 8009 > 8443 > > > localhost > 8443 > > > localhost > 4201 > > > > > localhost > 61616 > > > > > localhost > 1527 > > > > > Note: while this sample deals with network settings, we can include > any > attributes in here. > > -- Geir Magnusson Jr +1-203-665-6437 geirm@apache.org