You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Audun Landsvik <la...@corporater.com> on 2008/02/22 10:27:59 UTC

repairing broken definitionIds

Hi,

I am using Jackrabbit 1.4 (with Jackrabbit core 1.4.1) in a web application.

When the server starts and the nodes (and properties) are read from the 
database, the following warning is printed to the console:

WARN [main] (JCLLoggerAdapter.java:268) - property at 
/default/mzf:Model/mzf:CPeriod/mzf:children[4]/mzf:id has invalid 
definitionId (1002811280)

The warning is sensible enough, as the node type definitions for the 
nodes have changed since the nodes were stored in the database. The 
problem is that the database contains thousands of nodes and properties 
with invalid definitionIds, so the logs are filled with warning messages.

Is there a way to repair the definitionIds of nodes and properties in 
the database without recreating the nodes?

regards,
AudunL