Hi,

On 5/30/07, gsoap <[EMAIL PROTECTED]> 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

Reply via email to