[MAGNOLIA-579] Repository Errors when running Magnolia 2.1.1 the very first time Created: 18/Oct/05  Updated: 23/Jan/13  Resolved: 17/May/06

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1.1
Fix Version/s: 3.0 RC1

Type: Bug Priority: Minor
Reporter: Giancarlo Berner Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Windows XP, Magnolia 2.1.1 build 1687


Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 Description   
  • Checked out and built Magnolia 2.1.1, rev 1687
  • dropped magnolia.war into tomcat/webapps
  • started tomcat
  • opened browser and requested http://localhost:8080/magnolia (did not rename war file)
  • checked magnolia_error.log, found following messages:
    ERROR org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager 18.10.2005 19:37:01 – Unable to index new nodetype: javax.jcr.ItemNotFoundException
    ERROR org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager 18.10.2005 19:37:01 – Unable to index new nodetype: javax.jcr.ItemNotFoundException
    ERROR org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager 18.10.2005 19:37:03 – Unable to index new nodetype: javax.jcr.ItemNotFoundException
    ERROR org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager 18.10.2005 19:37:03 – Unable to index new nodetype: javax.jcr.ItemNotFoundException
    ERROR org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager 18.10.2005 19:37:05 – Unable to index new nodetype: javax.jcr.ItemNotFoundException
    ERROR org.apache.jackrabbit.core.nodetype.virtual.VirtualNodeTypeStateManager 18.10.2005 19:37:05 – Unable to index new nodetype: javax.jcr.ItemNotFoundException

Interesting: these errors obviously have no affect....

  • stoped/restarted tomcat
  • reloaded magnolia admin
  • checked magnolia_error.log
  • no additional entries!


 Comments   
Comment by Fabrizio Giustina [ 18/Oct/05 ]

these errors are due to the dynamic node type registration.
While starting the repositories magnolia check if the nodetypes are already registered by trial and error and register them if missing. I couldn't find a way to do that without having jackrabbit log an (innocent) exception when the nodetypes are not already there... we should see if there is a better way for this initial check.

Generated at Mon Feb 12 03:18:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.