users@glassfish.java.net

Re: Interfacing single webserver with two clusters ?

From: Pankaj Jairath <Pankaj.Jairath_at_Sun.COM>
Date: Tue, 09 Dec 2008 15:29:08 +0530

What is the error in error logs, do provide that as well. This config
appears to be fine.

-/Pankaj

glassfish_at_javadesktop.org wrote:
> Should this work ?
>
> *********************************************************************
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE loadbalancer PUBLIC "-//Sun Microsystems Inc.//DTD Sun ONE Application
> Server 7.1//EN" "sun-loadbalancer_1_1.dtd">
> <loadbalancer>
>
> <cluster name="cluster1">
> <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://v
> iru.voiplab.blr:38080 https://viru.voiplab.blr:38181" name="instanceviru"/>
> <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://j
> ai.voiplab.blr:38080 https://jai.voiplab.blr:38181" name="instancejai"/>
> <web-module context-root="/clusterjsp" disable-timeout-in-minutes="30" enabl
> ed="true"/>
> <health-checker interval-in-seconds="5" timeout-in-seconds="5" url="/"/>
> </cluster>
>
>
> <cluster name="cluster2">
> <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://v
> iru.voiplab.blr:38082 https://viru.voiplab.blr:38183" name="cvd_instance_viru"/>
> <instance disable-timeout-in-minutes="30" enabled="true" listeners="http://j
> ai.voiplab.blr:38081 https://jai.voiplab.blr:38182" name="cvd_instance_jai"/>
> <web-module context-root="/clusterjsp" disable-timeout-in-minutes="30" enabl
> ed="true"/>
> <health-checker interval-in-seconds="10" 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="active-healthcheck-enabled" value="true"/>
> <property name="number-healthcheck-retries" value="3"/>
> <property name="rewrite-location" value="true"/>
> </loadbalancer>
> *********************************************************************
> [Message sent by forum member 'anzy' (anzy)]
>
> http://forums.java.net/jive/thread.jspa?messageID=320749
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>