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

[GSS](7.0.z) A client is not able to invoke EJB's deployed as "HASingleton deployment"

XMLWordPrintable

    • Hide

      Checkout https://github.com/wfink/jboss-eap-playground/tree/master/eap7ClusterHASingletonDeployment
      follow the readme and build the application,
      start both servers.
      If node1 is the owner of the app

      • invoke the client and see it works
      • restart node1
      • now node2 become owner of the app
      • invoke client and seeit will fail
      Show
      Checkout https://github.com/wfink/jboss-eap-playground/tree/master/eap7ClusterHASingletonDeployment follow the readme and build the application, start both servers. If node1 is the owner of the app invoke the client and see it works restart node1 now node2 become owner of the app invoke client and seeit will fail
    • EAP 7.0.9

      Given that an application contains a SLSB and is clustered, any EJB client will be updated to have a view off all cluster members and is able to use and failover to any node in the cluster no matter whether it is in the initial list of servers.

      Now if the application is marked as "singleton-deployment" via jboss-all.xml and deployed to all servers only one server in a cluster will pick it and make it active.
      Now the expectation is that a client is routed to that server no matter whether this special server is included in the clients initial connection list.

      The interesting thing is that the client.log show that both servers are connected it the application is NOT marked as singleton
      But only the initial server is connected if the app is marked as singleton!

              pferraro@redhat.com Paul Ferraro
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: