users@glassfish.java.net

Re: Load Balancer problems on SJSWS

From: pgribben <p.gribben_at_fortent.com>
Date: Mon, 30 Nov 2009 08:00:24 -0800 (PST)

Kshitiz,

Thanks for that. I'd missed enabling load balancing for the GF instances. It
all seems to work now.

Paul

Kshitiz Saxena wrote:
>
> Please ensure both instances are enabled. Check load-balancer xml, and
> ensure that both entries of instances have enabled attribute set to true.
>
> Thanks,
> Kshitiz
>
> pgribben wrote:
>> Hi
>>
>> I've configured a 2 instance glassfish cluster (gfinstance1 and
>> gfinstance2
>> in logs below), and installed a simple 'HelloWorldGF' web app on the
>> cluster. I can call the web app directly via an instance URL, but if I
>> try
>> to invoke it via the SJSWS web server (identified as 'sjswsInstance' in
>> the
>> log snippets below) I get error:
>> RNTM3003 : Error servicing the request : No server to handle
>>
>> It appears that the load balancer has successfully initialised, but is
>> unable to send the request on to any of the available clusters.
>>
>> The loadbalancer.xml file was generated via the Glassfish DAS, then
>> exported
>> and manually applied to the SJSWS configuration. I haven't attempted to
>> do
>> any SSL configuration in either the cluster or SJSWS, but hopefully I
>> don't
>> need to as I don't need need https.
>>
>> All software levels are identified in the logs. Any information on what
>> may
>> be causing this problem would be greatly appreciated.
>> Thanks
>>
>> [30/Nov/2009:14:56:11] info (12102): CORE1116: Sun Java System Web Server
>> 7.0U6 B08/16/2009 06:22
>> [30/Nov/2009:14:56:11] info (12103): reports: Initializing lbplugin
>> BuildId: GlassFish V2.1 aslb-b08
>> [30/Nov/2009:14:56:11] info (12103): CORE5076: Using [Java HotSpot(TM)
>> Server VM, Version 1.5.0_20] from [Sun Microsystems Inc.]
>> [30/Nov/2009:14:56:11] warning (12103): reports: lb.runtime: RNTM2019:
>> Daemon http://gfinstance1:38080 has been intialized.
>> [30/Nov/2009:14:56:11] warning (12103): reports: lb.runtime: RNTM2019:
>> Daemon http://gfinstance2:38080 has been intialized.
>> [30/Nov/2009:14:56:11] info (12103): reports: lb.monitor: HLCK1006:
>> UnhealthyInstances MonitorCluster 1259592973702 NoUnhealthyInstances
>> [30/Nov/2009:14:56:14] info (12103): HTTP3072: http-listener-1:
>> http://sjswsInstance:80 ready to accept requests
>> [30/Nov/2009:14:56:14] info (12103): HTTP3072: http-listener-2:
>> https://sjswsInstance:8090 ready to accept requests
>> [30/Nov/2009:14:56:14] info (12103): CORE3274: successful server startup
>>
>>
>> [30/Nov/2009:14:56:22] info (12103): reports: lb.monitor: RNTM2900:
>> RequestStart New 00001259592983464457015282947 1259592983464
>> http://sjswsInstance/HelloWorldGF/HelloWorldServlet
>> [30/Nov/2009:14:56:22] info (12103): reports: lb.monitor: RNTM2903:
>> RequestExit New 00001259592983464457015282947 1259592983465
>> http://sjswsInstance/HelloWorldGF/HelloWorldServlet 1 No server to
>> handle
>> [30/Nov/2009:14:56:22] info (12103): reports: lb.runtime: RNTM3003 :
>> Error
>> servicing the request : No server to handle
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>

-- 
View this message in context: http://old.nabble.com/Load-Balancer-problems-on-SJSWS-tp26576713p26577008.html
Sent from the java.net - glassfish users mailing list archive at Nabble.com.