-
1. Re: JBoss not loadding CMP entity beans - please help
wdfink May 5, 2004 3:28 AM (in response to stscit04)Hi Stefan,
ne a bit more Information, a bit of the deploymentdescriptor an a code fragment.
Wolf -
2. Re: JBoss not loadding CMP entity beans - please help
aloubyansky May 5, 2004 3:56 AM (in response to stscit04)Does the finder return any value or hang?
-
3. Re: JBoss not loadding CMP entity beans - please help
stscit04 May 5, 2004 5:51 AM (in response to stscit04)Thanks for the replys!
The problem is now solved,
it was a transaction issue. What was puzzeling me is that
the finder returned a valid entity instance and the block
occurs on the first invocation of a getXXX method.
FYI The problem was that I was finding the entity X in Transaction
A, then starting a new Transaction B (by calling a different sessionBean
with the Transaction type = "RequiresNew" ) and finding the same
entity again in Transaction B. Sort of an deadlock that is not detected.
so long
Stefan -
4. Re: JBoss not loadding CMP entity beans - please help
fhaion May 14, 2004 10:03 AM (in response to stscit04)Hi,
I got the same problem, but I didn´t find a correct answer for that. I am working with JBoss 3.0.8 / Jetty Webserver. I´ve the same constellation, means two different sessionBeans (two transactions) finding the same entity bean. The invocation of getXXX method throws sometimes an exception and sometimes I got an deadlock error (server.log). In all cases the findByXXX method was sucessful.
I would like to ask you Stefan, could you explain your solution to me? What have you done to get it working correctly?
Thanks, Frank