users@glassfish.java.net

Re: LoadBalancer- Sun Web Server 6.1- can't find ../clusterjsp (File not found)

From: <glassfish_at_javadesktop.org>
Date: Thu, 25 Jun 2009 23:05:12 PDT

Thanks Kshitiz..

Its working perfectly now...

As you pointed out there were errors loading loadbalancer.xml. Due to white spaces.. I am attaching the corrected loadbalancer.xml for reference, so that it may be helpful for others facing similar issues..

loadbalancer.xml
-------------------------

<!DOCTYPE loadbalancer PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Application Server 7.1//EN" "sun-loadbalancer_1_2.dtd">
<loadbalancer>
    <cluster name="cluster1" policy="round-robin">
        <instance name="instance-ONE" enabled="true" disable-timeout-in-minutes="60" listeners="http://localhost:1110" weight="100"/>
        <instance name="instance-TWO" enabled="true" disable-timeout-in-minutes="60" listeners="http://localhost:1111" weight="100"/>
        <web-module context-root="clusterjsp" enabled="true" disable-timeout-in-minutes="60" error-url="sun-http-lberror.html" />
        <health-checker url="/" interval-in-seconds="10" timeout-in-seconds="30" />
    </cluster>
    <property name="reload-poll-interval-in-seconds" value="60"/>
    <property name="response-timeout-in-seconds" value="30"/>
    <property name="https-routing" value="true"/>
    <property name="require-monitor-data" value="false"/>
    <property name="active-healthcheck-enabled" value="false"/>
    <property name="number-healthcheck-retries" value="3"/>
    <property name="rewrite-location" value="true"/>
</loadbalancer>


Regards,
Barani.
[Message sent by forum member 'bharanib' (bharanib)]

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