jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: Transactions in jackrabbit using RMI?
Date Wed, 30 May 2007 10:17:29 GMT
Hi,

On 5/30/07, gsoap <gsoap123@yahoo.com> wrote:
> I am connecting to a repository through RMI.
>
> Repository returnns me "org.apache.jackrabbit.rmi.client.ClientSession" upon
> login.
>
> I want to perform operations on repository in the form of transactions.
>
> Can I do that using the UserTransaction object?

Unfortunately no. The RMI layer currently doesn't support transactions.

> If yes then how can I initialize the following object reference?
>
> UserTransaction utx = ....?
>
> Also, the "org.apache.jackrabbit.rmi.client.ClientSession" object cannot be
> cast to "org.apache.jackrabbit.core.XASession".
>
> How should I accomplish transactions in this scenario?

Please file a feature request in Jira for that. Any contributions to
implement transactions using RMI would also be welcome. :-)

BR,

Jukka Zitting

Mime
View raw message