DescriptionJames Livingston
2015-06-26 01:40:33 UTC
@Resource Injecting UserTransaction into CDI beans or EJBs injects the real ServerVMClientUserTransaction which is not serializable, which causes an exception if the EJB is passivated or the CDI bean in session scope and replicated.
A work around is to use @Inject instead, which injects as serializable proxy.