com.orientechnologies.common.concur.OTimeoutException: Timeout on acquiring shared lock against resource of class : class com.orientechnologies.orient.core.index.OIndexNotUnique with timeout=5000

JIRA | Ramin Haeri Azad | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    2013-10-17 16:37:09:023 INFO Loading configuration from input stream [OServerConfigurationLoaderXml] 2013-10-17 16:37:09:259 INFO Profiler is recording metrics with configuration: 0,0,0 [OJVMProfiler] 2013-10-17 16:37:09:260 INFO OrientDB Server v1.5.1 is starting up... [OServer] 2013-10-17 16:37:09:294 INFO Listening binary connections on 0.0.0.0:2424 (protocol v.17) [OServerNetworkListener] 2013-10-17 16:37:09:295 INFO Listening http connections on 0.0.0.0:2480 (protocol v.10) [OServerNetworkListener] 2013-10-17 16:37:09:305 INFO Mail plugin installed and active. Loaded 1 profile(s): [default] [OMailPlugin] 2013-10-17 16:37:09:307 INFO OrientDB Server v1.5.1 is active. [OServer]Upgrading Opal. Upgrade successful. Starting Opal. Opal Server successfully started. Opal is attached to this console. Press ctrl-c to stop. com.orientechnologies.common.concur.OTimeoutException: Timeout on acquiring shared lock against resource of class : class com.orientechnologies.orient.core.index.OIndexNotUnique with timeout=5000 at com.orientechnologies.common.concur.resource.OSharedResourceAdaptive.acquireSharedLock(OSharedResourceAdaptive.java:120) at com.orientechnologies.common.concur.resource.OSharedResourceAdaptiveExternal.acquireSharedLock(OSharedResourceAdaptiveExternal.java:40) at com.orientechnologies.orient.core.index.OIndexAbstract.onClose(OIndexAbstract.java:853) at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.callOnCloseListeners(ODatabaseRaw.java:766) at com.orientechnologies.orient.object.db.OObjectDatabaseTxPooled.close(OObjectDatabaseTxPooled.java:106) at org.obiba.opal.core.service.impl.OrientDbServiceImpl.list(OrientDbServiceImpl.java:93) at org.obiba.opal.core.service.impl.DefaultSubjectAclService.find(DefaultSubjectAclService.java:185) at org.obiba.opal.core.service.impl.DefaultSubjectAclService.access$000(DefaultSubjectAclService.java:37) at org.obiba.opal.core.service.impl.DefaultSubjectAclService$3$1.getPermissions(DefaultSubjectAclService.java:255) at org.obiba.opal.server.httpd.security.AuthenticationFilter.findPermission(AuthenticationFilter.java:176) at org.obiba.opal.server.httpd.security.AuthenticationFilter.ensureFolderPermissions(AuthenticationFilter.java:163) at org.obiba.opal.server.httpd.security.AuthenticationFilter.authenticateAndBind(AuthenticationFilter.java:140) at org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:81) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) at org.obiba.opal.server.httpd.OpalJettyServer$OpalVersionFilter.doFilterInternal(OpalJettyServer.java:305) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722)

    JIRA | 4 years ago | Ramin Haeri Azad
    com.orientechnologies.common.concur.OTimeoutException: Timeout on acquiring shared lock against resource of class : class com.orientechnologies.orient.core.index.OIndexNotUnique with timeout=5000
  2. 0

    2013-10-17 16:37:09:023 INFO Loading configuration from input stream [OServerConfigurationLoaderXml] 2013-10-17 16:37:09:259 INFO Profiler is recording metrics with configuration: 0,0,0 [OJVMProfiler] 2013-10-17 16:37:09:260 INFO OrientDB Server v1.5.1 is starting up... [OServer] 2013-10-17 16:37:09:294 INFO Listening binary connections on 0.0.0.0:2424 (protocol v.17) [OServerNetworkListener] 2013-10-17 16:37:09:295 INFO Listening http connections on 0.0.0.0:2480 (protocol v.10) [OServerNetworkListener] 2013-10-17 16:37:09:305 INFO Mail plugin installed and active. Loaded 1 profile(s): [default] [OMailPlugin] 2013-10-17 16:37:09:307 INFO OrientDB Server v1.5.1 is active. [OServer]Upgrading Opal. Upgrade successful. Starting Opal. Opal Server successfully started. Opal is attached to this console. Press ctrl-c to stop. com.orientechnologies.common.concur.OTimeoutException: Timeout on acquiring shared lock against resource of class : class com.orientechnologies.orient.core.index.OIndexNotUnique with timeout=5000 at com.orientechnologies.common.concur.resource.OSharedResourceAdaptive.acquireSharedLock(OSharedResourceAdaptive.java:120) at com.orientechnologies.common.concur.resource.OSharedResourceAdaptiveExternal.acquireSharedLock(OSharedResourceAdaptiveExternal.java:40) at com.orientechnologies.orient.core.index.OIndexAbstract.onClose(OIndexAbstract.java:853) at com.orientechnologies.orient.core.db.raw.ODatabaseRaw.callOnCloseListeners(ODatabaseRaw.java:766) at com.orientechnologies.orient.object.db.OObjectDatabaseTxPooled.close(OObjectDatabaseTxPooled.java:106) at org.obiba.opal.core.service.impl.OrientDbServiceImpl.list(OrientDbServiceImpl.java:93) at org.obiba.opal.core.service.impl.DefaultSubjectAclService.find(DefaultSubjectAclService.java:185) at org.obiba.opal.core.service.impl.DefaultSubjectAclService.access$000(DefaultSubjectAclService.java:37) at org.obiba.opal.core.service.impl.DefaultSubjectAclService$3$1.getPermissions(DefaultSubjectAclService.java:255) at org.obiba.opal.server.httpd.security.AuthenticationFilter.findPermission(AuthenticationFilter.java:176) at org.obiba.opal.server.httpd.security.AuthenticationFilter.ensureFolderPermissions(AuthenticationFilter.java:163) at org.obiba.opal.server.httpd.security.AuthenticationFilter.authenticateAndBind(AuthenticationFilter.java:140) at org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:81) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) at org.obiba.opal.server.httpd.OpalJettyServer$OpalVersionFilter.doFilterInternal(OpalJettyServer.java:305) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) at org.eclipse.jetty.server.Server.handle(Server.java:363) at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483) at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920) at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235) at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628) at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) at java.lang.Thread.run(Thread.java:722)

    JIRA | 4 years ago | Ramin Haeri Azad
    com.orientechnologies.common.concur.OTimeoutException: Timeout on acquiring shared lock against resource of class : class com.orientechnologies.orient.core.index.OIndexNotUnique with timeout=5000

    Root Cause Analysis

    1. com.orientechnologies.common.concur.OTimeoutException

      Timeout on acquiring shared lock against resource of class : class com.orientechnologies.orient.core.index.OIndexNotUnique with timeout=5000

      at com.orientechnologies.common.concur.resource.OSharedResourceAdaptive.acquireSharedLock()
    2. OrientDB Core
      OIndexAbstract.onClose
      1. com.orientechnologies.common.concur.resource.OSharedResourceAdaptive.acquireSharedLock(OSharedResourceAdaptive.java:120)
      2. com.orientechnologies.common.concur.resource.OSharedResourceAdaptiveExternal.acquireSharedLock(OSharedResourceAdaptiveExternal.java:40)
      3. com.orientechnologies.orient.core.index.OIndexAbstract.onClose(OIndexAbstract.java:853)
      3 frames
    3. com.orientechnologies.orient
      ODatabaseRaw.callOnCloseListeners
      1. com.orientechnologies.orient.core.db.raw.ODatabaseRaw.callOnCloseListeners(ODatabaseRaw.java:766)
      1 frame
    4. OrientDB Object
      OObjectDatabaseTxPooled.close
      1. com.orientechnologies.orient.object.db.OObjectDatabaseTxPooled.close(OObjectDatabaseTxPooled.java:106)
      1 frame
    5. org.obiba.opal
      AuthenticationFilter.doFilterInternal
      1. org.obiba.opal.core.service.impl.OrientDbServiceImpl.list(OrientDbServiceImpl.java:93)
      2. org.obiba.opal.core.service.impl.DefaultSubjectAclService.find(DefaultSubjectAclService.java:185)
      3. org.obiba.opal.core.service.impl.DefaultSubjectAclService.access$000(DefaultSubjectAclService.java:37)
      4. org.obiba.opal.core.service.impl.DefaultSubjectAclService$3$1.getPermissions(DefaultSubjectAclService.java:255)
      5. org.obiba.opal.server.httpd.security.AuthenticationFilter.findPermission(AuthenticationFilter.java:176)
      6. org.obiba.opal.server.httpd.security.AuthenticationFilter.ensureFolderPermissions(AuthenticationFilter.java:163)
      7. org.obiba.opal.server.httpd.security.AuthenticationFilter.authenticateAndBind(AuthenticationFilter.java:140)
      8. org.obiba.opal.server.httpd.security.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:81)
      8 frames
    6. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    7. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
      1 frame
    8. org.obiba.opal
      OpalJettyServer$OpalVersionFilter.doFilterInternal
      1. org.obiba.opal.server.httpd.OpalJettyServer$OpalVersionFilter.doFilterInternal(OpalJettyServer.java:305)
      1 frame
    9. Spring
      OncePerRequestFilter.doFilter
      1. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
      1 frame
    10. Jetty
      AsyncHttpConnection.handle
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
      3. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
      4. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
      5. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
      6. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
      7. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)
      8. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
      9. org.eclipse.jetty.server.Server.handle(Server.java:363)
      10. org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
      11. org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)
      12. org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)
      13. org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
      14. org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
      15. org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
      15 frames
    11. GWT dev
      SelectChannelEndPoint$1.run
      1. org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
      2. org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
      2 frames
    12. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
      2. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
      2 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:722)
      1 frame