Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

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

1923246Mar 15 2016 — edited Mar 15 2016

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

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 12 2016
Added on Mar 15 2016
0 comments
706 views