users@glassfish.java.net

Re: how to setup loadbalancing on glassfish?

From: <glassfish_at_javadesktop.org>
Date: Tue, 26 Aug 2008 05:56:55 PDT

Hi Alexandre,

Sorry for delay in following up on this issue. Web-server team provided solution which fixes the issue. Please modify obj.conf entry as follows:

From :
NameTrans fn="name-trans-passthrough" name="lbplugin" config-file="load-balancer.xml"

To :
NameTrans fn="name-trans-passthrough" name="lbplugin" config-file="load-balancer.xml" UseOutputStreamSize=4000

This will reduce buffering at web-server and produce correct output. If you don't get correct output using this setting, please try with lower values of UseOutputStreamSize

Thanks,
Kshitiz
[Message sent by forum member 'kshitiz_saxena' (kshitiz_saxena)]

http://forums.java.net/jive/thread.jspa?messageID=295374