-
Bug
-
Resolution: Done
-
Major
-
2.1.2.Final, 2.2.0.Beta2
-
None
The offending code
@SuppressWarnings("unchecked") private Object readResolve() throws ObjectStreamException { return new EnterpriseBeanProxyMethodHandler<T>((SessionBean<T>) manager.getPassivationCapableBean(beanId)); }
creates a new SFSB session instead of reusing the reference
public EnterpriseBeanProxyMethodHandler(SessionBean<T> bean) { this.bean = bean; this.manager = bean.getBeanManager(); this.beanId = bean.getIdentifier(); this.reference = bean.createReference(); BeanLogger.LOG.createdSessionBeanProxy(bean); }
Introduced by commit 5b314063996383c64b5dd2ff0f8d3443b037bd1d
https://github.com/weld/core/commit/5b314063996383c64b5dd2ff0f8d3443b037bd1d
- blocks
-
WFLY-3144 Session replication doesn't work as expected
- Closed