ne a bit more Information, a bit of the deploymentdescriptor an a code fragment.
Does the finder return any value or hang?
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.
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?