Return-Path: Delivered-To: apmail-incubator-geronimo-dev-archive@www.apache.org Received: (qmail 32186 invoked from network); 11 Jan 2004 07:27:06 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 11 Jan 2004 07:27:06 -0000 Received: (qmail 10903 invoked by uid 500); 11 Jan 2004 07:26:33 -0000 Delivered-To: apmail-incubator-geronimo-dev-archive@incubator.apache.org Received: (qmail 10842 invoked by uid 500); 11 Jan 2004 07:26:32 -0000 Mailing-List: contact geronimo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: geronimo-dev@incubator.apache.org Delivered-To: mailing list geronimo-dev@incubator.apache.org Received: (qmail 10413 invoked from network); 11 Jan 2004 07:26:29 -0000 Received: from unknown (HELO jetty.mortbay.com) (209.235.192.112) by daedalus.apache.org with SMTP; 11 Jan 2004 07:26:29 -0000 Received: (qmail 17219 invoked from network); 11 Jan 2004 07:26:40 -0000 Received: from cpe-203-45-72-167.nsw.bigpond.net.au (HELO mortbay.com) (gregw@203.45.72.167) by jetty.mortbay.com with SMTP; 11 Jan 2004 07:26:40 -0000 Message-ID: <4000FAA6.5030802@mortbay.com> Date: Sun, 11 Jan 2004 18:26:30 +1100 From: Greg Wilkins User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 X-Accept-Language: en MIME-Version: 1.0 To: geronimo-dev@incubator.apache.org Subject: Re: Lets finish conversion to GeronimoMBean, or, no more code rot. References: <38850552-3769-11D8-8F72-003065F4889C@coredevelopers.net> <3FFB26FF.4090408@coredevelopers.net> <3FFB390E.3050507@coredevelopers.net> In-Reply-To: <3FFB390E.3050507@coredevelopers.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Jeremy Boynes wrote: > > Is it enough just to have deployer specific vendor DDs e.g. > geronimo-jetty.xml and geronimo-tomcat.xml? This would seem like an easy > way to separate them out - if you have both DDs and both deployers then > the container arbitrarily chooses one. Nope - firstly it is our intent that 99% of deployments will not need any geronimo-jetty.xml or geronimo-tomcat.xml files. The configuration should be the same for both and the user should not know which implementation is being used. Also, the more common usage of this will not be to run a tomcat and a jetty. The use-case to think about is and administration interface. If you want an admin webapp to only be available on a particular interface, then you would create a webcontainer, give it a connector for that particular interface and then deploy the admin webapp to that container. So more often than not the selection of webcontainer will be by name rather than type. I guess the solution is to have in the geronimo-web.xml and optional element to specify the ObjectName of the target container. However as we need to do similar things for webConnectors and weblogs and session managers etc. etc. then it would be good to have a generic geronimo mechanism that would allow an entity being deployed to provide input into selecting between multiple possible containers. So I agree that it is good to have split out the deployer from the container, but I still would like to see a general solution to this use-case. I'll have a look at davids checks-ins and see if I have any more concrete suggestions. cheers