AW: [opencms-dev] (no subject)

Petr Hollay ph at ethikom.de
Tue Feb 24 08:58:00 CET 2004


Hi,

> we also defined more than one virtual host for the same OpenCms 
> installation
from your question is not clear if you are running OpenCms with more virtual
hosts on one PC or on more.
If you've defined more virtual hosts on the same PC, just define your 
VHosts in Apache configuration, not Tomcat configuration.
This works without any problems.


Best regards
Petr



-----Ursprüngliche Nachricht-----
Von: opencms-dev-admin at opencms.org [mailto:opencms-dev-admin at opencms.org] Im
Auftrag von Alexander Kandzior
Gesendet: Montag, 23. Februar 2004 13:43
An: opencms-dev at opencms.org
Betreff: RE: [opencms-dev] (no subject)

This is because of the internal caching of OpenCms. Content is cached to
prevent multiple lookup in the DB which is slow and consts performance. If
you change a page, only the caches on the machine where you made the change
are updated. The other machines have old versions in the cache. 

This is the same issue that makes clustering difficult.

Unfortunatly there is no easy solution to clear the caches on the other
machines. You basically must create a event handler for the publish event
that forwards some message to the other machines that share the content and
somehow tell them to clear their caches as well. This is possible, but
requires lots of code and OpenCms knowledge. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

> -----Original Message-----
> From: opencms-dev-admin at opencms.org 
> [mailto:opencms-dev-admin at opencms.org] On Behalf Of Ralph Musch
> Sent: Monday, February 23, 2004 1:01 PM
> To: 'opencms-dev at opencms.org'
> Subject: [opencms-dev] (no subject)
> 
> 
> Dear Opencms Group,
> 
> I work for the alabus ag (Zürich, Switzerland). 
> 
> I have the same problem as Ray described in his messages from 
> Sun Nov 30 14:59:01 2003 and Wed Dec 10 07:38:01 2003.
> 
> As we use OpenCms as our main cms system, we also defined 
> more than one virtual host for the same OpenCms installation 
> and we have the same proplem while publishing. Ray's message was:
> 
> --------------------------
> Dear Opencms Group,
> 
> we´ve defined several virtual hosts in the server.xml for our 
> opencms application and we found out, that only the first 
> defined virtual host in the server.xml works properly. After 
> modify and publish an opencms content page the page will only 
> appear if we access to the page through the first defined 
> virtual host in the server.xml. All other defined virtual 
> hosts are shown the last version of the page.
> 
> The confusion is: After restart Tomcat and access the content 
> page through the other virtual hosts the page are suddenly 
> up-to-date !?
> 
> Has anybody an idea?
> 
> Thanks in advance for any help.
> 
> Ray
> --------------------------
> 
> 
> 
> I could not find a solution to this problem yet. Was there a 
> message I missed or is this problem already solved in a newer 
> version of OpenCms (we use 5.0.0.)
> 
> Thanks in advance for any help.
> 
> Greetings
> Ralph
> 
> 
> 
> 
> Mit freundlichen Grüssen
> Ralph Musch
> Diplom-Informatiker FH
> Certified Software Engineer
> 
> alabus ag
> Graben 5
> CH-6300 Zug
> 
> Phone:+41 (0)41 729 88 77
> Fax:	+41 (0)41 729 88 78
> Mail: 	ralph.musch at alabus.com
> www:	www.alabus.com
> 
> alabus ag beschäftigt Business- und Technologieexperten in 
> den Kernbereichen CRM, ERM und Business Integration. alabus 
> legt den Fokus auf business-orientierte IT-Lösungen, die 
> unternehmensintern neue Standards setzen. Zu unseren Kunden 
> gehören zukunftsgestaltende Unternehmen aus der Schweiz mit 
> internationaler Ausrichtung.
> 
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, 
> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev
> 
> 

_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list