jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tobias Strasser <tobias.stras...@gmail.com>
Subject Re: Item not visible with different session after save
Date Fri, 08 Apr 2005 15:15:52 GMT
what do you exaclty mean with: Open a new session B in a different jvm ?

do you startup a second repository instance on the same persistence data?
that does not work (see topic 'cluster and cache question')
http://thread.gmane.org/gmane.comp.apache.jackrabbit.devel/1529

cheers, tobi

On Apr 8, 2005 5:07 PM, Felix Röthenbacher
<felix.roethenbacher@wyona.com> wrote:
> Hi
> 
> I have a problem with the visibility of items after a session.save():
> 
> 1. Open session A
> 2. Create a node
> 3. Call save() of session A
>     (a call of hasPendingChanges() returns false afterwards)
> 4. Open a new session B in a different jvm
> 5. Dump the repository content with session B
> 
> The dump does not contain the newly added node. Only after
> a shutdown of the first jvm the changes are visible.
> 
> Does anyone have a clue what is going wrong?
> 
> Thanks
> 
> Felix
> 


-- 
------------------------------------------< tobias.strasser@day.com >---
Tobias Strasser, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97 
-----------------------------------------------< http://www.day.com >---

Mime
View raw message