jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra" <tobias.bocane...@day.com>
Subject Re: checkin() method and multi-threading
Date Thu, 26 Apr 2007 20:08:57 GMT
hi,
are you using separate sessions for each thread?
regards, toby

On 4/26/07, vetalok <vetalok@gmail.com> wrote:
>
> Hi all
> Are there some problems in jackrabbit with checkin() method?
> My code:
> ....
> Node tmpNode = node.addNode("tmpNodeName", "nt:unstructured");
> tmpNode.addMixin("mix:versionable");
> node.save();
> ....
> tmpNode.checkin()
> If this part of code had exetuded by 1 thread - all OK.
> But if this code had exetuded by 2 threads the programm is hanging...
> Other operations like addnode passed OK in multi threaded mode.
> Any ideas?
> Thanks.
>
> --
> View this message in context: http://www.nabble.com/checkin%28%29-method-and-multi-threading-tf3652384.html#a10202901
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
>
>


-- 
-----------------------------------------< tobias.bocanegra@day.com >---
Tobias Bocanegra, Day Management AG, Barfuesserplatz 6, CH - 4001 Basel
T +41 61 226 98 98, F +41 61 226 98 97
-----------------------------------------------< http://www.day.com >---

Mime
View raw message