Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
r2.10.00
-
None
-
None
-
Upgrading the docsite from 2.09.04 to 2.10.00
Description
Upgrading to 2.10.00 fails with following errormessage:
2009-12-06 14:27:43.407::INFO: No Transaction manager found - if your webapp requires one, please configure one.
06.12.2009 14:28:10 ERROR [org.hippoecm.repository.updater.UpdaterEngine.migrate():560] error in migration cycle: javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/docs/hipposys:unstructured/hipposysedit_1_1:nodetype/hipposysedit_1_1:nodetype/hipposysedit_1_1:field: no definition found in parent node's node type for new node: no matching child node definition found for
field
javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/docs/hipposys:unstructured/hipposysedit_1_1:nodetype/hipposysedit_1_1:nodetype/hipposysedit_1_1:field: no definition found in parent node's node type for new node: no matching child node definition found for
field: no matching child node definition found for
{http://www.onehippo.org/jcr/hipposysedit/nt/1.1}field
at org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:999)
at org.hippoecm.repository.decorating.SessionDecorator.move(SessionDecorator.java:194)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:264)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterSession.commit(UpdaterSession.java:214)
at org.hippoecm.repository.updater.UpdaterEngine.upgrade(UpdaterEngine.java:680)
at org.hippoecm.repository.updater.UpdaterEngine.migrate(UpdaterEngine.java:532)
at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:325)
at org.hippoecm.repository.LocalHippoRepository.initialize(LocalHippoRepository.java:269)
at org.hippoecm.repository.LocalHippoRepository.<init>(LocalHippoRepository.java:148)
at org.hippoecm.repository.LocalHippoRepository.create(LocalHippoRepository.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.hippoecm.repository.HippoRepositoryFactory.getHippoRepository(HippoRepositoryFactory.java:238)
at org.hippoecm.repository.RepositoryServlet.init(RepositoryServlet.java:154)
at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:431)
at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:676)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:466)
at org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:124)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.jetty.Server.doStart(Server.java:224)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:441)
at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:383)
at org.mortbay.jetty.plugin.Jetty6RunWar.execute(Jetty6RunWar.java:67)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:356)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: javax.jcr.nodetype.ConstraintViolationException: no matching child node definition found for
field
at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicableChildNodeDef(EffectiveNodeType.java:730)
at org.apache.jackrabbit.core.NodeImpl.getApplicableChildNodeDefinition(NodeImpl.java:878)
at org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:995)
... 61 more
javax.jcr.nodetype.ConstraintViolationException: no matching child node definition found for
field
at org.apache.jackrabbit.core.nodetype.EffectiveNodeType.getApplicableChildNodeDef(EffectiveNodeType.java:730)
at org.apache.jackrabbit.core.NodeImpl.getApplicableChildNodeDefinition(NodeImpl.java:878)
at org.apache.jackrabbit.core.SessionImpl.move(SessionImpl.java:995)
at org.hippoecm.repository.decorating.SessionDecorator.move(SessionDecorator.java:194)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:264)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterNode.commit(UpdaterNode.java:348)
at org.hippoecm.repository.updater.UpdaterSession.commit(UpdaterSession.java:214)
at org.hippoecm.repository.updater.UpdaterEngine.upgrade(UpdaterEngine.java:680)
at org.hippoecm.repository.updater.UpdaterEngine.migrate(UpdaterEngine.java:532)
at org.hippoecm.repository.LocalHippoRepository.initializeStartup(LocalHippoRepository.java:325)