Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community Forums[CDO] TimeoutException on session refresh
https://www.eclipse.org/forums/index.php/mv/msg/136848/431918/#msg_431918
CDOSessionImpl.refresh() sometimes throws TimeoutException. As I see
there is way to configure timeout, but I wonder is it right to set big
number. Refresh operation depending on changes might take long time if
it requires to load a lot of data from database.
How timeouts are working in this case? For example if timeout is 10
seconds and operation on server takes 20 seconds to load data. Will it
timeout?
Or server can inform client that everything is fine and operation in
progress? So client will not timeout.
Regards,
Saulius]]>Saulius Tvarijonas2009-07-29T14:30:29-00:00Re: [CDO] TimeoutException on session refresh
https://www.eclipse.org/forums/index.php/mv/msg/136848/431927/#msg_431927
For all client-->serv ver requests (with the exception of the commit
signals) a timeout value of 10 seconds means: As soon as no data can be
read from the *response* stream for more than 10 seconds throw
TimeoutException. Since the data is continuoesly streamed I don't think
that there's a problem with that. While you're waiting on the client
side, does something happen on the server console?
Saulius Tvarijonas schrieb:
> Hi,
>
> CDOSessionImpl.refresh() sometimes throws TimeoutException. As I see
> there is way to configure timeout, but I wonder is it right to set big
> number. Refresh operation depending on changes might take long time if
> it requires to load a lot of data from database.
> How timeouts are working in this case? For example if timeout is 10
> seconds and operation on server takes 20 seconds to load data. Will it
> timeout?
> Or server can inform client that everything is fine and operation in
> progress? So client will not timeout.
>
> Regards,
> Saulius]]>Eike Stepper2009-07-29T18:09:20-00:00Re: [CDO] TimeoutException on session refresh
https://www.eclipse.org/forums/index.php/mv/msg/136848/431938/#msg_431938
Actually I haven't saw anything on server console. Looks everything is
fine. We experience this problem with CDOSession.refresh() only.
Is there option to turn performance tracing on server side for refresh()?
Regards,
Saulius
On 2009.07.29 21:09, Eike Stepper wrote:
> Saulius,
>
> For all client-->serv ver requests (with the exception of the commit
> signals) a timeout value of 10 seconds means: As soon as no data can be
> read from the *response* stream for more than 10 seconds throw
> TimeoutException. Since the data is continuoesly streamed I don't think
> that there's a problem with that. While you're waiting on the client
> side, does something happen on the server console?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
> Saulius Tvarijonas schrieb:
>> Hi,
>>
>> CDOSessionImpl.refresh() sometimes throws TimeoutException. As I see
>> there is way to configure timeout, but I wonder is it right to set big
>> number. Refresh operation depending on changes might take long time if
>> it requires to load a lot of data from database.
>> How timeouts are working in this case? For example if timeout is 10
>> seconds and operation on server takes 20 seconds to load data. Will it
>> timeout?
>> Or server can inform client that everything is fine and operation in
>> progress? So client will not timeout.
>>
>> Regards,
>> Saulius]]>Saulius Tvarijonas2009-07-30T07:04:28-00:00Re: [CDO] TimeoutException on session refresh
https://www.eclipse.org/forums/index.php/mv/msg/136848/431940/#msg_431940
> Hi,
>
> Actually I haven't saw anything on server console. Looks everything is
> fine. We experience this problem with CDOSession.refresh() only.
> Is there option to turn performance tracing on server side for refresh()?
Not that I know off ;-(
Is it a new problem with code that formerly worked for you?
In any case, can you file a bugzilla, so that we can track it there?
>
> Regards,
> Saulius
>
> On 2009.07.29 21:09, Eike Stepper wrote:
>> Saulius,
>>
>> For all client-->serv ver requests (with the exception of the commit
>> signals) a timeout value of 10 seconds means: As soon as no data can be
>> read from the *response* stream for more than 10 seconds throw
>> TimeoutException. Since the data is continuoesly streamed I don't think
>> that there's a problem with that. While you're waiting on the client
>> side, does something happen on the server console?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>> Saulius Tvarijonas schrieb:
>>> Hi,
>>>
>>> CDOSessionImpl.refresh() sometimes throws TimeoutException. As I see
>>> there is way to configure timeout, but I wonder is it right to set big
>>> number. Refresh operation depending on changes might take long time if
>>> it requires to load a lot of data from database.
>>> How timeouts are working in this case? For example if timeout is 10
>>> seconds and operation on server takes 20 seconds to load data. Will it
>>> timeout?
>>> Or server can inform client that everything is fine and operation in
>>> progress? So client will not timeout.
>>>
>>> Regards,
>>> Saulius
>]]>Eike Stepper2009-07-30T07:30:06-00:00Re: [CDO] TimeoutException on session refresh
https://www.eclipse.org/forums/index.php/mv/msg/136848/467956/#msg_467956
I opened new issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=285433
Regards,
Saulius
On 2009.07.30 10:30, Eike Stepper wrote:
> Saulius Tvarijonas schrieb:
>> Hi,
>>
>> Actually I haven't saw anything on server console. Looks everything is
>> fine. We experience this problem with CDOSession.refresh() only.
>> Is there option to turn performance tracing on server side for refresh()?
> Not that I know off ;-(
>
> Is it a new problem with code that formerly worked for you?
>
> In any case, can you file a bugzilla, so that we can track it there?
>
> Cheers
> /Eike
>
> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
>>
>> Regards,
>> Saulius
>>
>> On 2009.07.29 21:09, Eike Stepper wrote:
>>> Saulius,
>>>
>>> For all client-->serv ver requests (with the exception of the commit
>>> signals) a timeout value of 10 seconds means: As soon as no data can be
>>> read from the *response* stream for more than 10 seconds throw
>>> TimeoutException. Since the data is continuoesly streamed I don't think
>>> that there's a problem with that. While you're waiting on the client
>>> side, does something happen on the server console?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>
>>> Saulius Tvarijonas schrieb:
>>>> Hi,
>>>>
>>>> CDOSessionImpl.refresh() sometimes throws TimeoutException. As I see
>>>> there is way to configure timeout, but I wonder is it right to set big
>>>> number. Refresh operation depending on changes might take long time if
>>>> it requires to load a lot of data from database.
>>>> How timeouts are working in this case? For example if timeout is 10
>>>> seconds and operation on server takes 20 seconds to load data. Will it
>>>> timeout?
>>>> Or server can inform client that everything is fine and operation in
>>>> progress? So client will not timeout.
>>>>
>>>> Regards,
>>>> Saulius
>>]]>Saulius Tvarijonas2009-08-03T12:59:20-00:00