Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » (no subject)
(no subject) [message #687201] Wed, 15 June 2011 11:11 Go to next message
Carel Bast is currently offline Carel BastFriend
Messages: 16
Registered: November 2009
Junior Member
Hi,

While committing a rather large transaction, we receive the following
Timeout on the CDO Server.

Any idea what causes this problem? And how I can prevent it?

Greetings,

-- Carel

!ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
!MESSAGE CDO server started

!ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
!MESSAGE TimeoutException
!STACK 0
java.util.concurrent.TimeoutException
at
org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.eclipse.net4j.util.io.IOTimeoutException
at
org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
at
org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
at java.io.InputStream.read(Unknown Source)
at java.io.DataInputStream.readFully(Unknown Source)
at java.io.DataInputStream.readUTF(Unknown Source)
at java.io.DataInputStream.readUTF(Unknown Source)
at
org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
at
org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
at
org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
at
org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
at
org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
at
org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
at
org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
at
org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
at
org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
at
org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
at
org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
at
org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
at
org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
at
org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
at
org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
at
org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
at
org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
at
org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
... 4 more

!ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
!MESSAGE Timeout after 10001 millis
!STACK 0
org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
10001 millis
at
org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
at
org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
at java.util.TimerThread.mainLoop(Unknown Source)
at java.util.TimerThread.run(Unknown Source)
(no subject) [message #687212 is a reply to message #687201] Thu, 16 June 2011 12:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Carel,

there is a configurable commit timeout attribute in
org.eclipse.emf.cdo.net4j.CDOSession:

((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);

HTH,
Víctor.

Carel Bast escribió:
> Hi,
>
> While committing a rather large transaction, we receive the following
> Timeout on the CDO Server.
>
> Any idea what causes this problem? And how I can prevent it?
>
> Greetings,
>
> -- Carel
>
> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
> !MESSAGE CDO server started
>
> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
> !MESSAGE TimeoutException
> !STACK 0
> java.util.concurrent.TimeoutException
> at
> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
> at
> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>
> at
> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
> at java.io.InputStream.read(Unknown Source)
> at java.io.DataInputStream.readFully(Unknown Source)
> at java.io.DataInputStream.readUTF(Unknown Source)
> at java.io.DataInputStream.readUTF(Unknown Source)
> at
> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>
> at
> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>
> at
> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>
> at
> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>
> at
> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>
> at
> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>
> at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
> ... 4 more
>
> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
> !MESSAGE Timeout after 10001 millis
> !STACK 0
> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
> 10001 millis
> at
> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>
> at
> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>
> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
(no subject) [message #687220 is a reply to message #687212] Thu, 16 June 2011 18:03 Go to previous messageGo to next message
Ronald Krijgsheld is currently offline Ronald KrijgsheldFriend
Messages: 41
Registered: November 2010
Member
Hi,

it looks like the ensureBuffer() method does not use the commitTimeout
but the signalTimeout.

How can we set a signaltimeout on the CDO server?


Thanks,

Ronald


On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
> Carel,
>
> there is a configurable commit timeout attribute in
> org.eclipse.emf.cdo.net4j.CDOSession:
>
> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>
>
> HTH,
> Víctor.
>
> Carel Bast escribió:
>> Hi,
>>
>> While committing a rather large transaction, we receive the following
>> Timeout on the CDO Server.
>>
>> Any idea what causes this problem? And how I can prevent it?
>>
>> Greetings,
>>
>> -- Carel
>>
>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>> !MESSAGE CDO server started
>>
>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>> !MESSAGE TimeoutException
>> !STACK 0
>> java.util.concurrent.TimeoutException
>> at
>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>
>>
>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>> at java.lang.Thread.run(Unknown Source)
>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>> at
>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>
>>
>> at
>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>
>> at java.io.InputStream.read(Unknown Source)
>> at java.io.DataInputStream.readFully(Unknown Source)
>> at java.io.DataInputStream.readUTF(Unknown Source)
>> at java.io.DataInputStream.readUTF(Unknown Source)
>> at
>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>
>>
>> at
>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>
>>
>> at
>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>
>>
>> at
>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>
>>
>> at
>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>
>>
>> at
>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>
>>
>> at
>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>
>>
>> at
>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>
>>
>> at
>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>
>>
>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>
>>
>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>> ... 4 more
>>
>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>> !MESSAGE Timeout after 10001 millis
>> !STACK 0
>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
>> 10001 millis
>> at
>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>
>>
>> at
>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>
>>
>> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>> at java.util.TimerThread.mainLoop(Unknown Source)
>> at java.util.TimerThread.run(Unknown Source)
>
(no subject) [message #687231 is a reply to message #687220] Fri, 17 June 2011 07:09 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 16.06.2011 20:03, schrieb Ronald Krijgsheld:
>
> Hi,
>
> it looks like the ensureBuffer() method does not use the commitTimeout but the signalTimeout.
>
> How can we set a signaltimeout on the CDO server?
That should be:

((org.eclipse.emf.cdo.net4j.CDOSession)session).options().getProtocol().setTimeout(30L * 1000);

Does that help?

Cheers
/Eike

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



>
>
> Thanks,
>
> Ronald
>
>
> On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
>> Carel,
>>
>> there is a configurable commit timeout attribute in
>> org.eclipse.emf.cdo.net4j.CDOSession:
>>
>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>>
>>
>> HTH,
>> Víctor.
>>
>> Carel Bast escribió:
>>> Hi,
>>>
>>> While committing a rather large transaction, we receive the following
>>> Timeout on the CDO Server.
>>>
>>> Any idea what causes this problem? And how I can prevent it?
>>>
>>> Greetings,
>>>
>>> -- Carel
>>>
>>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>>> !MESSAGE CDO server started
>>>
>>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>>> !MESSAGE TimeoutException
>>> !STACK 0
>>> java.util.concurrent.TimeoutException
>>> at
>>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>>
>>>
>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>> at java.lang.Thread.run(Unknown Source)
>>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>>> at
>>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>>
>>>
>>> at
>>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>>
>>> at java.io.InputStream.read(Unknown Source)
>>> at java.io.DataInputStream.readFully(Unknown Source)
>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>> at
>>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>>
>>>
>>> at
>>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>>
>>>
>>> at
>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>>
>>>
>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>>> at
>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>>
>>>
>>> at
>>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>>
>>>
>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>>> ... 4 more
>>>
>>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>>> !MESSAGE Timeout after 10001 millis
>>> !STACK 0
>>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
>>> 10001 millis
>>> at
>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>>
>>>
>>> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>>> at java.util.TimerThread.mainLoop(Unknown Source)
>>> at java.util.TimerThread.run(Unknown Source)
>>
>


(no subject) [message #687486 is a reply to message #687201] Thu, 16 June 2011 12:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by:

Carel,

there is a configurable commit timeout attribute in
org.eclipse.emf.cdo.net4j.CDOSession:

((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);

HTH,
Víctor.

Carel Bast escribió:
> Hi,
>
> While committing a rather large transaction, we receive the following
> Timeout on the CDO Server.
>
> Any idea what causes this problem? And how I can prevent it?
>
> Greetings,
>
> -- Carel
>
> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
> !MESSAGE CDO server started
>
> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
> !MESSAGE TimeoutException
> !STACK 0
> java.util.concurrent.TimeoutException
> at
> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
> at
> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>
> at
> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
> at java.io.InputStream.read(Unknown Source)
> at java.io.DataInputStream.readFully(Unknown Source)
> at java.io.DataInputStream.readUTF(Unknown Source)
> at java.io.DataInputStream.readUTF(Unknown Source)
> at
> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>
> at
> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>
> at
> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>
> at
> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>
> at
> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>
> at
> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>
> at
> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>
> at
> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>
> at
> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>
> at
> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>
> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
> at
> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>
> at
> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>
> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
> ... 4 more
>
> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
> !MESSAGE Timeout after 10001 millis
> !STACK 0
> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
> 10001 millis
> at
> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>
> at
> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>
> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
> at java.util.TimerThread.mainLoop(Unknown Source)
> at java.util.TimerThread.run(Unknown Source)
(no subject) [message #687495 is a reply to message #687212] Thu, 16 June 2011 18:03 Go to previous messageGo to next message
Ronald Krijgsheld is currently offline Ronald KrijgsheldFriend
Messages: 41
Registered: November 2010
Member
Hi,

it looks like the ensureBuffer() method does not use the commitTimeout
but the signalTimeout.

How can we set a signaltimeout on the CDO server?


Thanks,

Ronald


On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
> Carel,
>
> there is a configurable commit timeout attribute in
> org.eclipse.emf.cdo.net4j.CDOSession:
>
> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>
>
> HTH,
> Víctor.
>
> Carel Bast escribió:
>> Hi,
>>
>> While committing a rather large transaction, we receive the following
>> Timeout on the CDO Server.
>>
>> Any idea what causes this problem? And how I can prevent it?
>>
>> Greetings,
>>
>> -- Carel
>>
>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>> !MESSAGE CDO server started
>>
>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>> !MESSAGE TimeoutException
>> !STACK 0
>> java.util.concurrent.TimeoutException
>> at
>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>
>>
>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>> at java.lang.Thread.run(Unknown Source)
>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>> at
>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>
>>
>> at
>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>
>> at java.io.InputStream.read(Unknown Source)
>> at java.io.DataInputStream.readFully(Unknown Source)
>> at java.io.DataInputStream.readUTF(Unknown Source)
>> at java.io.DataInputStream.readUTF(Unknown Source)
>> at
>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>
>>
>> at
>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>
>>
>> at
>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>
>>
>> at
>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>
>>
>> at
>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>
>>
>> at
>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>
>>
>> at
>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>
>>
>> at
>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>
>>
>> at
>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>
>>
>> at
>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>
>>
>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>> at
>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>
>>
>> at
>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>
>>
>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>> ... 4 more
>>
>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>> !MESSAGE Timeout after 10001 millis
>> !STACK 0
>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
>> 10001 millis
>> at
>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>
>>
>> at
>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>
>>
>> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>> at java.util.TimerThread.mainLoop(Unknown Source)
>> at java.util.TimerThread.run(Unknown Source)
>
(no subject) [message #687510 is a reply to message #687220] Fri, 17 June 2011 07:09 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 16.06.2011 20:03, schrieb Ronald Krijgsheld:
>
> Hi,
>
> it looks like the ensureBuffer() method does not use the commitTimeout but the signalTimeout.
>
> How can we set a signaltimeout on the CDO server?
That should be:

((org.eclipse.emf.cdo.net4j.CDOSession)session).options().getProtocol().setTimeout(30L * 1000);

Does that help?

Cheers
/Eike

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



>
>
> Thanks,
>
> Ronald
>
>
> On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
>> Carel,
>>
>> there is a configurable commit timeout attribute in
>> org.eclipse.emf.cdo.net4j.CDOSession:
>>
>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>>
>>
>> HTH,
>> Víctor.
>>
>> Carel Bast escribió:
>>> Hi,
>>>
>>> While committing a rather large transaction, we receive the following
>>> Timeout on the CDO Server.
>>>
>>> Any idea what causes this problem? And how I can prevent it?
>>>
>>> Greetings,
>>>
>>> -- Carel
>>>
>>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>>> !MESSAGE CDO server started
>>>
>>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>>> !MESSAGE TimeoutException
>>> !STACK 0
>>> java.util.concurrent.TimeoutException
>>> at
>>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>>
>>>
>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>> at java.lang.Thread.run(Unknown Source)
>>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>>> at
>>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>>
>>>
>>> at
>>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>>
>>> at java.io.InputStream.read(Unknown Source)
>>> at java.io.DataInputStream.readFully(Unknown Source)
>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>> at
>>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>>
>>>
>>> at
>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>>
>>>
>>> at
>>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>>
>>>
>>> at
>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>>
>>>
>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>>> at
>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>>
>>>
>>> at
>>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>>
>>>
>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>>> ... 4 more
>>>
>>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>>> !MESSAGE Timeout after 10001 millis
>>> !STACK 0
>>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout after
>>> 10001 millis
>>> at
>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>>
>>>
>>> at
>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>>
>>>
>>> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>>> at java.util.TimerThread.mainLoop(Unknown Source)
>>> at java.util.TimerThread.run(Unknown Source)
>>
>


(no subject) [message #687513 is a reply to message #687231] Fri, 17 June 2011 08:31 Go to previous messageGo to next message
Ronald Krijgsheld is currently offline Ronald KrijgsheldFriend
Messages: 41
Registered: November 2010
Member
It does help. But I am still not sure how to adjust the cdo server to
set this timeout.

On the client this works already by setting signal timeout on the
session. This is then propagated to the protocol. But that is the
ClientProtocol and does not change timeout in the CDOServerProtocol.

It looks like I need to change the server. But I do not know how to do that.

Thanks,

Ronald

On 17-6-2011 9:09, Eike Stepper wrote:
> Am 16.06.2011 20:03, schrieb Ronald Krijgsheld:
>>
>> Hi,
>>
>> it looks like the ensureBuffer() method does not use the commitTimeout
>> but the signalTimeout.
>>
>> How can we set a signaltimeout on the CDO server?
> That should be:
>
> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().getProtocol().setTimeout(30L
> * 1000);
>
> Does that help?
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>
>>
>>
>> Thanks,
>>
>> Ronald
>>
>>
>> On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
>>> Carel,
>>>
>>> there is a configurable commit timeout attribute in
>>> org.eclipse.emf.cdo.net4j.CDOSession:
>>>
>>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>>>
>>>
>>>
>>> HTH,
>>> Víctor.
>>>
>>> Carel Bast escribió:
>>>> Hi,
>>>>
>>>> While committing a rather large transaction, we receive the following
>>>> Timeout on the CDO Server.
>>>>
>>>> Any idea what causes this problem? And how I can prevent it?
>>>>
>>>> Greetings,
>>>>
>>>> -- Carel
>>>>
>>>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>>>> !MESSAGE CDO server started
>>>>
>>>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>>>> !MESSAGE TimeoutException
>>>> !STACK 0
>>>> java.util.concurrent.TimeoutException
>>>> at
>>>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>>>
>>>>
>>>>
>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>>> Source)
>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>>> at java.lang.Thread.run(Unknown Source)
>>>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>>>> at
>>>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>>>
>>>>
>>>> at java.io.InputStream.read(Unknown Source)
>>>> at java.io.DataInputStream.readFully(Unknown Source)
>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>> at
>>>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>>>
>>>>
>>>>
>>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>>>> at
>>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>>>
>>>>
>>>>
>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>>>> ... 4 more
>>>>
>>>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>>>> !MESSAGE Timeout after 10001 millis
>>>> !STACK 0
>>>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout
>>>> after
>>>> 10001 millis
>>>> at
>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>>>
>>>>
>>>>
>>>> at
>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>>>
>>>>
>>>>
>>>> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>>>> at java.util.TimerThread.mainLoop(Unknown Source)
>>>> at java.util.TimerThread.run(Unknown Source)
>>>
>>
(no subject) [message #687514 is a reply to message #687513] Fri, 17 June 2011 08:51 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Am 17.06.2011 10:31, schrieb Ronald Krijgsheld:
>
> It does help. But I am still not sure how to adjust the cdo server to set this timeout.
>
> On the client this works already by setting signal timeout on the session. This is then propagated to the protocol. But that is the ClientProtocol and does not change timeout in the CDOServerProtocol.
>
> It looks like I need to change the server. But I do not know how to do that.
I must be confused. If my former answer did help you (see above) why do you want to change something else?

Cheers
/Eike

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


>
> Thanks,
>
> Ronald
>
> On 17-6-2011 9:09, Eike Stepper wrote:
>> Am 16.06.2011 20:03, schrieb Ronald Krijgsheld:
>>>
>>> Hi,
>>>
>>> it looks like the ensureBuffer() method does not use the commitTimeout
>>> but the signalTimeout.
>>>
>>> How can we set a signaltimeout on the CDO server?
>> That should be:
>>
>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().getProtocol().setTimeout(30L
>> * 1000);
>>
>> Does that help?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>
>>>
>>>
>>> Thanks,
>>>
>>> Ronald
>>>
>>>
>>> On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
>>>> Carel,
>>>>
>>>> there is a configurable commit timeout attribute in
>>>> org.eclipse.emf.cdo.net4j.CDOSession:
>>>>
>>>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>>>>
>>>>
>>>>
>>>> HTH,
>>>> Víctor.
>>>>
>>>> Carel Bast escribió:
>>>>> Hi,
>>>>>
>>>>> While committing a rather large transaction, we receive the following
>>>>> Timeout on the CDO Server.
>>>>>
>>>>> Any idea what causes this problem? And how I can prevent it?
>>>>>
>>>>> Greetings,
>>>>>
>>>>> -- Carel
>>>>>
>>>>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>>>>> !MESSAGE CDO server started
>>>>>
>>>>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>>>>> !MESSAGE TimeoutException
>>>>> !STACK 0
>>>>> java.util.concurrent.TimeoutException
>>>>> at
>>>>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>>>>
>>>>>
>>>>>
>>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>>>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>>>> Source)
>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>>>> at java.lang.Thread.run(Unknown Source)
>>>>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>>>>> at
>>>>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>>>>
>>>>>
>>>>> at java.io.InputStream.read(Unknown Source)
>>>>> at java.io.DataInputStream.readFully(Unknown Source)
>>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>>> at
>>>>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>>>>
>>>>>
>>>>>
>>>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>>>>> at
>>>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>>>>
>>>>>
>>>>>
>>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>>>>> ... 4 more
>>>>>
>>>>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>>>>> !MESSAGE Timeout after 10001 millis
>>>>> !STACK 0
>>>>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout
>>>>> after
>>>>> 10001 millis
>>>>> at
>>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>>>>
>>>>>
>>>>>
>>>>> at
>>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>>>>
>>>>>
>>>>>
>>>>> at org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>>>>> at java.util.TimerThread.mainLoop(Unknown Source)
>>>>> at java.util.TimerThread.run(Unknown Source)
>>>>
>>>
>


(no subject) [message #687515 is a reply to message #687514] Fri, 17 June 2011 09:12 Go to previous messageGo to next message
Ronald Krijgsheld is currently offline Ronald KrijgsheldFriend
Messages: 41
Registered: November 2010
Member
I am getting good at getting you confused :)

The snippet you provided was a good hint what I need to do. get the
protocol and set the timeout there.

But implementing this snippet in the client code does not change the
timeout in CDO server. As far as I can see. The timeout exception occurs
on the server in our case, so I need change the timeout in the CDOServer
protocol.

So, It looks like I need to change the server so that when the server
protocol is created the timeout is set.

Or do you expect that the timeout of the client protocol is pushed to
the server like the commitTimeout?

I am a little bit confused that you are confused.

Thanks,

ronald


On 17-6-2011 10:51, Eike Stepper wrote:
> Am 17.06.2011 10:31, schrieb Ronald Krijgsheld:
>>
>> It does help. But I am still not sure how to adjust the cdo server to
>> set this timeout.
>>
>> On the client this works already by setting signal timeout on the
>> session. This is then propagated to the protocol. But that is the
>> ClientProtocol and does not change timeout in the CDOServerProtocol.
>>
>> It looks like I need to change the server. But I do not know how to do
>> that.
> I must be confused. If my former answer did help you (see above) why do
> you want to change something else?
>
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
>>
>> Thanks,
>>
>> Ronald
>>
>> On 17-6-2011 9:09, Eike Stepper wrote:
>>> Am 16.06.2011 20:03, schrieb Ronald Krijgsheld:
>>>>
>>>> Hi,
>>>>
>>>> it looks like the ensureBuffer() method does not use the commitTimeout
>>>> but the signalTimeout.
>>>>
>>>> How can we set a signaltimeout on the CDO server?
>>> That should be:
>>>
>>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().getProtocol().setTimeout(30L
>>>
>>> * 1000);
>>>
>>> Does that help?
>>>
>>> Cheers
>>> /Eike
>>>
>>> ----
>>> http://www.esc-net.de
>>> http://thegordian.blogspot.com
>>> http://twitter.com/eikestepper
>>>
>>>
>>>
>>>>
>>>>
>>>> Thanks,
>>>>
>>>> Ronald
>>>>
>>>>
>>>> On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
>>>>> Carel,
>>>>>
>>>>> there is a configurable commit timeout attribute in
>>>>> org.eclipse.emf.cdo.net4j.CDOSession:
>>>>>
>>>>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> HTH,
>>>>> Víctor.
>>>>>
>>>>> Carel Bast escribió:
>>>>>> Hi,
>>>>>>
>>>>>> While committing a rather large transaction, we receive the following
>>>>>> Timeout on the CDO Server.
>>>>>>
>>>>>> Any idea what causes this problem? And how I can prevent it?
>>>>>>
>>>>>> Greetings,
>>>>>>
>>>>>> -- Carel
>>>>>>
>>>>>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>>>>>> !MESSAGE CDO server started
>>>>>>
>>>>>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>>>>>> !MESSAGE TimeoutException
>>>>>> !STACK 0
>>>>>> java.util.concurrent.TimeoutException
>>>>>> at
>>>>>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>>>>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>>>>> Source)
>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>>>>> at java.lang.Thread.run(Unknown Source)
>>>>>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>>>>>> at
>>>>>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>>>>>
>>>>>>
>>>>>>
>>>>>> at java.io.InputStream.read(Unknown Source)
>>>>>> at java.io.DataInputStream.readFully(Unknown Source)
>>>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>>>> at
>>>>>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>>>>>> at
>>>>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>>>>>> ... 4 more
>>>>>>
>>>>>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>>>>>> !MESSAGE Timeout after 10001 millis
>>>>>> !STACK 0
>>>>>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout
>>>>>> after
>>>>>> 10001 millis
>>>>>> at
>>>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> at
>>>>>> org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>>>>>> at java.util.TimerThread.mainLoop(Unknown Source)
>>>>>> at java.util.TimerThread.run(Unknown Source)
>>>>>
>>>>
>>
(no subject) [message #687521 is a reply to message #687515] Fri, 17 June 2011 20:09 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Ronald,

It is possible to set this timeout value on the server, too. A bit more complicated, though. You must:

1. listen for new IConnectors on your IAcceptor
2. listen for new IChannels on these IConnectors
3. set the timeout on the IProtocols of these IChannels

I have the feeling this should be simpler and more declarative. Can you file a bugzilla to remind me?

That said, I'm not 100% sure if your problem is caused by these timeouts. Unfortunately I still have no time right now to investigate this. Please file a separate bugzilla for your problem so that I can look at it after the release.

Cheers
/Eike

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



Am 17.06.2011 11:12, schrieb Ronald Krijgsheld:
>
> I am getting good at getting you confused :)
>
> The snippet you provided was a good hint what I need to do. get the protocol and set the timeout there.
>
> But implementing this snippet in the client code does not change the timeout in CDO server. As far as I can see. The timeout exception occurs on the server in our case, so I need change the timeout in the CDOServer protocol.
>
> So, It looks like I need to change the server so that when the server protocol is created the timeout is set.
>
> Or do you expect that the timeout of the client protocol is pushed to the server like the commitTimeout?
>
> I am a little bit confused that you are confused.
>
> Thanks,
>
> ronald
>
>
> On 17-6-2011 10:51, Eike Stepper wrote:
>> Am 17.06.2011 10:31, schrieb Ronald Krijgsheld:
>>>
>>> It does help. But I am still not sure how to adjust the cdo server to
>>> set this timeout.
>>>
>>> On the client this works already by setting signal timeout on the
>>> session. This is then propagated to the protocol. But that is the
>>> ClientProtocol and does not change timeout in the CDOServerProtocol.
>>>
>>> It looks like I need to change the server. But I do not know how to do
>>> that.
>> I must be confused. If my former answer did help you (see above) why do
>> you want to change something else?
>>
>> Cheers
>> /Eike
>>
>> ----
>> http://www.esc-net.de
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
>>
>>
>>>
>>> Thanks,
>>>
>>> Ronald
>>>
>>> On 17-6-2011 9:09, Eike Stepper wrote:
>>>> Am 16.06.2011 20:03, schrieb Ronald Krijgsheld:
>>>>>
>>>>> Hi,
>>>>>
>>>>> it looks like the ensureBuffer() method does not use the commitTimeout
>>>>> but the signalTimeout.
>>>>>
>>>>> How can we set a signaltimeout on the CDO server?
>>>> That should be:
>>>>
>>>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().getProtocol().setTimeout(30L
>>>>
>>>> * 1000);
>>>>
>>>> Does that help?
>>>>
>>>> Cheers
>>>> /Eike
>>>>
>>>> ----
>>>> http://www.esc-net.de
>>>> http://thegordian.blogspot.com
>>>> http://twitter.com/eikestepper
>>>>
>>>>
>>>>
>>>>>
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Ronald
>>>>>
>>>>>
>>>>> On 16-6-2011 14:16, Víctor Roldán Betancort wrote:
>>>>>> Carel,
>>>>>>
>>>>>> there is a configurable commit timeout attribute in
>>>>>> org.eclipse.emf.cdo.net4j.CDOSession:
>>>>>>
>>>>>> ((org.eclipse.emf.cdo.net4j.CDOSession)session).options().setCommitTimeout(Integer.MAX_VALUE);
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> HTH,
>>>>>> Víctor.
>>>>>>
>>>>>> Carel Bast escribió:
>>>>>>> Hi,
>>>>>>>
>>>>>>> While committing a rather large transaction, we receive the following
>>>>>>> Timeout on the CDO Server.
>>>>>>>
>>>>>>> Any idea what causes this problem? And how I can prevent it?
>>>>>>>
>>>>>>> Greetings,
>>>>>>>
>>>>>>> -- Carel
>>>>>>>
>>>>>>> !ENTRY org.eclipse.emf.cdo.server 1 0 2011-06-15 09:13:06.344
>>>>>>> !MESSAGE CDO server started
>>>>>>>
>>>>>>> !ENTRY org.eclipse.net4j 4 0 2011-06-15 11:28:25.648
>>>>>>> !MESSAGE TimeoutException
>>>>>>> !STACK 0
>>>>>>> java.util.concurrent.TimeoutException
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.io.IOTimeoutException.createTimeoutException(IOTimeoutException.java:46)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:255)
>>>>>>> at org.eclipse.net4j.signal.Signal.run(Signal.java:147)
>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown
>>>>>>> Source)
>>>>>>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>>>>>>> at java.lang.Thread.run(Unknown Source)
>>>>>>> Caused by: org.eclipse.net4j.util.io.IOTimeoutException
>>>>>>> at
>>>>>>> org.eclipse.net4j.buffer.BufferInputStream.ensureBuffer(BufferInputStream.java:203)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.buffer.BufferInputStream.read(BufferInputStream.java:109)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at java.io.InputStream.read(Unknown Source)
>>>>>>> at java.io.DataInputStream.readFully(Unknown Source)
>>>>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>>>>> at java.io.DataInputStream.readUTF(Unknown Source)
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.io.ExtendedIOUtil.readString(ExtendedIOUtil.java:197)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.io.ExtendedDataInputStream.readString(ExtendedDataInputStream.java:36)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.io.ExtendedDataInput$Delegating.readString(ExtendedDataInput.java:135)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.io.StringCompressor.readString(StringCompressor.java:330)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.io.StringCompressor.read(StringCompressor.java:175)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOPackageURI(CDODataInputImpl.java:141)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.common.model.CDOClassifierRef.<init>(CDOClassifierRef.java:77)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRef(CDODataInputImpl.java:146)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDOClassifierRefAndResolve(CDODataInputImpl.java:151)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.internal.common.revision.delta.CDORevisionDeltaImpl.<init>(CDORevisionDeltaImpl.java:122)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.internal.common.protocol.CDODataInputImpl.readCDORevisionDelta(CDODataInputImpl.java:449)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicatingCommit(CommitTransactionIndication.java:175)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.indicating(CommitTransactionIndication.java:91)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.indicating(CDOServerIndicationWithMonitoring.java:109)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.indicating(IndicationWithMonitoring.java:84)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.signal.IndicationWithResponse.doExtendedInput(IndicationWithResponse.java:90)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at org.eclipse.net4j.signal.Signal.doInput(Signal.java:326)
>>>>>>> at
>>>>>>> org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:63)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:63)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at org.eclipse.net4j.signal.Signal.runSync(Signal.java:251)
>>>>>>> ... 4 more
>>>>>>>
>>>>>>> !ENTRY org.eclipse.emf.cdo.server 4 0 2011-06-15 11:28:43.456
>>>>>>> !MESSAGE Timeout after 10001 millis
>>>>>>> !STACK 0
>>>>>>> org.eclipse.net4j.util.concurrent.TimeoutRuntimeException: Timeout
>>>>>>> after
>>>>>>> 10001 millis
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor.handleTimeout(TimeoutMonitor.java:121)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.om.monitor.TimeoutMonitor$1.handleTimeout(TimeoutMonitor.java:61)
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> at
>>>>>>> org.eclipse.net4j.util.concurrent.Timeouter$1.run(Timeouter.java:87)
>>>>>>> at java.util.TimerThread.mainLoop(Unknown Source)
>>>>>>> at java.util.TimerThread.run(Unknown Source)
>>>>>>
>>>>>
>>>
>


Previous Topic:(no subject)
Next Topic:[EMF][CDO] Scalability and the recommended use of ItemProviderAdapters when using CDO
Goto Forum:
  


Current Time: Fri Mar 29 05:34:34 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