I have a bean-managed persistence entity bean, that loads several 
container-managed persistence entity beans and caches their 
implementations.

Both are deployed as TX_REQUIRED. The problem I have is that if the BMP 
bean is *not* loaded within a client's transaction, I get this:

bash-2.02$ EntitySynchroImpl.considerRequest() 
registerSynchronization(this) :
javax.transaction.RollbackException
EntitySynchroImpl.considerRequest() : java.rmi.ServerException: 
RemoteException
occurred in server thread; nested exception is:
        java.rmi.RemoteException: Container cannot register synchronization 
Object;
nested exception is:
        javax.transaction.RollbackException
EntitySynchroImpl.onException
Cannot set transaction as rollback only
bash-2.02$

Whereas if my client start a transaction before loading the BMP bean, then 
commits it afterwards, everything loads fine.

I am still using Jonas 1.6.1 so please forgive this question if this has 
been fixed in Jonas 2.0. Otherwise, what am I doing wrong?

Joe

=====================================================================
Joe Gittings, Royal Botanic Gardens, Kew
Hanover House, Kew, Richmond, Surrey TW9 3AB

[EMAIL PROTECTED]
+44 20 8332 5712
fax: +44 20 8332 5736

----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to