Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 57669 invoked from network); 19 May 2009 21:58:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 May 2009 21:58:40 -0000 Received: (qmail 88681 invoked by uid 500); 19 May 2009 19:25:17 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 81207 invoked by uid 500); 19 May 2009 19:23:59 -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 78895 invoked by uid 99); 19 May 2009 18:54:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 18:54:03 +0000 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: domain of linsun.unc@gmail.com designates 209.85.218.163 as permitted sender) Received: from [209.85.218.163] (HELO mail-bw0-f163.google.com) (209.85.218.163) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2009 18:53:53 +0000 Received: by bwz7 with SMTP id 7so4383314bwz.19 for ; Tue, 19 May 2009 11:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Cwm4NbQ9ZJQNB7BH5zW1V7Ok3wKNxDVpdngMkeW6YRA=; b=fHADJ7EjAUSvegrMqh6nwog5Pcb3L0rZ0VXWp24+XMUd2Zdp70RHYzg4/YTpoAThmS dDgStRDZfGZD7ZvPcvEFAFxhIBtB9AUIcGUl8mFwYpMxCZdHi0cxhMoqPFkhCOayPOgF JgbUkCEyErE+XMmnje1R6ip1W9QrohAm6O/3M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=U0eARtnTdqtdUprtjV91PNVMWXaFeo+ZVj/hgmbYKAtuBvi90y7Xle3qViWoJCrUDR 1h/uRrexLudqfKqDmd/o1Tq4RIP7e4Dg7ZkINAHnQggoJU7xtFO5MfAlATQqTLtf1CMw 1iKwV4mYfIeA0wXj8w9uZ0LLA1yF2LIyT+0gw= MIME-Version: 1.0 Received: by 10.223.113.132 with SMTP id a4mr354371faq.75.1242759212215; Tue, 19 May 2009 11:53:32 -0700 (PDT) In-Reply-To: <4A11BBDB.1010101@gmail.com> References: <4A11BBDB.1010101@gmail.com> Date: Tue, 19 May 2009 14:53:32 -0400 Message-ID: Subject: Re: Possible for G to directly consume a Tomcat server config w/o changes? From: Lin Sun To: dev@geronimo.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org One quick way would be allow users to start a tomcat server from a geronimo tomcat javaee5 assembly or little G tomcat assembly(say geronimo.sh start tomcatOnly=true). It is possible to just launch the tomcat server, and read the configuration files (conf/server.xml, etc) and start a tomcat server from a geronimo tomcat assembly, by using the Catalina.java provided by tomcat. But this server/app would have no relationship with geronimo, other than using the jars provided by the geronimo tomcat assembly. The deployed app would be tracked only by tomcat, and not by geronimo. We should be able to achieve this without adding any new jars. If we need more than that, I can for seen the following issues that need investigation - 1. We'll have to provide better server integration with tomcat and be able to read the server configuration from tomcat's server configuration files, along with using config.xml configurations. 2. We'll have to migrate user's app automatically for the user, when the user's app is a bit complicated that contains any need to require a geronimo-web.xml Lin On Mon, May 18, 2009 at 3:49 PM, Bill Stoddard wrote: > I know G can't consume tomcat configs today, but is this a feature that > could be developed for G 2.2? > > Say I have an application successfully deployed and running under Tomcat.. > wouldn't it be nice if I were able to drop the tomcat server config into a > Geronimo-Tomcat assembly, start the server, deploy the app and be up and > running in seconds. I'm talking about a seamless, zero effort/zero touch > migration from Tomcat to a Geronimo-Tomcat assembly. Is it possible? If > not, what simplifying assumptions could be made to 'mostly' achieve a > zero-touch migration? > What are the primary challenges with consuming a tomcat config unchanged > with a G-Tomcat assembly? Same Q's apply for Jetty... what's 'doable' > with-in reason? > > Thanks, > Bill >