Sharon.Yin's post was accurate.
Modifying servicemix-http.connectorMaxIdleTime in
$SERVICEMIX_HOME/conf/component.properties changed the timeout for me.

For example, I changed the timeout to 2 min 10 sec:
$ grep -i idle component.properties
servicemix-http.connectorMaxIdleTime=130000

< start servicemix >

$ time telnet localhost 8080
Trying ::1...
Connected to localhost.localdomain (::1).
Escape character is '^]'.
Connection closed by foreign host.

real    2m10.028s


On 5/24/07, David Potter <[EMAIL PROTECTED]> wrote:


I have post this message to the Jetty forum to see if they can help.
If I find a solution I will post a patch.

Thanks

David


gnodet wrote:
>
> I'm not sure this can be configured right now in ServiceMix,
> but I guess this can be configured in Jetty.  You should try
> to look at goole / Jetty web site / Jetty javadoc / Jetty mailing
> lists and see if there is any information on that.
> Then, raise a JIRA and attach your patch :-)
>
> On 5/23/07, David Potter <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi
>>
>> I am using the servicemix-http component to accept soap requests for
>> processing over an ssl conection. We have a single client sending in
the
>> requests.
>>
>> What I have found is that the first request will establish the SSL
>> connection and then additional requests will use the same connection
>> (standard behaviour for HTTP 1.1). If the connection is left idle for
>> somewhere between 1 and 10 minutes the connection is dropped and need
to
>> be
>> re-established (again expected behaviour).
>>
>> My question is how can I change the timeout in the http component (or
>> jetty?)
>>
>> thanks in advance
>>
>> David Potter (InfoComp in Oz)
>>
>> --
>> View this message in context:
>>
http://www.nabble.com/Setting-the-http-session-timeout-tf3801784s12049.html#a10756803
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
> ------------------------
> Principal Engineer, IONA
> Blog: http://gnodet.blogspot.com/
>
>

--
View this message in context:
http://www.nabble.com/Setting-the-http-session-timeout-tf3801784s12049.html#a10796739
Sent from the ServiceMix - User mailing list archive at Nabble.com.


Reply via email to