|
Re: [CDO] TimeoutException on session refresh [message #431927 is a reply to message #431918] |
Wed, 29 July 2009 18:09 |
|
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
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
Re: [CDO] TimeoutException on session refresh [message #431940 is a reply to message #431938] |
Thu, 30 July 2009 07:30 |
|
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
>
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] TimeoutException on session refresh [message #467956 is a reply to message #431940] |
Mon, 03 August 2009 12:59 |
Saulius Tvarijonas Messages: 34 Registered: July 2009 |
Member |
|
|
Eike,
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
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03185 seconds