jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafał Kwiecień <ra...@consol.pl>
Subject Re: springmodules and cluster feature
Date Mon, 12 Mar 2007 07:05:14 GMT
Hi Dominique

Yes. And Yes, the transaction is running on the same thread, so reentrant lock 
could solve the problem.

Dnia piątek, 9 marca 2007 16:08, Dominique Pfister napisał:
> Hi, Rafał
>
> does that mean that there is a transaction trying to update multiple
> workspaces - "default" and version - and the journal's lock can't be
> re-acquired? Is that transaction running on the same thread, so a
> reentrant lock would actually remedy that deficiency?
>
> Kind regards
> Dominique
>
> On 2/26/07, Rafał Kwiecień <rafal@consol.pl> wrote:
> > Hi,
> >
> > I know where the problem is. AbstractJournal.begin(String workspace) - in
> > the second line a lock is acquired - writeMutex.acquire(); During
> > commiting begin is called twice: begin("default") and begin(null).
> > Application hangs when begin is called second time and try to acquire
> > lock one more time.
> >
> >
> > --
> > Rafał Kwiecień
> > ConSol* Consulting & Solutions Software Poland Sp. z o.o.
> > ul. Piastowska 44C, 30-070 Kraków
> > http://www.consol.pl/

-- 
Rafał Kwiecień
ConSol* Consulting & Solutions Software Poland Sp. z o.o.
ul. Piastowska 44C, 30-070 Kraków 
http://www.consol.pl/

Mime
View raw message