Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 26984 invoked from network); 11 Feb 2003 03:25:27 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Feb 2003 03:25:27 -0000 Received: (qmail 18532 invoked by uid 97); 11 Feb 2003 03:27:05 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 18525 invoked from network); 11 Feb 2003 03:27:05 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 11 Feb 2003 03:27:05 -0000 Received: (qmail 25002 invoked by uid 500); 11 Feb 2003 03:25:06 -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 24958 invoked from network); 11 Feb 2003 03:25:06 -0000 Received: from iowa.coinfotech.com (HELO mailsvc.com) (209.12.32.105) by daedalus.apache.org with SMTP; 11 Feb 2003 03:25:06 -0000 Received: from [209.12.32.198] (account lmocz@galatea.com HELO galatea.com) by mailsvc.com (CommuniGate Pro SMTP 4.0.5) with ESMTP-TLS id 5977872 for tomcat-user@jakarta.apache.org; Mon, 10 Feb 2003 20:24:52 -0700 Message-ID: <3E486D17.5060101@galatea.com> Date: Mon, 10 Feb 2003 20:25:11 -0700 From: Lajos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Virtual Hosting Tomcat References: <3E4856CA.7060109@rippleimpact.com> <3E485EF6.5020106@galatea.com> <3E486632.7020205@rippleimpact.com> X-Enigmail-Version: 0.63.3.0 X-Enigmail-Supports: pgp-inline, pgp-mime 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: daedalus.apache.org 1.6.2 0/1000/N Ouch, windows. I'm not too sure - maybe someone else can provide the info. On older versions, you could edit some file like lmhosts ... I like fronting Tomcat with Apache for security reasons, but I still use virtual hosts in Tomcat. I have no idea why you are running out of memory - how much RAM do you have? It may be due to your applications more than Tomcat itself. Regards, Lajos Sangam Dash wrote: > Hi > > Thanks for the mail. > But do you know how to do that on windows machine? > The other thing is that when i add this one to the server.xml file the > tomcat runs out of memory and it gives premature end of file error > sometimes. :-[ > Is it better to have apache and tomcat both configured for this kind of > situations? :-\ > Thanks a lot > Sangam Dash :-) > Lajos wrote: > >> Hi Sangam - >> >> Looks like the examples from my FlashGuide ;) What doesn't work? One >> thing that you must make sure is that the values of the name attribute >> of the resolve to your machine. You can do this via your >> machine's DNS configuration. In the example below, mydomain0.com, >> mydomain1.com and mydomain2.com must resolve to the same machine. If >> not, the example won't work. >> >> Regards, >> >> Lajos >> >> >> Sangam Dash wrote: >> >>> Hi >>> >>> I am using tomcat for my websites. >>> I am not using apache. >>> I need to do have two websites running from the same machine with the >>> same tomcat instance. >>> i didnt get any help on the net as everything for virtual hosting is >>> with apache and tomcat combination. >>> is it possible to server two different websites from same machine >>> using only tomcat? >>> please help me out >>> >>> I tried the following >>> but it doesnt work >>> >>> added this following to the server.xml file >>> >> unpackWARs="true"> >>> >> directory="logs" prefix="mydomain0." suffix=".log" timestamp="true"/> >>> >>> >> reloadable="true"/> >>> >>> >> unpackWARs="true"> >>> >> directory="logs" prefix="mydomain1." suffix=".log" timestamp="true"/> >>> >>> >> reloadable="true"/> >>> >>> >> unpackWARs="true"> >>> >> directory="logs" prefix="mydomain2." suffix=".log" timestamp="true"/> >>> >>> >> reloadable="true"/> >>> i appreciate any kind of help ... >>> i am using tomcat 4.1.12 >>> >>> thanks a lot >>> sangam dash >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org >>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org >>> >>> >> >> > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: tomcat-user-help@jakarta.apache.org > > -- Lajos Moczar ---------------------------------------- Open Source Support, Consulting and Training ---------------------------------------- Cocoon Developer's Handbook (www.amazon.com/exec/obidos/tg/detail/-/0672322579) _ _____ / \ / /___\ / / \ /____ http://www.galatea.com -- powered by AzSSL --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org