Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] (Timeout while reading from /tmp/cdo_lobs/*.blob)
[CDO] [message #1802545] Mon, 11 February 2019 17:53 Go to next message
Maxim Martynov is currently offline Maxim MartynovFriend
Messages: 22
Registered: February 2017
Junior Member
Hi.
I try to export CDO repository to file system.
But the timeout arise in ExpectedFileInputStream
How to configure timeout for this case? Default timeout sets as IOUtil.DEFAULT_TIMEOUT and it is too low only 2,5 seconds.

org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout while reading from /tmp/cdo_lobs/cc8d25773865ced256ca793a53abcb0b20758787.blob
at org.eclipse.net4j.util.io.ExpectedFileInputStream.waitForInput(ExpectedFileInputStream.java:102)
at org.eclipse.net4j.util.io.ExpectedFileInputStream.read(ExpectedFileInputStream.java:69)
at org.eclipse.net4j.util.io.ExpectedFileInputStream.read(ExpectedFileInputStream.java:76)
at org.eclipse.net4j.util.io.IOUtil.copy(IOUtil.java:674)
at org.eclipse.net4j.util.io.IOUtil.copy(IOUtil.java:687)
at org.eclipse.net4j.util.io.IOUtil.copy(IOUtil.java:692)
at org.eclipse.emf.cdo.spi.transfer.FileSystemTransferSystem.createBinary(FileSystemTransferSystem.java:109)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performBinary(CDOTransfer.java:364)
at ru.otr.cactuss.core.cdo.transfer.TypeTrackingCdoTransfer.performBinary(TypeTrackingCdoTransfer.java:116)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:329)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performFolder(CDOTransfer.java:348)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:321)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performFolder(CDOTransfer.java:348)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:321)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performFolder(CDOTransfer.java:348)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:321)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performFolder(CDOTransfer.java:348)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:321)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performFolder(CDOTransfer.java:348)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:321)
at org.eclipse.emf.cdo.transfer.CDOTransfer.performFolder(CDOTransfer.java:348)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:321)
at org.eclipse.emf.cdo.transfer.CDOTransfer.perform(CDOTransfer.java:301)
at ru.otr.cactuss.core.cdo.transfer.TypeTrackingCdoTransfer.perform(TypeTrackingCdoTransfer.java:88)
at org.eclipse.emf.cdo.transfer.ui.TransferDialog$1.run(TransferDialog.java:99)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
Re: [CDO] [message #1802576 is a reply to message #1802545] Tue, 12 February 2019 09:03 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6438
Registered: July 2009
Senior Member
I've added two ways to configure the timeouts for you:

544363: Make timeout in CDOLobStore configurable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=544363

Please let me know if that solves your problem.


Re: [CDO] [message #1802642 is a reply to message #1802576] Wed, 13 February 2019 07:48 Go to previous messageGo to next message
Maxim Martynov is currently offline Maxim MartynovFriend
Messages: 22
Registered: February 2017
Junior Member
I'm using -Dorg.eclipse.net4j.util.io.DEFAULT_TIMEOUT=10000
And now no TimeoutRuntimeException occurs.
Thanks a lot.
Re: [CDO] [message #1802652 is a reply to message #1802642] Wed, 13 February 2019 10:28 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6438
Registered: July 2009
Senior Member
Thanks for reporting it ;-)

Previous Topic:Extending EcoreUtil.Copier to include bidirectional references
Next Topic:[CDO]
Goto Forum:
  


Current Time: Thu Jul 18 00:43:48 GMT 2019

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

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

Back to the top