jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Prasad <manoj...@yahoo.com>
Subject Re: JCRTest.java NullPointerException
Date Thu, 24 Feb 2005 19:06:31 GMT
Thanks Jukka, that worked perfectly...and I see the
web site is already updated! Thanks!

Manoj

--- Jukka Zitting <jz@yukatan.fi> wrote:

> Hi Manoj,
> 
> Manoj Prasad wrote: 
> > This run time error results during the call to
> > RegistryHelper.registerRepository.
> > 
> > The actual point of failure is in the first line
> of
> > VersioningConfig because the passed variable is
> NULL.
> 
> The Versioning element is probably missing from your
> repository
> configuration file. The element can (AFAIK) be
> something like the
> following (o.a.j.c is org.apache.jackrabbit.core):
> 
> <Versioning rootPath="${rep.home}/versions">
>   <FileSystem
> class="o.a.j.c.fs.local.LocalFileSystem">
>     <param name="path"
> value="${rep.home}/versions"/>
>   </FileSystem>
>   <PersistenceManager
> class="o.a.j.c.state.xml.XMLPersistenceManager"/>
> </Versioning>
> 
> See applications/test/repository.xml for inline
> documentation about the
> configuration file format. The Versioning element is
> a recent addition,
> and has not yet been updated to the "First Steps" or
> other documents.
> 
> Best regards,
> 
> Jukka Zitting
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message