Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] cdoPrefetch() Timeout
[CDO] cdoPrefetch() Timeout [message #636192] Fri, 29 October 2010 14:53 Go to next message
Eclipse UserFriend
Originally posted by: info.dav85.de

Hello everyone,

i want to use CDOObject.cdoPrefetch(). For models with a large count of
objects i got a TimeoutException. Whats happen with this exception? Is
there any configuration that must be set to use this function or can i
raise the timeout?

I use CDO 4.0 with a DBStore (MySQL) and a horizontalAuditWithRanges
mapping.

Here is the StackTrace:

org.eclipse.emf.cdo.common.util.TransportException:
java.util.concurrent.TimeoutException
at
org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtoco l.send(CDOClientProtocol.java:404)
at
org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtoco l.send(CDOClientProtocol.java:429)
at
org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtoco l.loadRevisions(CDOClientProtocol.java:159)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.loadRevisions(CDORevisionManagerImpl.java:352)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevisions(CDORevisionManagerImpl.java:263)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:246)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:239)
at
org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:1)
at
org.eclipse.emf.internal.cdo.view.CDOViewImpl.prefetchRevisi ons(CDOViewImpl.java:361)
at
org.eclipse.emf.internal.cdo.view.CDOViewImpl.prefetchRevisi ons(CDOViewImpl.java:355)
at
org.eclipse.emf.internal.cdo.CDOObjectImpl.cdoPrefetch(CDOOb jectImpl.java:159)
Re: [CDO] cdoPrefetch() Timeout [message #636235 is a reply to message #636192] Fri, 29 October 2010 19:22 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6446
Registered: July 2009
Senior Member
Hi David,

For the cdoPrefetch() method I reused the traditional LoadRevisionRequest. It seems that I did not properly consider that the processing characteristics of the new use case are entirely different. Please file a bugzilla and I can try to make this request a RequestWitMonitoring (similar to https://bugs.eclipse.org/bugs/show_bug.cgi?id=328595 ). I can not promise that I find timebefore the summit next week...

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 29.10.2010 16:53, schrieb David Hein:
> Hello everyone,
>
> i want to use CDOObject.cdoPrefetch(). For models with a large count of objects i got a TimeoutException. Whats happen with this exception? Is there any configuration that must be set to use this function or can i raise the timeout?
>
> I use CDO 4.0 with a DBStore (MySQL) and a horizontalAuditWithRanges mapping.
>
> Here is the StackTrace:
>
> org.eclipse.emf.cdo.common.util.TransportException: java.util.concurrent.TimeoutException
> at org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtoco l.send(CDOClientProtocol.java:404)
> at org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtoco l.send(CDOClientProtocol.java:429)
> at org.eclipse.emf.cdo.internal.net4j.protocol.CDOClientProtoco l.loadRevisions(CDOClientProtocol.java:159)
> at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.loadRevisions(CDORevisionManagerImpl.java:352)
> at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevisions(CDORevisionManagerImpl.java:263)
> at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:246)
> at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:239)
> at org.eclipse.emf.cdo.internal.common.revision.CDORevisionMana gerImpl.getRevision(CDORevisionManagerImpl.java:1)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.prefetchRevisi ons(CDOViewImpl.java:361)
> at org.eclipse.emf.internal.cdo.view.CDOViewImpl.prefetchRevisi ons(CDOViewImpl.java:355)
> at org.eclipse.emf.internal.cdo.CDOObjectImpl.cdoPrefetch(CDOOb jectImpl.java:159)


Previous Topic:Working with annotations
Next Topic:Error while generating model
Goto Forum:
  


Current Time: Wed Oct 16 05:07:27 GMT 2019

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

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

Back to the top