This bug was introduced by
JBAS-7238. The problem is "views" object, which is created one per EJB JAR for every transaction, is stored in GlobalTxSynchronization under the same key for all the EJBs no matter from which JAR they are. This results in collisions in case EJBs from different JARs are involved in the same transaction, i.e. views from for one JAR might overwrite the views from another JAR.