You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by "Conoly, Brett" <Br...@digitalinsight.com> on 2008/05/08 15:13:25 UTC

Changing persistence managers?

This will hopefully be a simple question to answer, but when you change
your persistence manager in your repository.xml do you have to reload
all of the content or will jackrabbit pick up on that and use the same
content?



Also, can I use a BundleFsPersistenceManager for my normal persistence
manager and then The Derby Persistence Manager for my versioning
persistence manager?

 

Thanks in advance, 

Brett


RE: Changing persistence managers?

Posted by "Conoly, Brett" <Br...@digitalinsight.com>.
Yeah, I'm assuming that's why the api I was failing...

On Thu, May 8, 2008 at 4:33 PM, Conoly, Brett
<Br...@digitalinsight.com> wrote:
> Awesome, that's exactly what I needed to know, but one more question,
>  when I changed persistence managers the webdav client still loaded
the
>  content in the repository but when I tried to access the node through
>  the api I received an ItemNotFoundException.  Just for my own peace
of
>  mind, why is that?

erm, dunno ;) i guess you did restart the repository after changing the
repository.xml...

>  Thanks again
>
>
>
>  -----Original Message-----
>  From: stefan.guggisberg@gmail.com
[mailto:stefan.guggisberg@gmail.com]
>  On Behalf Of Stefan Guggisberg
>  Sent: Thursday, May 08, 2008 9:36 AM
>  To: users@jackrabbit.apache.org
>  Subject: Re: Changing persistence managers?
>
>  On Thu, May 8, 2008 at 3:13 PM, Conoly, Brett
>  <Br...@digitalinsight.com> wrote:
>  > This will hopefully be a simple question to answer, but when you
>  change
>  >  your persistence manager in your repository.xml do you have to
reload
>  >  all of the content or will jackrabbit pick up on that and use the
>  same
>  >  content?
>
>  you'll have to reload/migrate all of the content.
>
>  >
>  >
>  >
>  >  Also, can I use a BundleFsPersistenceManager for my normal
>  persistence
>  >  manager and then The Derby Persistence Manager for my versioning
>  >  persistence manager?
>
>  yes.
>
>  cheers
>  stefan
>
>  >
>  >
>  >
>  >  Thanks in advance,
>  >
>  >  Brett
>  >
>  >
>

Re: Changing persistence managers?

Posted by Stefan Guggisberg <st...@day.com>.
On Thu, May 8, 2008 at 4:33 PM, Conoly, Brett
<Br...@digitalinsight.com> wrote:
> Awesome, that's exactly what I needed to know, but one more question,
>  when I changed persistence managers the webdav client still loaded the
>  content in the repository but when I tried to access the node through
>  the api I received an ItemNotFoundException.  Just for my own peace of
>  mind, why is that?

erm, dunno ;) i guess you did restart the repository after changing the
repository.xml...

>  Thanks again
>
>
>
>  -----Original Message-----
>  From: stefan.guggisberg@gmail.com [mailto:stefan.guggisberg@gmail.com]
>  On Behalf Of Stefan Guggisberg
>  Sent: Thursday, May 08, 2008 9:36 AM
>  To: users@jackrabbit.apache.org
>  Subject: Re: Changing persistence managers?
>
>  On Thu, May 8, 2008 at 3:13 PM, Conoly, Brett
>  <Br...@digitalinsight.com> wrote:
>  > This will hopefully be a simple question to answer, but when you
>  change
>  >  your persistence manager in your repository.xml do you have to reload
>  >  all of the content or will jackrabbit pick up on that and use the
>  same
>  >  content?
>
>  you'll have to reload/migrate all of the content.
>
>  >
>  >
>  >
>  >  Also, can I use a BundleFsPersistenceManager for my normal
>  persistence
>  >  manager and then The Derby Persistence Manager for my versioning
>  >  persistence manager?
>
>  yes.
>
>  cheers
>  stefan
>
>  >
>  >
>  >
>  >  Thanks in advance,
>  >
>  >  Brett
>  >
>  >
>

RE: Changing persistence managers?

Posted by "Conoly, Brett" <Br...@digitalinsight.com>.
Awesome, that's exactly what I needed to know, but one more question,
when I changed persistence managers the webdav client still loaded the
content in the repository but when I tried to access the node through
the api I received an ItemNotFoundException.  Just for my own peace of
mind, why is that?
Thanks again

-----Original Message-----
From: stefan.guggisberg@gmail.com [mailto:stefan.guggisberg@gmail.com]
On Behalf Of Stefan Guggisberg
Sent: Thursday, May 08, 2008 9:36 AM
To: users@jackrabbit.apache.org
Subject: Re: Changing persistence managers?

On Thu, May 8, 2008 at 3:13 PM, Conoly, Brett
<Br...@digitalinsight.com> wrote:
> This will hopefully be a simple question to answer, but when you
change
>  your persistence manager in your repository.xml do you have to reload
>  all of the content or will jackrabbit pick up on that and use the
same
>  content?

you'll have to reload/migrate all of the content.

>
>
>
>  Also, can I use a BundleFsPersistenceManager for my normal
persistence
>  manager and then The Derby Persistence Manager for my versioning
>  persistence manager?

yes.

cheers
stefan

>
>
>
>  Thanks in advance,
>
>  Brett
>
>

Re: Changing persistence managers?

Posted by Stefan Guggisberg <st...@day.com>.
On Thu, May 8, 2008 at 3:13 PM, Conoly, Brett
<Br...@digitalinsight.com> wrote:
> This will hopefully be a simple question to answer, but when you change
>  your persistence manager in your repository.xml do you have to reload
>  all of the content or will jackrabbit pick up on that and use the same
>  content?

you'll have to reload/migrate all of the content.

>
>
>
>  Also, can I use a BundleFsPersistenceManager for my normal persistence
>  manager and then The Derby Persistence Manager for my versioning
>  persistence manager?

yes.

cheers
stefan

>
>
>
>  Thanks in advance,
>
>  Brett
>
>