org.neo4j.graphdb.TransactionFailureException: Timeout waiting for database to become available and allow new transactions. Waited 2m. 1 reasons for blocking: Cluster state is 'PENDING'.

Stack Overflow | Beni | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    neo4j ha unavailabe ,what's the reason

    Stack Overflow | 7 months ago | Beni
    org.neo4j.graphdb.TransactionFailureException: Timeout waiting for database to become available and allow new transactions. Waited 2m. 1 reasons for blocking: Cluster state is 'PENDING'.

    Root Cause Analysis

    1. org.neo4j.graphdb.TransactionFailureException

      Timeout waiting for database to become available and allow new transactions. Waited 2m. 1 reasons for blocking: Cluster state is 'PENDING'.

      at sun.reflect.GeneratedConstructorAccessor316.newInstance()
    2. Java RT
      Constructor.newInstance
      1. sun.reflect.GeneratedConstructorAccessor316.newInstance(Unknown Source)[na:na]
      2. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)[na:1.8.0_60]
      3. java.lang.reflect.Constructor.newInstance(Constructor.java:422)[na:1.8.0_60]
      3 frames
    3. Neo4j - Graph Database Kernel
      AvailabilityGuard.checkAvailability
      1. org.neo4j.kernel.AvailabilityGuard.checkAvailability(AvailabilityGuard.java:249)[neo4j-kernel-2.2.5-SNAPSHOT.jar:2.2.5-SNAPSHOT]
      1 frame
    4. Neo4j - High Availability
      HighlyAvailableGraphDatabase.beginTx
      1. org.neo4j.kernel.ha.HighlyAvailableGraphDatabase.beginTx(HighlyAvailableGraphDatabase.java:249)[neo4j-ha-2.2.5.jar:2.2.5]
      1 frame
    5. Neo4j
      TransactionalService$2.write
      1. org.neo4j.server.rest.transactional.TransitionalPeriodTransactionMessContainer.newTransaction(TransitionalPeriodTransactionMessContainer.java:39)[neo4j-server-2.2.5.jar:2.2.5]
      2. org.neo4j.server.rest.transactional.TransactionHandle.ensureActiveTransaction(TransactionHandle.java:241)[neo4j-server-2.2.5.jar:2.2.5]
      3. org.neo4j.server.rest.transactional.TransactionHandle.commit(TransactionHandle.java:143)[neo4j-server-2.2.5.jar:2.2.5]
      4. org.neo4j.server.rest.web.TransactionalService$2.write(TransactionalService.java:211)[neo4j-server-2.2.5.jar:2.2.5]
      4 frames
    6. jersey-core
      StreamingOutputProvider.writeTo
      1. com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:71)[jersey-core-1.19.jar:1.19]
      2. com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider.writeTo(StreamingOutputProvider.java:57)[jersey-core-1.19.jar:1.19]
      2 frames
    7. Jersey
      WebApplicationImpl.handleRequest
      1. com.sun.jersey.spi.container.ContainerResponse.write(ContainerResponse.java:302)[jersey-server-1.19.jar:1.19]
      2. com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1510)[jersey-server-1.19.jar:1.19]
      3. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)[jersey-server-1.19.jar:1.19]
      4. com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)[jersey-server-1.19.jar:1.19]
      4 frames
    8. Jersey
      ServletContainer.service
      1. com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)[jersey-servlet-1.19.jar:1.19]
      2. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)[jersey-servlet-1.19.jar:1.19]
      3. com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)[jersey-servlet-1.19.jar:1.19]
      3 frames
    9. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:790)[javax.servlet-api-3.1.0.jar:3.1.0]
      1 frame
    10. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:800)[jetty-servlet-9.2.4.v20141103.jar:9.2.4.v20141103]
      2. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)[jetty-servlet-9.2.4.v20141103.jar:9.2.4.v20141103]
      2 frames
    11. Logback Access Module
      TeeFilter.doFilter
      1. ch.qos.logback.access.servlet.TeeFilter.doFilter(TeeFilter.java:55)[logback-access-1.1.2.jar:na]
      1 frame
    12. Jetty
      ServletHandler$CachedChain.doFilter
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.4.v20141103.jar:9.2.4.v20141103]
      1 frame
    13. Neo4j
      AuthorizationFilter.doFilter
      1. org.neo4j.server.rest.dbms.AuthorizationFilter.doFilter(AuthorizationFilter.java:120)[neo4j-server-2.2.5.jar:2.2.5]
      1 frame
    14. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)[jetty-servlet-9.2.4.v20141103.jar:9.2.4.v20141103]
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)[jetty-servlet-9.2.4.v20141103.jar:9.2.4.v20141103]
      3. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:221)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      4. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1125)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      5. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)[jetty-servlet-9.2.4.v20141103.jar:9.2.4.v20141103]
      6. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      7. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1059)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      8. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      9. org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:52)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      10. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      11. org.eclipse.jetty.server.handler.RequestLogHandler.handle(RequestLogHandler.java:95)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      12. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      13. org.eclipse.jetty.server.Server.handle(Server.java:497)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      14. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      15. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:248)[jetty-server-9.2.4.v20141103.jar:9.2.4.v20141103]
      16. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)[jetty-io-9.2.4.v20141103.jar:9.2.4.v20141103]
      17. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:620)[jetty-util-9.2.4.v20141103.jar:9.2.4.v20141103]
      18. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:540)[jetty-util-9.2.4.v20141103.jar:9.2.4.v20141103]
      18 frames
    15. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)[na:1.8.0_60]
      1 frame