users@glassfish.java.net

Re: Keep Alives

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 31 May 2007 13:38:41 -0400

Kenneth Clark wrote:
> Thanks for that, I have looked there and all I have is
> <keep-alive max-connections="256" thread-count="100"
> timeout-in-seconds="30"/>
>
> Now there is a property called
> <property name="maxKeepAliveRequests" value="1"/>
>
> Inside the listener config but this doesn't seem to behave the way it is
> expected.

If you want to have the same behavior as Tomcat, just set
max-connections="1". As for the property, let me take a look as this one
was for 8.x when the keep-alive element wasn't supported.

-- Jeanfrancois


>
> Kenneth Clark
> System Architect / Lead Developer
>
> Rabid Dog Laboratories T
> Putting the art back into development
>
> tel: +27 11 475 7409
> mobile: +27 82 500 5090
> e-mail: kenneth_at_rabiddog.co.za
> website: http://www.rabiddog.co.za/
> -----Original Message-----
> From: Jeanfrancois.Arcand_at_Sun.COM [mailto:Jeanfrancois.Arcand_at_Sun.COM]
> Sent: 31 May 2007 19:09
> To: users_at_glassfish.dev.java.net
> Subject: Re: Keep Alives
>
> Hi Ken,
>
> Kenneth Clark wrote:
>> So much for interop.
>>
>>
>>
>> Initially I had an issue using a C# client to consume Java webservice
>> from axis where the client was throwing connection closed when expected
>> to be alive errors. I resolved this by setting the keep-alive in tomcat
>> to 1. I will be buggered if I can do the same thing in Glassfish. Where
>> can I change this setting?
>
> In domain.xml, look for the <keep-alive...> element.
>
> -- Jeanfrancois
>
>>
>>
>> Thanks
>>
>> *Kenneth Clark*
>> *System Architect / Lead Developer*
>>
>> *Rabid Dog Laboratories T*
>> Putting the art back into development
>>
>> *tel:* +27 11 475 7409
>> *mobile:* +27 82 500 5090
>> *e-mail:* kenneth_at_rabiddog.co.za <mailto:kenneth_at_rabiddog.co.za>
>> *website:* http://www.rabiddog.co.za/
>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>
>
>