What does your pom.xml look like? On Mon, Mar 14, 2016 at 10:39 AM, Radheshyam Verma <radhe2...@gmail.com> wrote:
> Thanks for response, > > It is amazon EC2-unix instance. I run tomcat-8 in the machine with > Java-spring. > > Server was running fine for so many days then it suddenly started showing > above error. > I did not change anything like classpath etc. Even that same war file is > running without errors in my windows system, but not in remote system. > > Can It be caused by mismatch in "NEO4J SDN" version in spring and "NEO4J" > installer version. > > * I am attaching .classpath file here with email. > > * Packaging is ".war". > > * I put war in "/webapps" folder of tomcat and run tomcat. > > If you need any more information Please let me know. > > Thanks again. > > > On Mon, Mar 14, 2016 at 2:18 PM, Mattias Persson < > matt...@neotechnology.com> wrote: > >> That looks like a classpath issue. How are you running neo4j, using a >> downloaded server and the provided scripts or embedded and packaging the >> dependencies manually? Can you list the classpath in use here? >> >> On Mon, Mar 14, 2016 at 8:32 AM, Radheshyam Verma <radhe2...@gmail.com> >> wrote: >> >>> Hi Mattias Persson, >>> I need help regarding an error I get when I start server. Can you help >>> me find the cause? Here is the stacktrace:- >>> >>> ERROR [org.neo4j]: Exception when stopping >>> org.neo4j.index.impl.lucene.LuceneDataSource@2aad7c69 >>> org.neo4j.index.impl.lucene.LuceneDataSource.unbindLogicalLog()V >>> java.lang.NoSuchMethodError: >>> org.neo4j.index.impl.lucene.LuceneDataSource.unbindLogicalLog()V >>> at >>> org.neo4j.index.impl.lucene.LuceneDataSource.stop(LuceneDataSource.java:343) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:547) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.remove(LifeSupport.java:339) >>> at >>> org.neo4j.kernel.impl.transaction.XaDataSourceManager.unregisterDataSource(XaDataSourceManager.java:272) >>> at >>> org.neo4j.index.lucene.LuceneKernelExtension.stop(LuceneKernelExtension.java:92) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.stop(LifeSupport.java:155) >>> at >>> org.neo4j.kernel.extension.KernelExtensions.stop(KernelExtensions.java:125) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.stop(LifeSupport.java:155) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.shutdown(LifeSupport.java:185) >>> at >>> org.neo4j.kernel.InternalAbstractGraphDatabase.shutdown(InternalAbstractGraphDatabase.java:809) >>> at >>> org.springframework.data.neo4j.support.DelegatingGraphDatabase.shutdown(DelegatingGraphDatabase.java:283) >>> 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:606) >>> at >>> org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:353) >>> at >>> org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:276) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:925) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:932) >>> at >>> org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:997) >>> at >>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:547) >>> at >>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) >>> at >>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) >>> at >>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) >>> at >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4760) >>> at >>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) >>> at >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) >>> at >>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) >>> at >>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704) >>> at >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> 2016-03-14 07:10:41.034+0000 ERROR [org.neo4j]: Exception when stopping >>> org.neo4j.index.lucene.LuceneKernelExtension@7addfa02 Component >>> 'org.neo4j.index.impl.lucene.LuceneDataSource@2aad7c69' failed to stop. >>> Please see attached cause exception. >>> org.neo4j.kernel.lifecycle.LifecycleException: Component >>> 'org.neo4j.index.impl.lucene.LuceneDataSource@2aad7c69' failed to stop. >>> Please see attached cause exception. >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:532) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:547) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.remove(LifeSupport.java:339) >>> at >>> org.neo4j.kernel.impl.transaction.XaDataSourceManager.unregisterDataSource(XaDataSourceManager.java:272) >>> at >>> org.neo4j.index.lucene.LuceneKernelExtension.stop(LuceneKernelExtension.java:92) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.stop(LifeSupport.java:155) >>> at >>> org.neo4j.kernel.extension.KernelExtensions.stop(KernelExtensions.java:125) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.stop(LifeSupport.java:155) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.shutdown(LifeSupport.java:185) >>> at >>> org.neo4j.kernel.InternalAbstractGraphDatabase.shutdown(InternalAbstractGraphDatabase.java:809) >>> at >>> org.springframework.data.neo4j.support.DelegatingGraphDatabase.shutdown(DelegatingGraphDatabase.java:283) >>> 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:606) >>> at >>> org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:353) >>> at >>> org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:276) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:925) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:932) >>> at >>> org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:997) >>> at >>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:547) >>> at >>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) >>> at >>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) >>> at >>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) >>> at >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4760) >>> at >>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) >>> at >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) >>> at >>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) >>> at >>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704) >>> at >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: java.lang.NoSuchMethodError: >>> org.neo4j.index.impl.lucene.LuceneDataSource.unbindLogicalLog()V >>> at >>> org.neo4j.index.impl.lucene.LuceneDataSource.stop(LuceneDataSource.java:343) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> ... 41 more >>> 2016-03-14 07:10:41.037+0000 ERROR [org.neo4j]: Exception when stopping >>> org.neo4j.kernel.extension.KernelExtensions@237232d4 Component >>> 'org.neo4j.index.lucene.LuceneKernelExtension@7addfa02' failed to stop. >>> Please see attached cause exception. >>> org.neo4j.kernel.lifecycle.LifecycleException: Component >>> 'org.neo4j.index.lucene.LuceneKernelExtension@7addfa02' failed to stop. >>> Please see attached cause exception. >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:532) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.stop(LifeSupport.java:155) >>> at >>> org.neo4j.kernel.extension.KernelExtensions.stop(KernelExtensions.java:125) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.stop(LifeSupport.java:155) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.shutdown(LifeSupport.java:185) >>> at >>> org.neo4j.kernel.InternalAbstractGraphDatabase.shutdown(InternalAbstractGraphDatabase.java:809) >>> at >>> org.springframework.data.neo4j.support.DelegatingGraphDatabase.shutdown(DelegatingGraphDatabase.java:283) >>> 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:606) >>> at >>> org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:353) >>> at >>> org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:276) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:578) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:554) >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingleton(DefaultListableBeanFactory.java:925) >>> at >>> org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:523) >>> at >>> org.springframework.beans.factory.support.DefaultListableBeanFactory.destroySingletons(DefaultListableBeanFactory.java:932) >>> at >>> org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:997) >>> at >>> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:547) >>> at >>> org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:446) >>> at >>> org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:328) >>> at >>> org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:107) >>> at >>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4760) >>> at >>> org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184) >>> at >>> org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) >>> at >>> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724) >>> at >>> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700) >>> at >>> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714) >>> at >>> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919) >>> at >>> org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704) >>> at >>> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) >>> at java.util.concurrent.FutureTask.run(FutureTask.java:262) >>> at >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) >>> at >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) >>> at java.lang.Thread.run(Thread.java:745) >>> Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component >>> 'org.neo4j.index.impl.lucene.LuceneDataSource@2aad7c69' failed to stop. >>> Please see attached cause exception. >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:532) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.shutdown(LifeSupport.java:547) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport.remove(LifeSupport.java:339) >>> at >>> org.neo4j.kernel.impl.transaction.XaDataSourceManager.unregisterDataSource(XaDataSourceManager.java:272) >>> at >>> org.neo4j.index.lucene.LuceneKernelExtension.stop(LuceneKernelExtension.java:92) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> ... 36 more >>> Caused by: java.lang.NoSuchMethodError: >>> org.neo4j.index.impl.lucene.LuceneDataSource.unbindLogicalLog()V >>> at >>> org.neo4j.index.impl.lucene.LuceneDataSource.stop(LuceneDataSource.java:343) >>> at >>> org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.stop(LifeSupport.java:527) >>> ... 41 more >>> >>> >>> I am running neo4j on unix machine. The server runs fine on my local >>> machine though its just that when i deploy it in server it produces error. >>> >>> >>> On Wed, Jan 27, 2016 at 9:20 PM, Mattias Persson < >>> matt...@neotechnology.com> wrote: >>> >>>> You're correct in principle, but it's not a new "query" as such that is >>>> sent every time. The traversal state is kept between calls to hasNext/next, >>>> but that's just a detail. >>>> >>>> On Wed, Jan 27, 2016 at 1:20 PM, Radheshyam Verma <radhe2...@gmail.com> >>>> wrote: >>>> >>>>> Thanks for the reply, >>>>> So you mean that for each iteration of following 'FOR' loop, a query >>>>> is sent to get next node from database if it exists. >>>>> and that not all the nodes are returned in one go before 'FOR' loop >>>>> even starts. >>>>> >>>>> for(Node currentNode : database.traversalDescription() >>>>> .depthFirst() >>>>> .uniqueness(Uniqueness.NODE_GLOBAL) >>>>> .order(BranchOrderingPolicies.PREORDER_BREADTH_FIRST) >>>>> .relationships(<RelationshipType>, Direction.BOTH) >>>>> .evaluator(Evaluators.excludeStartPosition()) >>>>> .traverse(node) >>>>> .nodes()) >>>>> { >>>>> >>>>> } >>>>> >>>>> Thanks for the response again. >>>>> >>>>> >>>>> On Wed, Jan 27, 2016 at 2:24 PM, Mattias Persson < >>>>> matt...@neotechnology.com> wrote: >>>>> >>>>>> With the traversal framework, the actual work of traversing happens >>>>>> lazily on every call on hasNext/next on the returned Traverser (in the >>>>>> end >>>>>> Iterator<Path>). You can simply stop pulling more paths after a certain >>>>>> number of paths have been extracted. >>>>>> >>>>>> >>>>>> On Monday, January 25, 2016 at 8:31:37 AM UTC+1, Radheshyam Verma >>>>>> wrote: >>>>>>> >>>>>>> Hi, >>>>>>> I am using traversal framework to traverse graph which returns nodes. >>>>>>> Can we somehow specify a limit on number of nodes which the >>>>>>> traversal returns like we do in Query using "LIMIT" and "SKIP". >>>>>>> Thanks. >>>>>>> >>>>>> -- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "Neo4j" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/neo4j/2A1QiEOwofU/unsubscribe. >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> neo4j+unsubscr...@googlegroups.com. >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>>> You received this message because you are subscribed to a topic in the >>>>> Google Groups "Neo4j" group. >>>>> To unsubscribe from this topic, visit >>>>> https://groups.google.com/d/topic/neo4j/2A1QiEOwofU/unsubscribe. >>>>> To unsubscribe from this group and all its topics, send an email to >>>>> neo4j+unsubscr...@googlegroups.com. >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> >>>> -- >>>> Mattias Persson >>>> Neo4j Hacker at Neo Technology >>>> >>>> -- >>>> You received this message because you are subscribed to a topic in the >>>> Google Groups "Neo4j" group. >>>> To unsubscribe from this topic, visit >>>> https://groups.google.com/d/topic/neo4j/2A1QiEOwofU/unsubscribe. >>>> To unsubscribe from this group and all its topics, send an email to >>>> neo4j+unsubscr...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Neo4j" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/neo4j/2A1QiEOwofU/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> neo4j+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Mattias Persson >> Neo4j Hacker at Neo Technology >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Neo4j" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/neo4j/2A1QiEOwofU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> neo4j+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > 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 neo4j+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 neo4j+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.