You have to ensure that only one method at a time is called.  so do it from the 
client, something like.

hth
dim

----- Original Message -----
From: "subhendukumar mohanty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 12, 2002 5:21 AM
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