jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edgar Poce <edgarp...@gmail.com>
Subject Re: PersistentVersionManager error
Date Tue, 12 Jul 2005 04:01:38 GMT
Hi jessica

  I don't know how often you call RegistryHelper.registerRepository(), 
but AFAIK it should be called only once during a jvm process. jackrabbit 
doesn't support multiple instances accessing the same physical storage. 
See http://incubator.apache.org/jackrabbit/arch/deploy/howto-model1.html.

BR,
edgar

Jessica Delsinne wrote:
> Hi,
> 
> I register me repository in JONAS JNDI context like that :
> 
> properties.put("java.naming.factory.initial","com.sun.jndi.rmi.registry.RegistryContextFactory");
> properties.put("java.naming.provider.url", url);
> Context ctx = new InitialContext(properties);
> RegistryHelper.registerRepository(ctx, repositoryName, configFilePath, repHomeDir,true);
> 
> And sometimes, when I lauch thsi method, I have this error :
> javax.jcr.RepositoryException: Unable to initialize PersistentVersionManager: org.apache.jackrabbit.core.state.NoSuchItemStateException:
e2678f2f-c773-49b8-b5bb-6023aedffffd: e2678f2f-c773-49b8-b5bb-6023aedffffd: e2678f2f-c773-49b8-b5bb-6023aedffffd
> 
> at org.apache.jackrabbit.core.version.persistence.NativePVM.<init>(NativePVM.java:169)
> 
> at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:281)
> 
> at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:344)
> 
> at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
> 
> at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
> 
> at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
> 
> at workspaceEdition.RepositoryServer.getRepository(RepositoryServer.java:106)
> 
> at workspaceEdition.RepositoryServer.main(RepositoryServer.java:43)
> 
> Caused by: org.apache.jackrabbit.core.state.NoSuchItemStateException: e2678f2f-c773-49b8-b5bb-6023aedffffd
> 
> at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:245)
> 
> at org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:100)
> 
> at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:169)
> 
> at org.apache.jackrabbit.core.version.persistence.NativePVM.initVersionedUUIDs(NativePVM.java:189)
> 
> at org.apache.jackrabbit.core.version.persistence.NativePVM.<init>(NativePVM.java:167)
> 
> ... 7 more
> 
> org.apache.jackrabbit.core.state.NoSuchItemStateException: e2678f2f-c773-49b8-b5bb-6023aedffffd
> 
> at org.apache.jackrabbit.core.state.SharedItemStateManager.getItemState(SharedItemStateManager.java:245)
> 
> at org.apache.jackrabbit.core.state.LocalItemStateManager.getNodeState(LocalItemStateManager.java:100)
> 
> at org.apache.jackrabbit.core.state.LocalItemStateManager.getItemState(LocalItemStateManager.java:169)
> 
> at org.apache.jackrabbit.core.version.persistence.NativePVM.initVersionedUUIDs(NativePVM.java:189)
> 
> at org.apache.jackrabbit.core.version.persistence.NativePVM.<init>(NativePVM.java:167)
> 
> at org.apache.jackrabbit.core.RepositoryImpl.<init>(RepositoryImpl.java:281)
> 
> at org.apache.jackrabbit.core.RepositoryImpl.create(RepositoryImpl.java:344)
> 
> at org.apache.jackrabbit.core.jndi.BindableRepository.init(BindableRepository.java:116)
> 
> at org.apache.jackrabbit.core.jndi.BindableRepository.create(BindableRepository.java:104)
> 
> at org.apache.jackrabbit.core.jndi.RegistryHelper.registerRepository(RegistryHelper.java:57)
> 
> at workspaceEdition.RepositoryServer.getRepository(RepositoryServer.java:106)
> 
> at workspaceEdition.RepositoryServer.main(RepositoryServer.java:43)
> 
> Do you know what could it be ?
> 
> Thank you, 
> 
> Jessica
> 

Mime
View raw message