Announcement Announcement Module
Collapse
No announcement yet.
Repository Problem (Persistance state) Please Help Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Repository Problem (Persistance state) Please Help

    i am new jcr and i am trying to do sample project myself. i read some article like http://www.infoq.com/articles/spring-modules-jcr and spring module referans guide. i am getting error that is below.
    i attach my application.xml and repository.xml.


    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'repository' defined in URL [file:/D:/vaadinEclipse/Workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/JSR170/WEB-INF/classes/applicationContext.xml]: Invocation of init method failed; nested exception is javax.jcr.RepositoryException: failed to load persisted repository state: null: null
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1338)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.doCreateBean(AbstractAu towireCapableBeanFactory.java:473)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory$1.run(AbstractAutowireC apableBeanFactory.java:409)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.createBean(AbstractAuto wireCapableBeanFactory.java:380)
    at org.springframework.beans.factory.support.Abstract BeanFactory$1.getObject(AbstractBeanFactory.java:2 64)
    at org.springframework.beans.factory.support.DefaultS ingletonBeanRegistry.getSingleton(DefaultSingleton BeanRegistry.java:222)
    at org.springframework.beans.factory.support.Abstract BeanFactory.doGetBean(AbstractBeanFactory.java:261 )
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:185)
    at org.springframework.beans.factory.support.Abstract BeanFactory.getBean(AbstractBeanFactory.java:164)
    at org.springframework.beans.factory.support.DefaultL istableBeanFactory.preInstantiateSingletons(Defaul tListableBeanFactory.java:423)
    at org.springframework.context.support.AbstractApplic ationContext.finishBeanFactoryInitialization(Abstr actApplicationContext.java:728)
    at org.springframework.context.support.AbstractApplic ationContext.refresh(AbstractApplicationContext.ja va:380)
    at org.springframework.web.context.ContextLoader.crea teWebApplicationContext(ContextLoader.java:255)
    at org.springframework.web.context.ContextLoader.init WebApplicationContext(ContextLoader.java:199)
    at org.springframework.web.context.ContextLoaderListe ner.contextInitialized(ContextLoaderListener.java: 45)
    at org.apache.catalina.core.StandardContext.listenerS tart(StandardContext.java:3843)
    at org.apache.catalina.core.StandardContext.start(Sta ndardContext.java:4342)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
    at org.apache.catalina.core.StandardHost.start(Standa rdHost.java:719)
    at org.apache.catalina.core.ContainerBase.start(Conta inerBase.java:1045)
    at org.apache.catalina.core.StandardEngine.start(Stan dardEngine.java:443)
    at org.apache.catalina.core.StandardService.start(Sta ndardService.java:516)
    at org.apache.catalina.core.StandardServer.start(Stan dardServer.java:710)
    at org.apache.catalina.startup.Catalina.start(Catalin a.java:578)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.catalina.startup.Bootstrap.start(Bootst rap.java:288)
    at org.apache.catalina.startup.Bootstrap.main(Bootstr ap.java:413)
    Caused by: javax.jcr.RepositoryException: failed to load persisted repository state: null: null
    at org.apache.jackrabbit.core.RepositoryImpl.loadRoot NodeId(RepositoryImpl.java:542)
    at org.apache.jackrabbit.core.RepositoryImpl.<init>(R epositoryImpl.java:282)
    at org.apache.jackrabbit.core.RepositoryImpl.create(R epositoryImpl.java:627)
    at org.springmodules.jcr.jackrabbit.RepositoryFactory Bean.createRepository(RepositoryFactoryBean.java:5 7)
    at org.springmodules.jcr.RepositoryFactoryBean.afterP ropertiesSet(RepositoryFactoryBean.java:57)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.invokeInitMethods(Abstr actAutowireCapableBeanFactory.java:1369)
    at org.springframework.beans.factory.support.Abstract AutowireCapableBeanFactory.initializeBean(Abstract AutowireCapableBeanFactory.java:1335)
    ... 30 more
    Caused by: java.lang.IllegalArgumentException
    at org.apache.jackrabbit.uuid.UUID.<init>(UUID.java:1 42)
    at org.apache.jackrabbit.core.NodeId.valueOf(NodeId.j ava:85)
    at org.apache.jackrabbit.core.RepositoryImpl.loadRoot NodeId(RepositoryImpl.java:538)
    ... 36 more
    Last edited by santavik; Oct 30th, 2009, 01:09 PM.
Working...
X