|> Rickard posted its solution and I implemented it;
|> Rickard restored the throw new RemoteException("Reentrant call")
|(and so I
|> did) that is now remarked (around line 185 in EntityInstanceInterceptor).
|> This led to the break of my 11-th test, 'cause when I remarked
|it locktest
|> run fine.
|> This part of code is entered because the tx associated with the
|context is
|> null.
|
|Yes, I saw that reentrancy was not checked. I remember vaguely some
|discussion on that topic, and apparently it was removed. Why?
|
|In any case, is it back now? (i.e. reentrant calls on non-reentrant beans
|throws remoteexception?)


rickard,

the reentrancy test is wrong on entity.

If threads come in the bean with the same transaction, it is perfectly valid
to go on invocation it is not a "reentrant" call from the instance through
its EJBObject (you know the "many threads per TX thing ;-)

marc

|
|> Soo, as it is now in CVS (not spec compliant, but works) + Rickard's
|> solution works <happy>fine</happy>.
|
|Most excellent. Did you move the semaphore to the cache?
|
|/Rickard
|
|
|
|


Reply via email to