tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Greuter" <c...@iph.ch>
Subject RE: Tomcat And IIS: Mapping different Host headers to the same Webapplication Instance
Date Wed, 25 Oct 2006 15:01:02 GMT
Yes this was what I noticed, I was not aware that createing a new tomcat
context means that the webapp is deployed again.

However I think it has to be possible to link any URL from IIS to an URl
on tomcat. 

I am looking forward to any input :-)

Cheers

Claudio

********************************************
IPH Informatik AG
Herr Claudio Greuter 
Lagerhausstrasse 9
8400 Winterthur
Switzerland
Tel: 		+41 (0)52 203 26 72
Fax: 		+41 (0)52 233 94 71
Email:	c.gr@iph.ch
********************************************
-----Original Message-----
From: David Smith [mailto:dns4@cornell.edu] 
Sent: Mittwoch, 25. Oktober 2006 13:34
To: Tomcat Users List
Subject: Re: Tomcat And IIS: Mapping different Host headers to the same
Webapplication Instance

Sounds to me like you are trying to deploy the same context multiple 
times -- Magnolia is not designed out of the box to operate like that.  
Specifically, the repository state files would be a mess if there were 
multiple JCR repository instances pointing to the same state files. 

You might be able to get IIS to mount the one context to multiple 
virtual hosts via jk.  Others will have offer guidance on that as I 
don't use IIS.

--David

Claudio Greuter wrote:

>Hi List
>
>We are using a CMS (Magnolia) running on Tomcat to publish content for
>several webs. 
>
>The CMS is one single Web application which locks some database files
>upon loading. This means I cannot load the same web application in
>different contexts or hosts, because the CMS throws errors because the
>Database is already locked. So I can only configure tomcat with one
>context:
>
>http://Localhost:8080/magnoliaAuthor
>
>The web sites have an URL path below this, for example:
>http://Localhost:8080/magnoliaAuthor/customer/site1/...
>http://Localhost:8080/magnoliaAuthor/customer/site2/...
>
>
>In front of this we are having IIS running to serve some static
contents
>as well as other dynamic stuff(php, Asp) and the website addresses
>should be mapped from IIS to Tomcat in the following way:
>
>http://www.site1.ch -->
>http://Localhost:8080/customer/magnoliaAuthor/site1/
>http://www.site2.ch -->
>http://Localhost:8080/customer/magnoliaAuthor/site1/
>
>I tried this using JK2, however it seems that I would have to create a
>separate context for each site, which is not possible because of the
>mentioned database locks.
>
>Is there a procedure I could follow or perhaps someone of you has an
>idea how to solve this.
>
>Many thanks in advance:
>
>Claudio
>
>
>********************************************
>IPH Informatik AG
>Herr Claudio Greuter 
>Lagerhausstrasse 9
>8400 Winterthur
>Switzerland
>Tel: 		+41 (0)52 203 26 72
>Fax: 		+41 (0)52 233 94 71
>Email:	c.gr@iph.ch
>********************************************
>
>
>---------------------------------------------------------------------
>To start a new topic, e-mail: users@tomcat.apache.org
>To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>  
>


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message