[ http://jira.jboss.com/jira/browse/JBAS-1442?page=history ]
     
Adrian Brock closed JBAS-1442:
------------------------------

     Resolution: Done
    Fix Version:  JBossAS-4.0.2RC1

Fixed. If the invoker does not implement InvokerProxyHA,
the invocation does not take the optimized local path if it is
going through a client container constructed on a different server.

Also made it slightly easier to override individual policy decisions:
isLocal(Invocation) - the main policy integration point
isLocal() - whether the proxy was constructed locally
isClustered(Invocation) - whether the invoker is clustered (currently does it 
implement InvokerProxyHA) and should optimize locally if the service is 
available
hasLocalTarget(Invocation) - whether the invocation can be satisifed by a local 
version of the service.


> JBAS-57 was not fully backwards compatible
> ------------------------------------------
>
>          Key: JBAS-1442
>          URL: http://jira.jboss.com/jira/browse/JBAS-1442
>      Project: JBoss Application Server
>         Type: Bug
>   Components: Clustering
>     Versions: JBossAS-4.0.1 Final
>     Reporter: Adrian Brock
>     Assignee: Adrian Brock
>      Fix For:  JBossAS-4.0.2RC1

>
>
> The change to allow the clustered colocation policy to be overridden
> http://jira.jboss.com/jira/browse/JBAS-57
> is not fully backwards compatbile with previous releases.
> i.e. When the invoker interceptor is used for a non clustered proxy where
> one server looks up a service from another server.
> If both servers have the service installed it will use the colocated path
> when the intention is to use the remote service.
> e.g. Server1 looks up the RMIAdaptor for Server2
> Because Server1 also has an RMIAdaptor it will use the colocated RMIAdaptor.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.jboss.com/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to