[opencms-dev] Distributed Configuration Problem

Mike Wallace mike.wallace at ips-inc.net
Wed Aug 20 21:39:16 CEST 2008


Hello,

We are having problems with a distributed OpenCMS 7.0.3 configuration.  One
server is responsible for the database and the OpenCMS workplace.  The
second server is responsible for serving all of our OpenCMS content.  We
have the web server configured to use the database on the first machine as
well as use the OpenCMS workplace on the first machine.  Everything works
well until an update is made in the workplace.  If a file is modified in the
workplace, the changes are not reflected on the web server until Tomcat (web
server) is restarted.  It appears as if the web server has cached
information and does not realize that a change has been made through the
workplace.  When adding or modifying data, the changes simply are not shown
on the web site.  When deleting information, the page will typically return
an HTTP 500 error.  The logs show "CmsVfsResourceNotFoundException: Unable
to read file contents with resource ID <resource ID>" where <resource ID> is
that of the deleted resource.  It is as if there is no notification that a
page is dirty and needs to be reloaded from the database.  Thinking that
this might be a problem with the flexcache, the cache was disabled on the
web server in opencms-system.xml, but the problem remained.

When running the web server, OpenCMS workplace, and database all on one
server, there are no problems whatsoever.  In this scenario, changes made to
through the workplace are immediately reflected on the web site.  Here, it
appears that the web site knows that there have been changes and that it
needs to reload.

Does anyone else have a similar distributed configuration?  If so, what
settings do I need to use to force the web server to pick up workplace
server changes?

TIA,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080820/1e9c16ad/attachment.htm>


More information about the opencms-dev mailing list