Thanks,

I have not [been able to] debug the problem, as the initial error occurs in
a non-deterministic manner (well by current observations, but computers do
not behave non-deteministically :) )

One possibility I thought of is concurrency. I have only run into the
problem on machines with (development environment) with 4 Cores. On single
CPU EC2 it has not occured (yet). The initial problem states "double lock"
and that is what makes me think of this as a potential cause.

What plans do Qi4j team have for persistence regarding eventsourcing? This
issue https://ops4j1.jira.com/browse/QI-280 seems related.

Our team is now trying a different design, with a separate entity the data
that was modeled into a Mixin. The problem has so far only occured when this
Mixin was added to an existing Entity, which has several mixins already.
Could there be a problem with size of metadata inferred by the number of
mixins and properties/relations? I will let you know if this
solution/workaround eliminates the error.

/Dag



2011/6/18 Rickard Öberg <[email protected]>

> On 6/18/11 16:32 , Dag Blakstad wrote:
>
>> The .db file is approximately 159 MB. Measured by today's size of a
>> database
>> this is a small, but are there parameters or limitations on the jdbm?
>>
>
> That's tiny, so that's not it then. In that case I don't really know what
> to look for. Have you tried any debugging sessions to see what causes this
> exception to be thrown in the first place?
>
> One option is for us to migrate to JDBM2:
> http://code.google.com/p/**jdbm2/ <http://code.google.com/p/jdbm2/>
> At least that seems to be better maintained. Won't help you in the short
> run though.
>
>
> /Rickard
>
> ______________________________**_________________
> qi4j-dev mailing list
> [email protected]
> http://lists.ops4j.org/**mailman/listinfo/qi4j-dev<http://lists.ops4j.org/mailman/listinfo/qi4j-dev>
>



-- 
------------------------------------
Dag Blakstad
http://no.linkedin.com/in/dagblakstad
http://webstep.no/ansatte/dag-blakstad/
Senior Konsulent Webstep AS
Mobil : +47 95 22 69 22
Lysaker Torg 2, 1366 Oslo

Pb 66, 1324 Lysaker

http://www.webstep.no
Oslo - Bergen - Stavanger - Trondheim
------------------------------------
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to