Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 54902 invoked from network); 2 Feb 2011 01:28:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Feb 2011 01:28:05 -0000 Received: (qmail 61610 invoked by uid 500); 2 Feb 2011 01:28:02 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 61519 invoked by uid 500); 2 Feb 2011 01:28:01 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 61510 invoked by uid 99); 2 Feb 2011 01:28:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 01:28:01 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [213.157.18.194] (HELO komm3.srs-management.de) (213.157.18.194) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Feb 2011 01:27:55 +0000 Received: from SRS-EXCH-02.bensheim.srs ([192.168.101.15]) by SRS-EXCH-02.bensheim.srs ([192.168.101.15]) with mapi; Wed, 2 Feb 2011 02:27:21 +0100 From: =?iso-8859-1?Q?Thomas_Strau=DF?= To: Tomcat Users List Date: Wed, 2 Feb 2011 02:27:33 +0100 Subject: Re: How to serve .net and java websites on Windows 2008 with IIS7 and Tomcat Thread-Topic: How to serve .net and java websites on Windows 2008 with IIS7 and Tomcat Thread-Index: AcvCeFYE4J6n+HabTgGVpjKRKtLb0Q== Message-ID: <8B11D6A9-88CF-4247-B496-9B61463F97D6@srs-management.de> References: <222529.26178.qm@web96103.mail.aue.yahoo.com> In-Reply-To: <222529.26178.qm@web96103.mail.aue.yahoo.com> Accept-Language: de-DE Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: de-DE Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, if I understand your issue right, you want to put the URL into the mapping = in the URIworkermapping properties instead of=20 /someApp1|/*=3Dworker1 /someApp2|/*=3Dworker2 you write /app1.you.com|/*=3Dworker1 /app2.you.com|/*=3Dworker2 This way, you can address the tomcat workers with different domains, resolv= ed by the IIS. Works also with IIS as an SSL filter. Regards, Thomas Am 02.02.2011 um 01:38 schrieb Conway Liu: > Hi, >=20 > We are trying to setup a webserver that will serve multiple aspx (..Net) = websites=20 > and and jsp (Java) websites. > The webserver is a Windows 2008 R2 64 bit machine with IIS7. > I have also installed Tomcat 6.0.30 running as a service. The sample web= =20 > application works with no problem on http://localhost:8080 >=20 > Multiple IP addresses have been created on the webserver, so that each IP= =20 > address will be used for one website. > All websites should be running on port 80, regardless if aspx website or = jsp=20 > website. > I believe to achieve this, we need to use the Tomcat connector for IIS, s= o that=20 > IIS will take the request and forward to Tomcat to server jsp pages. >=20 > I have gone through=20 > http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html > and http://www.iisadmin.co.uk/?p=3D72 > and successfully got IIS7 to pass request to Tomcat and served the sample= jsp=20 > pages on port 80. > Then I'm stuck... >=20 > It seems like the Tomcat service only serves applications from one locati= on=20 > ($CATALINA_HOME) > But we don't want to run the website as > www.ourserver.com/website1 > www.ourserver.com/website2 >=20 > Instead, we need to run them as > www.website1.com > www.website2.com > which is why we have created multiple IP addresses on the server. >=20 > And the jsp websites will sit in seperate physical folders on the server,= for=20 > example: > C:\website1\ > C:\website2\ >=20 > I've tried to play around with workers.properties, uriworkermap.propertie= s, but=20 > without success. > I think there's something to do with $CATALINA_BASE that I need to config= ure,=20 > but I don't know how. > So now I beg to know exactly what and how to configure for both jsp websi= tes to=20 > be served by the Tomcat service, receiving request from IIS7. >=20 > If you can give as much detail as possible or point me to any websites th= at have=20 > detailed information on this matter, I am forever greatful. >=20 > Regards and thanks > Conway > --=20 > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org