Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-12285

Remote EJB clustered node discovery is ignored


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR2
    • 7.1.0.CR1
    • EJB, Naming, Remoting
    • None

      If a client use PROVIDER_URL as property for InitialContext it is expected that if one of the servers is available the invocation is successful.
      But if the first server is not available the invocation fail as the provided proxy has an URI affinity even if there are multiple servers listed
      Context.PROVIDER_URL == "http-remoting://localhost:8080,http-remoting://localhost:8180"

      The proxy looks like this:
      Proxy for remote EJB StatelessEJBLocator for "EAP71-PLAYGROUND-server/ejb/SimpleBean", view is interface org.jboss.wfink.eap71.playground.Simple, affinity is URI<http-remoting://localhost:8080>

            dlloyd@redhat.com David Lloyd
            rhn-support-wfink Wolf Fink
            0 Vote for this issue
            13 Start watching this issue