Per-request load balancing does not seem to work when following these instructions to configure load balancing for a stateless EJB:
http://docs.oracle.com/cd/E26576_01/doc.312/e24934/rmi-iiop.htm#gknpv
Requests from a single client seem to always go to the first node in the cluster and never load balance as if it was still using Initial Context load balancing. My glassfish-ejb-jar.xml file is attached with the per-request-load-balancing set to true:
I know the file is being parsed and there are no parsing errors.
I also turned the logging level up to FINEST for Corba within the cluster and I see other log messages at the FINE level but I never see the log message that the Oracle instructions say I should see that per-request-load-balancing has been turned on for my EJB:
"Verify the PRLB configuration by looking for the following FINE message in the CORBA log file:
Setting per-request-load-balancing policyfor EJB EJB-name"
I don't know if I am missing some other configuration or if RMI per request load balancing is broken in 3.1.2?
Any help would be greatly appreciated!
Thanks!
-Wes
Attachment | Size |
---|---|
glassfish-ejb-jar.txt | 933 bytes |