Hi,

I can think of 2 things,

1. Set the REENTRANT flag to true for entity bean A
2. Since entity bean A is not updated so you can flagged the DD to start a
separate transaction for entity bean A OR no transaction.

Hope that helps

Cheers
Nanik



>From: Richard Martin <[EMAIL PROTECTED]>
>Reply-To: Richard Martin <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Entity beans concurrent access
>Date: Mon, 4 Mar 2002 16:09:46 +0000
>
>I have an entity bean (A) that represents a small number of business
>objects which are used by a  large number of other entities (B). We are
>never actually changing the data
>in A, only reading it.
>
>Because we are not chaning the data there is no reason why two
>threads/transactions shouldn't be able to read data from the entity at the
>same time. However, we seem to be
>getting threads going into a wait-state accessing A, the log shows millions
>of lines of:
>
>[OperatorAccountEJB] LOCKING-WAITING (TRANSACTION) for id MGX001ctx.hash
>3310756 tx:TransactionImpl:XidImpl [FormatId=257,
>GlobalId=svr-mgx-ssa-j2e1.gw1.magex.com//53,
>BranchQual=]
>
>Can the behaviour be modified such that other threads can concurrently read
>the entity? Or is an entity bean fundamentally unsuitable for an object
>with this type of access
>pattern?
>
>
>Rich.
>
>[JBoss-2.2.2, Sun jdk1.3.01, Linux/Solaris]
>
>==============================================================================
>This email and any files transmitted with it are confidential and intended
>solely for the use of the individual or entity to whom they are addressed.
>All information is the view of the individual and not necessarily the
>company. If you are not the intended recipient you are hereby notified that
>any dissemination, distribution, or copying of this communication and its
>attachments is strictly prohibited. If you have received this email in
>error please notify:
>[EMAIL PROTECTED]
>
>
>==============================================================================
>
>===========================================================================
>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".
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.;

===========================================================================
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