users@glassfish.java.net

Re: desperate with the load balancer

From: <glassfish_at_javadesktop.org>
Date: Tue, 04 Dec 2007 03:37:40 PST

one more quick question :

In posted loadbalancer.xml, there are many "*" signs. Is it because of copy/paster?

Your loadbalancer.xml should be :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE loadbalancer PUBLIC "-//Sun Microsystems Inc.//DTD Sun Java System Application Server 9.1//EN" "sun-loadbalancer_1_2.dtd"><loadbalancer>
<cluster name="cluster1" policy="round-robin">
<instance disable-timeout-in-minutes="30" enabled="true" listeners="http://linux:38080 https://linux:38181" name="g1-i1" weight="100"/>
<instance disable-timeout-in-minutes="30" enabled="true" listeners="http://kubuntu:38080 https://kubuntu:38181" name="g2-i1" weight="100"/>
<web-module context-root="/clusterjsp" disable-timeout-in-minutes="30" enabled="true"/>
<health-checker interval-in-seconds="30" timeout-in-seconds="10" url="/"/>
</cluster>
<property name="response-timeout-in-seconds" value="60"/>
<property name="reload-poll-interval-in-seconds" value="60"/>
<property name="https-routing" value="false"/>
<property name="require-monitor-data" value="false"/>
<property name="last-exported" value=""/>
<property name="active-healthcheck-enabled" value="false"/>
<property name="number-healthcheck-retries" value="3"/>
<property name="rewrite-location" value="true"/>
</loadbalancer>
<!--
This file was generated on:
[Mon Dec 03 13:15:33 EET 2007]. Debugging Tips:By default,
instances and web-modules are not enabled. Please enable them manually
if you have not done that using asadmin.
-->

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

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