[Modeling-users] Lost connection with mysql
Status: Abandoned
Brought to you by:
sbigaret
From: <so...@la...> - 2003-03-20 13:53:37
|
Is get a strange problem on heavy stress, while using MySQL. In short, I have some servlet (several thread) working on the same EC. When i do several request at the same time (no insertObject/saveChanges() ) the Adapator storage raise a exception : 'Connection Lost to the MySQL server'. Perhaps i miss something in the documentation. From the doc: "the framework is supposed to ensure that any operations made on an EditingContext is safe in a multi-threaded environment (given that the EditingContext is not shared between threads, obviously)." So how should I use the EC in threading env without sharing an ec ? |