subhendukumar,

It is not legal to call the same stateful session bean concurrently. If you
do have multi-threads to call the same SFSB, you have to synchoronize the
calls by yourself.

Simon Zeng

WaterCove Networks
285 Billerica Road
Chelmsford, MA 01824
[EMAIL PROTECTED]
978-608-2099


-----Original Message-----
From: subhendukumar mohanty [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 11, 2002 3:22 PM
To: [EMAIL PROTECTED]
Subject: Stateful session bean thread issue


Hi,

I am using stateful session bean in my project. When one of the thread tries
to access one of the method of the bean when another thread is using some
other method of the bean , it gives ejbreeentrant exception.

I would like to know why it is happening and how to prevent second thread
from using the bean when other thread is accessing it.

Thanks,
Subhendu

==========================================================================To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to