Could you please have a look at data/graph.db/messages.log and data/log/*.log if there are more detailed stack-traces about this error (esp. more "caused by").
Thanks Michael Am 08.08.2011 um 05:09 schrieb Boris Kizelshteyn: > I should add that I can insert the same calls one by one without error. What > could it be? > > On Sun, Aug 7, 2011 at 8:31 PM, Boris Kizelshteyn <bo...@popcha.com> wrote: > >> I'm getting a weird error when batching a large dataset (about 200 calls), >> it's below. Any thoughts? Many thanks! >> >> >> - 500 Unable to commit transaction >> - ==> <html> >> - ==> <head> >> - >> ==> <meta http-equiv="Content-Type" content="text/html; >> charset=ISO-8859-1"/> >> - ==> <title>Error 500 Unable to commit transaction</title> >> - ==> </head> >> - ==> <body><h2>HTTP ERROR 500</h2> >> - ==> <p>Problem accessing /db/data/batch. Reason: >> - >> ==> <pre> Unable to commit transaction</pre></p><h3>Caused >> by:</h3><pre>org.neo4j.graphdb.TransactionFailureException: Unable to commit >> transaction >> - ==> >> at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:98) >> - ==> >> at >> org.neo4j.server.rest.web.BatchOperationService.performBatchOperations(BatchOperationService.java:102) >> - ==> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> - ==> >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> - ==> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> - ==> at java.lang.reflect.Method.invoke(Method.java:616) >> - ==> >> at >> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:184) >> - ==> >> at >> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:276) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:83) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:71) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1171) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1103) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1053) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1043) >> - ==> >> at >> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:406) >> - ==> >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:477) >> - ==> >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:662) >> - ==> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> - ==> >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> - ==> >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) >> - ==> >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> - ==> >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) >> - ==> >> at >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) >> - ==> >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> - ==> at org.mortbay.jetty.Server.handle(Server.java:326) >> - ==> >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> - ==> >> at >> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943) >> - ==> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> - ==> >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) >> - ==> >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> - ==> >> at >> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) >> - ==> >> at >> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) >> - >> ==> Caused by: javax.transaction.RollbackException: Failed to commit, >> transaction rolledback >> - ==> >> at >> org.neo4j.kernel.impl.transaction.TxManager.rollbackCommit(TxManager.java:792) >> - ==> >> at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:627) >> - ==> >> at >> org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:107) >> - ==> >> at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) >> - ==> ... 33 more >> - ==> </pre> >> - >> ==> <h3>Caused by:</h3><pre>javax.transaction.RollbackException: Failed to >> commit, transaction rolledback >> - ==> >> at >> org.neo4j.kernel.impl.transaction.TxManager.rollbackCommit(TxManager.java:792) >> - ==> >> at org.neo4j.kernel.impl.transaction.TxManager.commit(TxManager.java:627) >> - ==> >> at >> org.neo4j.kernel.impl.transaction.TransactionImpl.commit(TransactionImpl.java:107) >> - ==> >> at org.neo4j.kernel.TopLevelTransaction.finish(TopLevelTransaction.java:85) >> - ==> >> at >> org.neo4j.server.rest.web.BatchOperationService.performBatchOperations(BatchOperationService.java:102) >> - ==> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> - ==> >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) >> - ==> >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >> - ==> at java.lang.reflect.Method.invoke(Method.java:616) >> - ==> >> at >> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:184) >> - ==> >> at >> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:67) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:276) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:83) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:133) >> - ==> >> at >> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:71) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1171) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1103) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1053) >> - ==> >> at >> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1043) >> - ==> >> at >> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:406) >> - ==> >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:477) >> - ==> >> at >> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:662) >> - ==> at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) >> - ==> >> at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511) >> - ==> >> at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:390) >> - ==> >> at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) >> - ==> >> at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765) >> - ==> >> at >> org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) >> - ==> >> at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) >> - ==> at org.mortbay.jetty.Server.handle(Server.java:326) >> - ==> >> at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) >> - ==> >> at >> org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:943) >> - ==> at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:756) >> - ==> >> at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212) >> - ==> >> at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404) >> - ==> >> at >> org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) >> - ==> >> at >> org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582) >> - ==> </pre> >> - >> ==> <hr /><i><small>Powered by Jetty://</small></i><br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> <br/> >> - ==> >> - ==> </body> >> - ==> </html> >> - ==> >> >> > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user