jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Chan" <vincentslc...@gmail.com>
Subject Re: JNDIDatabasePersistenceManager and WAS6 - keep getting rollback exception
Date Tue, 10 Oct 2006 04:55:05 GMT
Jukka:

Thanks for the reply.

I'm quite certain the datasource is setup with a default transaction
mechanism.
I'll try to disable transaction and see if it makes any difference.

Is there any way to have the container, instead of jackrabbit, managing
transaction?

Thanks,
Vincent

On 10/10/06, Jukka Zitting <jukka.zitting@gmail.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message