Hey Tobias and Andrew, soooo :) 1 - The repeated LOCKING-WAITING was a tradeoff for other problems, I'm already looking into it to improve it, but causes no harm, it is not an error (if the container after a while stops printing). 2 - It happens when you have a bean involved in a transaction and you're trying to call the same bean from another transaction. EJB spec says in this case the second transaction must wait the first transaction to finish, and JBoss waits (printing the complained message maany and maaaany times, this will be fixed and *not* commenting out the printing ;)). I'd suggest to check if everything is under control from your clients: are you using multiple threads to call your entity bean ? If so, then the above is normal, otherwise double check your transaction settings, probably something isn't going as you expect (just a guess, anyway). Also, sure that this is false: Person call Account that calls back Person ? Stay tuned. Simon > -----Messaggio originale----- > Da: Tobias Frech [mailto:[EMAIL PROTECTED]] > Inviato: venerdi 26 gennaio 2001 20:01 > A: jBoss > Oggetto: Re: [jBoss-User] LOCKING-WAITING (TRANSACTION) > > > Hi Andrew! > I know that problem. From time to time we see it too. But > after an awful > long time (in measures of CPU time) the container recovers somehow. To > help to pin down that problem we could collect all the > information about > when this occurs. > > Which version of JBoss are you using ? > > Can you reproduce this error or does it happen "randomly" ? > > Do you know if [InternalAccount] has just been called, was > called before > or is not involved in any transaction at the time this happens ? I am > not sure, but the later could be the case for me. > > Cheers, > Tobias > > "Nortje, Andrew" wrote: > > > > What does LOCKING-WAITING (TRANSACTION) mean? > > > > 1. Does it mean the row in the database is locked? OR > > 2. Access to the particular entity bean is locked - the > non-reentrant bean > > thing. > > > > Some notes - > > - I have no reentrant entity beans > > - Application works fine for one customer buy transaction > > - Application works fine, for a while, with multiple customer buy > > transactions - then I get the LOCKING-WAITING (TRANSACTION) > - forever > > - Seems like a deadlock > > > > Any ideas? > > > > Thanks > > > > Andrew > > > > [InternalAccount] Transaction insert() called Transaction: > ID 0 Debit 0 > > Credit 65 Amount 2.5 Parent 6192 > > [InternalAccount] SQL: Insert into TRANSC ( TRANSC_ID, > PARENT_TRANSC_ID, > > DEBIT_ACCOUNT_ID, CREDIT_ACCOUNT_ID, TRANSC_DATE, > EFFECTIVE_DATE, AMOUNT, > > STATUS, DESCRIPTION, TRANSC_TYPE_ID ) values ( 6195, 6192, 0, 65, > > to_date('2001-01-26 02:41:02','YYYY-MM-DD HH24:MI:SS'), > to_date('2001-02-25 > > 02:41:02','YYYY-MM-DD HH24:MI:SS'), 2.5, 1, 'COMMISSION', 5 ) > > [InternalAccount] Transaction: ID 6195 Debit 0 Credit 65 > Amount 2.5 Parent > > 6192 Transaction amount = 2.5 > > [InternalAccount] Updating account balance > > com.uni.account.InternalAccountBean@34cdfc > > For entity with ID 0 > > Account ID 0 > > Balance = 856.2 + > > -2.5############################################################## > > [Person] LOCKING-WAITING (TRANSACTION) for id > > com.uni.entity.myaccount.PersonPK@4a7c ctx.hash 6146369 > > tx:TransactionImpl:XidImpl:[B@7fb9e1 > > [InternalAccount] LOCKING-WAITING (TRANSACTION) for id > > com.uni.account.AccountPK@0 ctx.hash 4092026 > > tx:TransactionImpl:XidImpl:[B@49e87 > > [Person] LOCKING-WAITING (TRANSACTION) for id > > com.uni.entity.myaccount.PersonPK@4a7c ctx.hash 6146369 > > tx:TransactionImpl:XidImpl:[B@43e93d > > > > -- > > -------------------------------------------------------------- > > To subscribe: [EMAIL PROTECTED] > > To unsubscribe: [EMAIL PROTECTED] > > List Help?: [EMAIL PROTECTED] > > > -- > -------------------------------------------------------------- > To subscribe: [EMAIL PROTECTED] > To unsubscribe: [EMAIL PROTECTED] > List Help?: [EMAIL PROTECTED] > -- -------------------------------------------------------------- To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] List Help?: [EMAIL PROTECTED]
