Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] TimeoutException on session refresh
[CDO] TimeoutException on session refresh [message #431918] Wed, 29 July 2009 14:30 Go to next message
Saulius Tvarijonas is currently offline Saulius TvarijonasFriend
Messages: 34
Registered: July 2009
Member
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
Re: [CDO] TimeoutException on session refresh [message #431927 is a reply to message #431918] Wed, 29 July 2009 18:09 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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


Re: [CDO] TimeoutException on session refresh [message #431938 is a reply to message #431927] Thu, 30 July 2009 07:04 Go to previous messageGo to next message
Saulius Tvarijonas is currently offline Saulius TvarijonasFriend
Messages: 34
Registered: July 2009
Member
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()?

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
Re: [CDO] TimeoutException on session refresh [message #431940 is a reply to message #431938] Thu, 30 July 2009 07:30 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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
>


Re: [CDO] TimeoutException on session refresh [message #467956 is a reply to message #431940] Mon, 03 August 2009 12:59 Go to previous message
Saulius Tvarijonas is currently offline Saulius TvarijonasFriend
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
>>
Previous Topic:org.xml.sax.SAXParseException: Content is not allowed in prolog / Custom ResourceImpl / case sensiti
Next Topic:[Teneo] Problems with Teneo Gmf Mindmap Tutorial
Goto Forum:
  


Current Time: Thu Apr 18 04:48:36 GMT 2024

Powered by FUDForum. Page generated in 0.02713 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top