jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vetalok <veta...@gmail.com>
Subject Re: checkin() method and multi-threading
Date Fri, 27 Apr 2007 07:47:36 GMT

yes, I'm using  separate sessions for each thread,
besides, each session has own node, I mean there shold not be any conflicts
between nodes
this code works good with other jcr implementation

Tobias Bocanegra wrote:
> 
> 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 >---
> 
> 

-- 
View this message in context: http://www.nabble.com/checkin%28%29-method-and-multi-threading-tf3652384.html#a10214636
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.


Mime
View raw message