Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] TimeoutRuntimeException -> how to avoid them???
[CDO] TimeoutRuntimeException -> how to avoid them??? [message #1803094] Fri, 22 February 2019 10:19
vincent lorenzo is currently offline vincent lorenzoFriend
Messages: 114
Registered: June 2010
Location: Paris Saclay, France
Senior Member
Hello everybody,
I regularly get TimeoutRuntimeException with CDO. Please do you know how to avoid them ?

I'm on a cdo server I built myself and I get these exceptions, editing the security file (adding user, trying to reset password, ... )

This exception is thrown with a distant server, but also with the server on localhost
Here the exception.
I get this stack trace doing a save, after creating around 10 user programmatically (previous 10 users were ok)
osgi> [WARN] A problem occured while notifying session Session24 [Administrator@PapyrusCDOSecuredRepository]
org.eclipse.net4j.util.concurrent.TimeoutRuntimeException
at org.eclipse.emf.cdo.server.internal.security.SecurityManager.authorize(SecurityManager.java:697)
at org.eclipse.emf.cdo.server.internal.security.SecurityManager$PermissionManager.getPermission(SecurityManager.java:1007)
at org.eclipse.emf.cdo.internal.server.Session$CommitInfo$2.get(Session.java:835)
at org.eclipse.emf.cdo.internal.server.Session$CommitInfo$2.get(Session.java:1)
at org.eclipse.net4j.util.collection.IndexedList$IndexedIterator.next(IndexedList.java:195)
at org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl.writeCDOChangeSetData(CDODataOutputImpl.java:208)
at org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl.writeCDOCommitData(CDODataOutputImpl.java:248)
at org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl.writeCDOCommitInfo(CDODataOutputImpl.java:264)
at org.eclipse.emf.cdo.common.protocol.CDOProtocol$CommitNotificationInfo.write(CDOProtocol.java:108)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitNotificationRequest.requesting(CommitNotificationRequest.java:37)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerRequest.requesting(CDOServerRequest.java:65)
at org.eclipse.net4j.signal.Request.doExtendedOutput(Request.java:67)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:349)
at org.eclipse.net4j.signal.Request.doExecute(Request.java:59)
at org.eclipse.net4j.signal.SignalActor.execute(SignalActor.java:53)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:286)
at org.eclipse.net4j.signal.SignalProtocol.startSignal(SignalProtocol.java:492)
at org.eclipse.net4j.signal.Request.sendAsync(Request.java:53)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerProtocol.sendCommitNotification(CDOServerProtocol.java:179)
at org.eclipse.emf.cdo.internal.server.Session.sendCommitNotification(Session.java:536)
at org.eclipse.emf.cdo.internal.server.SessionManager.doSendCommitNotification(SessionManager.java:362)
at org.eclipse.emf.cdo.internal.server.SessionManager.sendCommitNotification(SessionManager.java:348)
at org.eclipse.emf.cdo.internal.server.Repository.sendCommitNotification(Repository.java:1245)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.sendCommitNotifications(TransactionCommitContext.java:935)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.postCommit(TransactionCommitContext.java:899)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.responding(CommitTransactionIndication.java:351)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.responding(CDOServerIndicationWithMonitoring.java:184)
at org.eclipse.net4j.signal.IndicationWithMonitoring.responding(IndicationWithMonitoring.java:93)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:106)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:349)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:75)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:66)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:286)
at org.eclipse.net4j.signal.Signal.run(Signal.java:165)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[WARN] A problem occured while notifying session Session24 [Administrator@PapyrusCDOSecuredRepository]
org.eclipse.net4j.util.concurrent.TimeoutRuntimeException
at org.eclipse.emf.cdo.server.internal.security.SecurityManager.authorize(SecurityManager.java:697)
at org.eclipse.emf.cdo.server.internal.security.SecurityManager$PermissionManager.getPermission(SecurityManager.java:1007)
at org.eclipse.emf.cdo.internal.server.Session$CommitInfo$2.get(Session.java:835)
at org.eclipse.emf.cdo.internal.server.Session$CommitInfo$2.get(Session.java:1)
at org.eclipse.net4j.util.collection.IndexedList$IndexedIterator.next(IndexedList.java:195)
at org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl.writeCDOChangeSetData(CDODataOutputImpl.java:208)
at org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl.writeCDOCommitData(CDODataOutputImpl.java:248)
at org.eclipse.emf.cdo.spi.common.protocol.CDODataOutputImpl.writeCDOCommitInfo(CDODataOutputImpl.java:264)
at org.eclipse.emf.cdo.common.protocol.CDOProtocol$CommitNotificationInfo.write(CDOProtocol.java:108)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitNotificationRequest.requesting(CommitNotificationRequest.java:37)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerRequest.requesting(CDOServerRequest.java:65)
at org.eclipse.net4j.signal.Request.doExtendedOutput(Request.java:67)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:349)
at org.eclipse.net4j.signal.Request.doExecute(Request.java:59)
at org.eclipse.net4j.signal.SignalActor.execute(SignalActor.java:53)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:286)
at org.eclipse.net4j.signal.SignalProtocol.startSignal(SignalProtocol.java:492)
at org.eclipse.net4j.signal.Request.sendAsync(Request.java:53)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerProtocol.sendCommitNotification(CDOServerProtocol.java:179)
at org.eclipse.emf.cdo.internal.server.Session.sendCommitNotification(Session.java:536)
at org.eclipse.emf.cdo.internal.server.SessionManager.doSendCommitNotification(SessionManager.java:362)
at org.eclipse.emf.cdo.internal.server.SessionManager.sendCommitNotification(SessionManager.java:348)
at org.eclipse.emf.cdo.internal.server.Repository.sendCommitNotification(Repository.java:1245)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.sendCommitNotifications(TransactionCommitContext.java:935)
at org.eclipse.emf.cdo.internal.server.TransactionCommitContext.postCommit(TransactionCommitContext.java:899)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CommitTransactionIndication.responding(CommitTransactionIndication.java:351)
at org.eclipse.emf.cdo.server.internal.net4j.protocol.CDOServerIndicationWithMonitoring.responding(CDOServerIndicationWithMonitoring.java:184)
at org.eclipse.net4j.signal.IndicationWithMonitoring.responding(IndicationWithMonitoring.java:93)
at org.eclipse.net4j.signal.IndicationWithResponse.doExtendedOutput(IndicationWithResponse.java:106)
at org.eclipse.net4j.signal.Signal.doOutput(Signal.java:349)
at org.eclipse.net4j.signal.IndicationWithResponse.execute(IndicationWithResponse.java:75)
at org.eclipse.net4j.signal.IndicationWithMonitoring.execute(IndicationWithMonitoring.java:66)
at org.eclipse.net4j.signal.Signal.runSync(Signal.java:286)
at org.eclipse.net4j.signal.Signal.run(Signal.java:165)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)



Previous Topic:Merging resources that share the same root node.
Next Topic:[CDO] Reset Password [ERROR] No credentials update provider configured
Goto Forum:
  


Current Time: Thu Jun 20 05:49:45 GMT 2019

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

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

Back to the top