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: [EMAIL PROTECTED]
********************************************
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]