[Neo] Online backup fails with suggested Spring transaction integration

Johan Svensson johan at neotechnology.com
Sun May 17 18:26:53 CEST 2009


On Sat, May 16, 2009 at 10:25 PM, Andreas Guenther
<aguenther at flying-orange.com> wrote:
> I have been poking around with online backup for a couple of days now
> and are happy with the results in general, especially the runtime backup
> capability. Most of the issues I came across I was able to work around
> but there is one obstacles left that I need some help on. As long as I
> use Neo's transactions programmatically taking backups work just fine at
> any given point in time during regular Neo usage. But once I switch to
> declarative transactions through the suggested Spring configuration
> taken from the IMdb example I am running into all sorts of exceptions
> after the first backup is taken. Below is the Spring configuration and
> some exceptions I got. If helpful I could extend the online-backup test
> suite with declarative transactions. Could there be some log file access
> conflicts going on? It's probably worth mentioning that I am using
> declarative transactions throughout the rest of our app and it's been
> working just great after many stress tests and without using online backup.
>
> Any thoughts on this one?
> -Andreas
>

Looks like the global transaction log has been closed. Can you verify
that NeoService.shutdown() hasn't been invoked? Another possible cause
could be wrong use of Thread.interrupt() somewhere.

Would be great if you could produce a test case for this problem so I
can have a look at it.

Regards,
Johan


More information about the User mailing list