The log that I pasted in the previous message is the one about the test creation of two new empty test databases. It was not the opening of my two real databases that are ok, not broken (changing the order of opening I always get failed with second). So what can I do to use them like in previous version with Glassfish?
Rita Il giorno giovedì 14 maggio 2015 14:32:25 UTC+2, Michael Hunger ha scritto: > > It seems that you create a new graph database service per request, which > is not what you would want to do. > You should have it created only once and injected into your controllers. > > It is also trying to upgrade the store? Perhaps you should upgrade the > store first and see if the problem persists. > > Also your database seems to be somehow broken, perhaps you can > consistency-check it first? > > > http://www.markhneedham.com/blog/2014/01/22/neo4j-backup-store-copy-and-consistency-check/ > > Michael > > Am 14.05.2015 um 13:32 schrieb Rita <[email protected] <javascript:>>: > > Thank you for the reply Michael. > I also try to pass from Glassfish 3.1.2 to Glassfish 4 but the problem is > the same: > > > SEVERE: java.lang.RuntimeException: Error starting org.neo4j.kernel. > EmbeddedGraphDatabase, C:\graph1 > at org.neo4j.kernel.InternalAbstractGraphDatabase.run( > InternalAbstractGraphDatabase.java:334) > at org.neo4j.kernel.EmbeddedGraphDatabase.<init>(EmbeddedGraphDatabase. > java:59) > at org.neo4j.graphdb.factory.GraphDatabaseFactory.newDatabase( > GraphDatabaseFactory.java:108) > at org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase( > GraphDatabaseFactory.java:95) > at org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase( > GraphDatabaseBuilder.java:176) > at db.Init.open(Init.java:23) > at org.apache.jsp.open_jsp._jspService(open_jsp.java:58) > at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper. > java:411) > at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java: > 473) > at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:377) > at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) > at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java: > 1682) > at org.apache.catalina.core.StandardWrapperValve.invoke( > StandardWrapperValve.java:318) > at org.apache.catalina.core.StandardContextValve.invoke( > StandardContextValve.java:160) > at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline. > java:734) > at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java > :673) > at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) > at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve. > java:174) > at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter. > java:415) > at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java > :282) > at com.sun.enterprise.v3.services.impl. > ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) > at com.sun.enterprise.v3.services.impl.ContainerMapper.service( > ContainerMapper.java:167) > at org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler. > java:201) > at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler. > java:175) > at org.glassfish.grizzly.http.server.HttpServerFilter.handleRead( > HttpServerFilter.java:235) > at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute( > ExecutorResolver.java:119) > at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter( > DefaultFilterChain.java:284) > at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart( > DefaultFilterChain.java:201) > at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute( > DefaultFilterChain.java:133) > at org.glassfish.grizzly.filterchain.DefaultFilterChain.process( > DefaultFilterChain.java:112) > at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java > :77) > at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent( > TCPNIOTransport.java:561) > at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent( > AbstractIOStrategy.java:112) > at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0( > WorkerThreadIOStrategy.java:117) > at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100( > WorkerThreadIOStrategy.java:56) > at org.glassfish.grizzly.strategies. > WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy. > java:137 > > ... -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
