Regis Le Brettevillois
CTO
LIBeLIS
http://www.libelis.com

-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]De la part de Mohamed Boutkhil
Envoy� : vendredi 20 avril 2001 11:44
� : [EMAIL PROTECTED]
Objet : Problem when using two clients..

Hello,
I have written a little application ( compute surface and store in database) to test jonas performance. a session statefull bean handles two others beans:
[Regis Le Brettevillois] Which JOnAS release do you use?
 
    - a stateless which computes surface
    - and entitybean which saves the result.
the client call statefull bean method in loop. it works fine. but when two clients carry out it in the same time, the server stops to execute client request from the second or third loop.
[Regis Le Brettevillois] Could you give more information about the behavior? Are the both clients working on the same entity bean? Do you have traces where the server is stopped?
 
 If I remove entity bean from the execution process, it works fine. therefore my entity bean management seems not correct. the session bean which uses entity bean never removes it. it just call findByPrimaryKeys() and create() methods. I don't know how handle that.
[Regis Le Brettevillois] You don't need to manage the entity bean life cycle, it's the container's responsability.
 
Thanks for help..
Mohamed Boukthil
BEGIN:VCARD
VERSION:2.1
N:LE BRETTEVILLOIS;R�gis;;Mr.
FN:R�gis LE BRETTEVILLOIS
ORG:LIBeLIS
TITLE:CTO
ADR;WORK:;;10, rue Troyon;S�vres;92;92816;France
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:10, rue Troyon=0D=0AS=E8vres, 92 92816=0D=0AFrance
ADR;HOME:;;;;;;France
LABEL;HOME:France
URL:
URL:http://www.libelis.com
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010330T163830Z
END:VCARD

Reply via email to