-
Bug
-
Resolution: Done
-
Critical
-
JBossAS-4.2.1.GA, JBossAS-5.0.0.Beta3
-
None
-
Workaround Exists
-
We have a big regression at out hands. When we moved to unified
invokers, we lost the ability for home/bean proxies to be updated
when another node undeploys a bean. Why?
ProxyFactoryHA.replicantsChanged looks something like this
(the trace logs were added by me during debugging):
public synchronized void replicantsChanged (String key,
List newReplicants,
int newReplicantsViewId)
{
try
{
if (homeInvoker instanceof InvokerProxyHA)
{
if (log.isTraceEnabled())
((InvokerProxyHA)homeInvoker).updateClusterInfo (target.getReplicants(), target.getCurrentViewId ());
}
if (beanInvoker instanceof InvokerProxyHA)
{
if (log.isTraceEnabled())
((InvokerProxyHA)beanInvoker).updateClusterInfo (target.getReplicants(), target.getCurrentViewId ());
}
log.debug ("Rebinding in JNDI... " + key);
rebindHomeProxy ();
}
catch (Exception none)
}
UnifiedInvokerHAProxy does not implement InvokerProxyHA, so unified invoker ha
proxies will never have their replicants updated.
- duplicates
-
JBAS-4614 UnifiedInvokerHAProxy does not implement InvokerProxyHA
- Closed
- is incorporated by
-
JBPAPP-850 JBAS-5536 - UnifiedInvokerHAProxy replicants are not updated when other nodes undeploy beans
- Resolved