> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Adrian Brock
> Sent: Tuesday, July 08, 2003 9:41 AM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: [JBoss-user] Tx Lock policy problem
>
>
> Deadlocks are caused when two threads access
> objects in the opposite order.
>
> All EJB deadlocks should be detected within
> jboss (which version?) except the RequiresNew self deadlock.
> Even then, the transaction timeout should roll it back.
>
> If you are going to use NoLock, you should use the instance
> per transaction configuration.
>

Not should.  You MUST use IPT.

Bill

> Regards,
> Adrian
>
> On Tue, 2003-07-08 at 13:55, Janardhan Burugupalli wrote:
> > Hi All,
> >
> > I have a problem with TX locking when i use the
> QueuedPessimisticEJBLock the
> > application hangs at a point due to TX dead lock but when i use
> the NoLock
> > policy it is working fine. Can any one explain me this as i
> think it is not
> > good to use the NoLock policy ..but i really dont know how to solve this
> > dead lock
> >
> > the configurations in first and second cases looks like this
> >
> > firstcase (not working)
> > <container-configuration>
> >          <container-name>Standard CMP EntityBean</container-name>
> >     .......
> >
> >
> <locking-policy>org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLoc
> k</locking
> > -policy>
> >
> > ...........
> >
> >
> > in the second case (Working)
> > <container-configuration>
> >          <container-name>Standard CMP EntityBean</container-name>
> >     .......
> >      <locking-policy>org.jboss.ejb.plugins.lock.NoLock</locking-policy>
> >     .........
> >
> > Can any one pull me out of this dead lock please....thanks
> >
> > jani
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> > Data Reports, E-commerce, Portals, and Forums are available now.
> > Download today and enter to win an XBOX or Visual Studio .NET.
> > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> > _______________________________________________
> > JBoss-user mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-user
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-user



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to