Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-4829

Repository initialization errors in clustered environment

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • High
    • Resolution: Won't Fix
    • 2.16.04
    • 2.16.06, 2.19.00
    • None
    • None
    • Hippo CMS 2.16.04
      HST 2.05.03
      Tomcat 6.0.29
      MySQL 5.1.50-community
      Java 1.6.0_21 64 bit version
      Windows 7 64-bit

    Description

      When running a typical setup of CMS and HST site, each in their own Tomcat instance, configured as cluster (embedded repository), and using the same (empty) MySQL database schema:

      After first starting the "CMS Tomcat" and letting it start up, then starting the "Site Tomcat", the latter logs many "Unable to deliver node type operation" errors, e.g.:

      16.12.2010 14:42:23 ERROR [org.apache.jackrabbit.core.cluster.ClusterNode.process():937] Unable to deliver node type operation:

      {http://www.onehippo.org/jcr/hippo/nt/2.0.2}

      resource already exists

      (all relevant errors in log attached as hippo-site.log)

      It seems that the CMS when it first start, creates the database tables in MySQL, and initialized the repository with all the required namespace and node types. Then when the site starts, its embedded repository, acting as cluster node, will try to catch up with whatever is logged in the repository journal , including the namespace and node type initializations. These will then fail since they already have been initialized.

      The errors are in this case "harmless" from a technical point of view, however they cause much confusion with developers and sys admins not aware of what is going on.

      Attachments

        Activity

          People

            jsheriff Junaidh Kadhar Sheriff
            nvankampenhout Niels van Kampenhout
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: