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: JNDIDatabasePersistenceManager and WAS6 - keep getting rollback exception
Date Tue, 10 Oct 2006 02:54:40 GMT
Hi,

On 10/10/06, Vincent Chan <vincentslchan@gmail.com> wrote:
> From what we have observed when testing with a client portlet, the first
> call to the EJB to retrieve data (a simple SELECT setatement) results in a
> rollback, but the data is successfully cached in the jackrabbit repository,
> and a second call (refresh) we can see the retrieved content. I have no idea
> why and when is the rollback occuring.
>
> Can someone see anything fundementally wrong here? Or suggest how to tackle
> the problem?

Is your JNDI data source involved in a transaction setup? The database
persistence managers in Jackrabbit need full control over the database
connection, while transactions are explicitly handled by the higher
level components in Jackrabbit (see XASession).

BR,

Jukka Zitting

-- 
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

Mime
View raw message