Return-Path: Delivered-To: apmail-geronimo-user-archive@www.apache.org Received: (qmail 53460 invoked from network); 5 May 2008 18:31:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 May 2008 18:31:41 -0000 Received: (qmail 39524 invoked by uid 500); 5 May 2008 18:31:43 -0000 Delivered-To: apmail-geronimo-user-archive@geronimo.apache.org Received: (qmail 38960 invoked by uid 500); 5 May 2008 18:31:42 -0000 Mailing-List: contact user-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: user@geronimo.apache.org List-Id: Delivered-To: mailing list user@geronimo.apache.org Received: (qmail 38949 invoked by uid 99); 5 May 2008 18:31:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 11:31:42 -0700 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 hcunico@gmail.com designates 74.125.46.30 as permitted sender) Received: from [74.125.46.30] (HELO yw-out-2324.google.com) (74.125.46.30) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 May 2008 18:30:56 +0000 Received: by yw-out-2324.google.com with SMTP id 2so623634ywt.85 for ; Mon, 05 May 2008 11:30:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=o5oYzKy2d7mLU6ZEaYALMiqNF73ioJ5d0C3/cX9DXX4=; b=tuq+6d3TCVo1g1OQQF7D2697aC3Ks/KveM5snoHJHQBa+kLXDBYwJGMp69NZl4IzWdopL4msMR1guYyFY+umrtQQMa+KNPlgvVxutB4k2ntPfYmH2iauQBLpTj2IkFqOlQL4EYJAx7Ow/c/oCfi7vDZI7exN5ic7avjobRds96A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=C7cIlUKXEiT6rOiyVIX7DIGgFM5SgSSB2/XIU+MgT3VNt/WhZJSs6jH47NCzj7s/yv+LuV2+arsZeEn8oFm4tvf3uEI+0q8W9qr2O+YXZkRSXf2Mx5QrnocQhPQQVdyR4hBRr/tutOOXOlH8hnmw0lSIfIrRJ1TelZwfI4D84fE= Received: by 10.150.83.41 with SMTP id g41mr6334773ybb.195.1210011829477; Mon, 05 May 2008 11:23:49 -0700 (PDT) Received: from ?192.168.1.101? ( [71.70.229.168]) by mx.google.com with ESMTPS id m6sm14180343wrm.35.2008.05.05.11.23.47 (version=SSLv3 cipher=RC4-MD5); Mon, 05 May 2008 11:23:48 -0700 (PDT) Message-ID: <481F50AE.1000603@gmail.com> Date: Mon, 05 May 2008 14:23:42 -0400 From: Hernan Cunico User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: user@geronimo.apache.org Subject: Re: Virtual Host Config and Deployment Issue References: <481CD068.6090400@johndubchak.com> In-Reply-To: <481CD068.6090400@johndubchak.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Opening the console on the two virtual hosts only confirms you can resolve the host name alias but not the virtual host configuration. The error you get at deployment time is because the deployer does not know the virtual host you specified in the plan. I would say you look into the config.xml and check if you are missing anything from the sample on the doc. You should have something like this sample right after the in the config.xml. org.apache.catalina.core.StandardHost name=example.com appBase= workDir=work That's all you need for configuring one virtual host in Geronimo with Tomcat. HTH Cheers! Hernan John wrote: > Hi, > > I've configured two virtual hosts for testing in Geronimo 2.1 running on > OS X by following the instructions at: > > http://cwiki.apache.org/GMOxDOC21/configuring-virtual-hosts-in-geronimo-tomcat.html > > > However, when I try to deploy a webapp with the following deployment plan: > > > > > com.example.hosting > ChangePassword > 2.1 > war > > > > console.dbpool > MailSystem > > > > /changePassword > example.com > > jdbc/MailSystem > jdbc/MailSystem > > > > > I receive the following exception: > > Caused by: org.apache.geronimo.gbean.InvalidConfigurationException: > Configuration com.example.hosting/ChangePassword/2.1/war failed to start > due to the following reasons: > The service > J2EEApplication=null,j2eeType=WebModule,name=com.example.hosting/ChangePassword/2.1/war > did not start because Invalid virtual host 'example.com'. Do you have a > matching Host entry in the plan? > > at > org.apache.geronimo.kernel.config.ConfigurationUtil.startConfigurationGBeans(ConfigurationUtil.java:485) > > > I can open the console application on the 2 different virtual hosts that > are configured and ping each from the command line, however, the > deployment fails. What am I missing? > > Thanks, > John >