Re: Re: persistency troubles
Klemens Dickbauer <[email protected]>
| Newsgroups | gmane.comp.web.pixory |
|---|---|
| Organization | MSK Informatik GesmbH |
| Message-ID | <[email protected]> |
Hi Joe!
Thanx for you answer and your explanation regarding pixory persistency. Maybe
I found a little bug now in the linking of data between the .alb and database
files:
I initialized the pixory database and I think there is now something stored in
the album regarding sharing as well: I added a new directory with images, and
setting up sharing information was no problem. For the former existing
albums, however, when I click on sharing, the "old" sharing type is still
correctly selected, but when I click on the little guy to select sharing
groups and individuals there is an exception (pixory looses my login session
at that point).
"/my/images/root" is exactly that:
--
2354368 [Thread-18] WARN
org.pixory.pxmodel.PXAlbumManager.lockAlbumContentAtPath -
org.pixory.pxmodel.PXAlbumException:
java.lang.IllegalArgumentException: /my/images/root is not a valid album path
at
org.pixory.pxmodel.PXAlbumContent.albumAtPath(PXAlbumContent.java:203)
at
org.pixory.pxmodel.PXAlbumManager.lockAlbumContentAtPath(PXAlbumManager.java:539)
at
org.pixory.pxapplication.pages.composer.AlbumComposerPage.getAlbumContent(AlbumComposerPage.java:58)
[..]
--
bye,
~klemens
Am Sunday 28 March 2004 16:47 schrieb Joe Panico:
> Klemens,
>
> The current production version of HSQLDB, 1.7.1, does have some known
> problems with cleanup after a crash. That's one of the reasons I've
> been telling everyone in this group that they should *backup* their
> pixory database-- it's essential. Even if HSQLDB were perfect at
> recovering from crashes, Pixory could introduce bugs that could affect
> data integrity.
>
> That said, in my experience, HSQLDB 1.7.1 has been very good (though
> not perfect) at recovering from crashes. I routinely kill the Pixory
> process and almost never see data corruption. Also, the authors of
> HSQLDB have substantially rewritten core pieces of their database to
> greatly improve robustness of HSQLDB 1.7.2. That version, 1.7.2, is
> getting close to production release.
>
> But in your case, maybe you don't have to worry too much. A lot of
> important album information does not originate from the DB-- it's
> stored in the .alb XML files under each album directory. These XML
> files have so far been completely resistent to corruption. Here is the
> persistence story:
>
> In the DB:
>
> Contacts
> Shares
> Configuration Information
>
> In the .alb XML files:
>
> everything else (rotation, captions, ordering, etc.)
>
>
> If your database gets wiped out, you only permanently loose Contacts,
> Shares and some Configuration Information. The rest of the information
> that goes into the DB can be repopulated from the .alb XML files by
> using "Configuration->Advanced->Indexing->rebuild now". Uhmmm, that
> is, you will be able to "rebuild now" as soon as I reenable it, which
> should be a few days.
>
> regards,
>
> joe
>
>
>
> Yahoo! Groups Links
>
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/pixory-beta/
>
> To unsubscribe from this group, send an email to:
> [email protected]
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
Klemens Dickbauer, MSK Informatik GesmbH
mail: [email protected]
smail: A-1160 Wien, Zeillergasse 5/309
fon: +43 699 18181919
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/pixory-beta/
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/