Did I get you right, Bill?

You think that this is a bug in Jboss, not a problem with
me, using transactions in a wrong way?

Michael

Bill Burke wrote:

> Can you log a bug on this, copy this email, and assign to me?
>
> patriot1burke
>
> Thanks,
>
> Bill
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Michael
> > Rudorfer
> > Sent: Thursday, October 10, 2002 11:38 AM
> > To: [EMAIL PROTECTED]
> > Subject: [JBoss-user] "removing bean lock and it has tx set" - question
> >
> >
> > Hi there!
> >
> > I have the following problem:
> >
> > I am using Jboss 2.4.6 with CMP (jaws) and Container
> > Managed Transaction.
> > I have a Stateful Session bean with a bussiness method,
> > that utilizes entity beans. The transaction type of that bussiness
> > method is set to "required". When there are many entity beans
> > to be accessed, jboss crashes with the follwing error message:
> >
> > [16:22:34,047,AttributeDetailBean] TRANSACTION ROLLBACK EXCEPTION:
> > javax.transaction.TransactionRolledbackException: removing bean lock and
> > it has tx set!; nested exception is:
> >  java.lang.IllegalStateException: removing bean lock and it has tx set!
> > java.lang.IllegalStateException: removing bean lock and it has tx set!
> >  at
> > org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.removeRef(Queu
> > edPessimisticEJBLock.java:468)
> >
> >  at org.jboss.ejb.BeanLockManager.removeLockRef(BeanLockManager.java:78)
> >
> >  at
> > org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInter
> > ceptor.java:142)
> >
> > ....
> >
> > My guess is, that some of the entity beans are beeing passivated
> > during the transaction, because the problem gets worse if you set
> > the "max-capacity"-parameter in standardjboss.xml to a smaller value.
> > Of course setting the value to a higher number helps in the first place,
> >
> > but isn't a solution to the problem.
> >
> > Any thoughts on that?
> >
> > What is the desired way to use transactions for a bussiness method
> > that itself calls many different methods on a lot of other beans?
> > What happens to a container managed transaction
> > if one of the beans that it utilized is passivated?
> >
> > Any help would be appreciated.
> >
> > Thanks
> > Michael
> >
> >
> >
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf

--
Dipl.-Inform. Univ.
Michael Rudorfer
Senior Software Engineer

Wearix Software GmbH
Unterhachinger Stra�e 75
81737 M�nchen

Tel.: +49-89-54 88 28-915
Fax : +49-89-54 88 28-88

www.wearix.com






-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to