Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 44463 invoked from network); 19 Oct 2006 20:54:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Oct 2006 20:54:04 -0000 Received: (qmail 76602 invoked by uid 500); 19 Oct 2006 20:54:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 76562 invoked by uid 500); 19 Oct 2006 20:54:01 -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 76551 invoked by uid 99); 19 Oct 2006 20:54:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 13:54:00 -0700 X-ASF-Spam-Status: No, hits=1.7 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_IN_SORBS_WEB,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of hcunico@gmail.com designates 66.249.82.226 as permitted sender) Received: from [66.249.82.226] (HELO wx-out-0506.google.com) (66.249.82.226) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Oct 2006 13:53:59 -0700 Received: by wx-out-0506.google.com with SMTP id t15so759280wxc for ; Thu, 19 Oct 2006 13:53:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=gV8qbkWS6FdutH/9o0wDgqGUoYDbNe86BCsdE2Gn1ajKm530Hpo3XDYaRHVpocCXjSyF1TUOlcWAn4mq9Zo862r/gCBsmdXhjtI/erV0aJtkLAtTt+tcDHScMZs+4LL9wzL6aO98wrwn4s/NdT5dNmMAFC5ED17jfXFyiWj1Its= Received: by 10.90.52.18 with SMTP id z18mr581999agz; Thu, 19 Oct 2006 13:53:38 -0700 (PDT) Received: from ?9.27.40.84? ( [129.33.49.251]) by mx.google.com with ESMTP id 65sm2735211wra.2006.10.19.13.53.37; Thu, 19 Oct 2006 13:53:38 -0700 (PDT) Message-ID: <4537E5CF.5020706@gmail.com> Date: Thu, 19 Oct 2006 16:53:35 -0400 From: Hernan Cunico User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: dev@geronimo.apache.org Subject: Re: deploying apps to a specific port References: <4537D6F0.9090503@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for the quick reply David. This is the geronimo-web.xml I tried and it worked but I am also creating a new virtual host. It didn't look right when I first tried it and you just confirmed this is not the right way to do it. However all my attempts to define a new container and connector failed to deploy or to start if I wasn't also defining a whole new virtual host. Any pointer for where "cut" this plan? Thanks in advance. samples.applications HelloWorldApp 1.1 /hello1 TomcatWebContainer1 HTTP localhost 8081 8192 150 25 75 false 8453 100 20000 false TomcatWebContainer1 var/catalina TomcatEngine1 ServerInfo TomcatWebManager org.apache.geronimo.tomcat.TomcatEngine name=Geronimo1 TomcatHost1 TomcatHost1 TomcatJAASRealm org.apache.catalina.core.StandardHost name=localhost appBase= workDir=work Cheers! Hernan David Jencks wrote: > > On Oct 19, 2006, at 12:50 PM, Hernan Cunico wrote: > >> Hi All, >> is there a way to deploy a particular application to a specific port >> without having to define an entirely new virtual host? > > AFAICT the only way to get app-per-port binding in either tomcat or > jetty is to define an entire web container + connector(s) for each port > and deploy each app to connect to the appropriate web container. This > mimics the setups I've seen in tomcat server.xml files and IIUC from > conversations with gregw is also the correct approach for jetty. So, a > new virtual host is not enough or correct. >> >> is it possible to point/bind to a specific (already defined) web >> connector? > > The web-container element in the geronimo plan lets you specify the web > container you want to deploy on. You can't specify a web connector in > any way and it doesn't make sense to try to in either the tomcat or > jetty architectures. > > thanks > david jencks > >> >> Cheers! >> Hernan > >