jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Hang <jh...@bea.com>
Subject Startup error in RepositoryImpl
Date Tue, 12 Dec 2006 18:22:25 GMT

I am instantiating the repository using springmodules and getting an
exception during startup.  It's happening when the springmodules
RepositoryFactoryBean tries to create the repository using
RepositoryImpl.create().  This fails when it's trying to create the
jcr:system node under root.  That throws a javax.jcr.ItemNotFoundException:
failed to build path of deadbeef-cafe-babe-cafe-babecafebabe:
cafebabe-cafe-babe-cafe-babecafebabe has no child entry for
deadbeef-cafe-babe-cafe-babecafebabe.  

Any ideas why it's doing this?

javax.jcr.RepositoryException: /: unable to update item.: Unable to resolve
path for item:
deadbeef-cafe-cafe-cafe-babecafebabe/{http://www.jcp.org/jcr/1.0}primaryType:
Unable to resolve path for item:
deadbeef-cafe-cafe-cafe-babecafebabe/{http://www.jcp.org/jcr/1.0}primaryType
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1212)
	at
org.apache.jackrabbit.core.RepositoryImpl.initWorkspace(RepositoryImpl.java:548)
	at
org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:255)
	at
org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:498)
	at
org.springmodules.jcr.jackrabbit.RepositoryFactoryBean.createRepository(RepositoryFactoryBean.java:57)

Caused by: org.apache.jackrabbit.core.state.ItemStateException: Unable to
resolve path for item:
deadbeef-cafe-cafe-cafe-babecafebabe/{http://www.jcp.org/jcr/1.0}primaryType
	at
org.apache.jackrabbit.core.observation.EventStateCollection.getPath(EventStateCollection.java:525)
	at
org.apache.jackrabbit.core.observation.EventStateCollection.createEventStates(EventStateCollection.java:390)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager$Update.begin(SharedItemStateManager.java:596)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.beginUpdate(SharedItemStateManager.java:717)
	at
org.apache.jackrabbit.core.state.SharedItemStateManager.update(SharedItemStateManager.java:747)
	at
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:325)
	at
org.apache.jackrabbit.core.state.LocalItemStateManager.update(LocalItemStateManager.java:301)
	at
org.apache.jackrabbit.core.state.SessionItemStateManager.update(SessionItemStateManager.java:292)
	at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:1204)
	... 50 more

Caused by: javax.jcr.ItemNotFoundException: failed to build path of
deadbeef-cafe-babe-cafe-babecafebabe: cafebabe-cafe-babe-cafe-babecafebabe
has no child entry for deadbeef-cafe-babe-cafe-babecafebabe
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:309)
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:298)
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.buildPath(HierarchyManagerImpl.java:298)
	at
org.apache.jackrabbit.core.HierarchyManagerImpl.getPath(HierarchyManagerImpl.java:358)
	at
org.apache.jackrabbit.core.observation.EventStateCollection.getPath(EventStateCollection.java:520)
	... 58 more

-- 
View this message in context: http://www.nabble.com/Startup-error-in-RepositoryImpl-tf2809277.html#a7838711
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message