jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Nuescheler <david.nuesche...@gmail.com>
Subject Re: Re: JTA support
Date Tue, 26 Oct 2004 18:04:46 GMT
> Your sample invocation doesn't work because the items obtained still
> hold references to session-owned components to lookup other items. As
> the session's state has changed in the meantime, item state managers
> have been replaced with transactional ones.
> However, an XASession is not meant to be used that way: it should simply
> supply methods to an application server for associating/disassociating
> its global transactions with a transactional resource. The application
> server will (invisibly to the user) invoke the methods exposed by the
> XAResource before allowing the user to make its standard calls to the
> Session object. There may be concurrent calls to the XAResource for
> different Xids as described in the JTA Specification (Chapter 3.4.6
> Resource Sharing), but an XASession will never be used as a
> non-transactional and transactional resource at the same time.
to be a bit more precise i did the following:

<-- all node modifications go here -->

[and somehow i did not expect this to throw]

as mentioned before, i have no problems doing this any different
way it is just an observation ;)


standardize your content-repository !
---------------------------------------< david.nuescheler@day.com >---

This message is a private communication. If you are not the intended
recipient, please do not read, copy, or use it, and do not disclose it
to others. Please notify the sender of the delivery error by replying
to this message, and then delete it from your system. Thank you.

The sender does not assume any liability for timely, trouble free,
complete, virus free, secure, error free or uninterrupted arrival of
this e-mail. For verification please request a hard copy version.


David Nuescheler
Chief Technology Officer
Day Software AG
Barfuesserplatz 6 / Postfach
4001 Basel

T  41 61 226 98 98
F  41 61 226 98 97

View raw message