0 Replies Latest reply on Mar 15, 2016 9:59 AM by 1923246

    How can a load balancing for EJB requests be achieved between WLS-clients and WLS-servers?

    1923246

      Background:

      As long as we used EJB 2.0 there seemed to be an automatic load balancing between our 4 WLS-Clients and 4 WLS-Servers.

      After migrating the software to EJB 3.0, a client, which loaded once the initialcontext via

      JNDI_FACTORY=weblogic.jndi.WLInitialContextFactory

      JNDI_URL=t3://hostname1:8001,hostname2:8001,hostname3:8001,hostname4:8001

      the EJB requests are all answered from the same WLS-Server.

       

      So in the worst case, if we restart all 4 WLS-Clients they are all getting the initialcontext from WLS-Server1 and WLS-Servers 2-4 are lazy