Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 29449 invoked from network); 8 Jul 2004 00:04:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Jul 2004 00:04:16 -0000 Received: (qmail 36299 invoked by uid 500); 8 Jul 2004 00:03:58 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 36267 invoked by uid 500); 8 Jul 2004 00:03:57 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 36246 invoked by uid 99); 8 Jul 2004 00:03:57 -0000 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,FORGED_YAHOO_RCVD,SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [207.217.120.220] (HELO asmtp-a063f35.pas.sa.earthlink.net) (207.217.120.220) by apache.org (qpsmtpd/0.27.1) with ESMTP; Wed, 07 Jul 2004 17:03:56 -0700 Received: from 24-176-213-149.lb-cres.charterpipeline.net ([24.176.213.149] helo=[192.168.1.2]) by asmtp-a063f35.pas.sa.earthlink.net with asmtp (Exim 4.34) id 1BiMO1-0000TJ-Az for tomcat-user@jakarta.apache.org; Wed, 07 Jul 2004 17:03:37 -0700 Subject: Re: AGAIN: How can you deploy an application onto a specific host? From: Mark Eggers To: 'Tomcat Users List' In-Reply-To: <1089236889.13672.22.camel@phoenix.mdeggers.org> References: <1089236889.13672.22.camel@phoenix.mdeggers.org> Content-Type: text/plain Message-Id: <1089244990.13672.89.camel@phoenix.mdeggers.org> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 07 Jul 2004 17:03:10 -0700 Content-Transfer-Encoding: 7bit X-ELNK-Trace: 5a75b2a8ae8b03931aa676d7e74259b7b3291a7d08dfec797c6bfc0287c3dae134faeb05e316eabd350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 24.176.213.149 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ivan, This depends a lot on your environment. I am running 3 virtual hosts on this machine. I have used the following documentation in setting up a manager application for each virtual host. http://localhost:8080/tomcat-docs/manager-howto.html In particular, I use the following solution: Install the manager.xml context configuration file in the $CATALINA_HOME/conf/[enginename]/[hostname] folder. For example, my CATALINA_HOME is /home/tomcat, and the [enginname] is Catalina. I have multiple hosts (localhost lvh1, lvh2), so I have three subdirectories (/home/tomcat/conf/Catalina/localhost, /home/tomcat/conf/Catalina/lvh1, /home/tomcat/conf/Catalina/lvh2). In each of these subdirectories, I have a copy of balancer.xml, manager.xml, and ROOT.xml. In the localhost subdirectory I also have a copy of admin.xml. Right now I authenticate against a single user database, but I suppose that I could change that on a per virtual host basis by editing the manager.xml file. That way each virtual host could have a different manager . . . . That should be enough to get you started. /mde/ just my two cents . . . . --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org