Sun GlassFish Enterprise Server v2.1.1 Release Notes

Deployment of Java EE application with EJB as a Web Service is not captured by load balancing plug-in (Issue 685)

Description

When you deploy any WAR (or EAR) with a servlet-based web service, the HTTP Load Balancer is updated with information about the web service. When an EJB-based web service is deployed, the configuration of the HTTP Load Balancer is not updated to reflect the new object.

Solution

Add these context roots manually to the load balancer configuration file (loadbalancer.xml). However, dynamic reconfiguration of load balancer configuration (using the auto-apply feature) would result in older manual edits being lost.

Turn off the auto-apply feature from DAS and instead use the manual export feature to edit and apply the load balancer configuration onto the Web Server.