Hi,
I just verified another problem with EntityInstanceInterceptor:
if Entity bean A calls bean B and that in turn calls back bean A
where A is not marked to be reentrant, both instances are blocked
forever, B busy waiting.
session entity A entity B
------- -------- --------
I mA1 | |
I---------->I mB1 |
I I---------->I
I I I
I I mA2 I
I II<---------I <<< blocks forever
The check was done against 2.2.1, but the latest changes to the
code in EntityInstanceInterceptor will certainly show same behaviour.
Please note, that EJB 1.1 section 9.1.12 requires a RemoteException
to be thrown by the container in this situation:
| If the entity bean is specified as non-reentrant in the
| deployment descriptor, the Container must reject an attempt to
| reenter the instance via the entity bean's remote interface while
| the instance is executing a business method. (This can happen,
| for example, if the instance has invoked another enterprise bean,
| and the other enterprise bean tries to make a loopback call.) The
| container must reject the loopback call and throw the
| java.rmi.RemoteException to the caller. The container must allow
| the call if the Bean's deployment descriptor specifies that the
| entity bean is reentrant.
The offending code is around the 'LOCKING-WAITING (CTX) ...' log
message.
The version 2.2.1 code had a commented out RemoteException in the
right place, the current CVS hasn't it anymore.
As Marc Fleury has promised to fix EntityInstanceInterceptor this
weekend, I'll not attempt to fix that myself, but instead let you
know about the problem.
best regards
Georg
___ ___
| + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg
|_|_\ |___ [EMAIL PROTECTED] +49 (40) 23 53 27 10
PS: www.jboss.org JSP version FLYs for me, compared to the old
one, nice work Dr.! Is this JBoss/tomcat's work alone, that
teached it flying, or is there some new hardware under the wings?
Shouldn't there be a link/page to the used soft/hardware on the
entry page? Some (realtime?) indication of the hits/hour would
help switching to JBoss even more.
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-development