-
1. Re: CMP and transaction
erikture Sep 19, 2002 8:44 AM (in response to erikture)Hello again!
I clearly have a deadlock situation.
On the console jboss tells me that I have two or more requests for the same resource and that they are locking each other out.
My requests are only read requests. I am absolutly sure that no update is involved.
How do I get the deadlocks disapear?
I have a number of CMP entity beans with lots of relations between them. I am using Jboss 3.0.2.
Is there some way to run inside a transaction without locking other out?
My application will perform 99.99% reading and 0.01% updating of the database.
Desperatly in need of help.
/Erik -
2. Re: CMP and transaction, deadlock
erikture Sep 19, 2002 8:48 AM (in response to erikture)Hello again!
I clearly have a deadlock situation.
On the console jboss tells me that I have two or more requests for the same resource and that they are locking each other out.
My requests are only read requests. I am absolutly sure that no update is involved.
How do I get the deadlocks disapear?
I have a number of CMP entity beans with lots of relations between them. I am using Jboss 3.0.2.
Is there some way to run inside a transaction without locking other out?
My application will perform 99.99% reading and 0.01% updating of the database.
Desperatly in need of help.
/Erik -
3. Re: CMP and transaction
erikture Sep 19, 2002 8:51 AM (in response to erikture)Hello again!
I clearly have a deadlock situation.
On the console jboss tells me that I have two or more requests for the same resource and that they are locking each other out.
My requests are only read requests. I am absolutly sure that no update is involved.
How do I get the deadlocks disapear?
I have a number of CMP entity beans with lots of relations between them. I am using Jboss 3.0.2.
Is there some way to run inside a transaction without locking other out?
My application will perform 99.99% reading and 0.01% updating of the database.
Desperatly in need of help.
/Erik -
4. Re: CMP and transaction
dsundstrom Sep 19, 2002 3:41 PM (in response to erikture)By default reads cause locks. There is a way to turn this off, but I don't know how. It is covered in the JBoss Administration Guide.
-
5. Re: CMP and transaction
sdixit Oct 9, 2002 2:43 PM (in response to erikture)Did anyone figure this out?
Sandeep