I am using Neo4j 2.1.8

On Mon, Mar 14, 2016 at 4:11 PM, Radheshyam Verma <radhe2...@gmail.com>
wrote:

> <properties>
> <springframework.version>4.2.1.RELEASE</springframework.version>
> <hibernate.version>4.3.6.Final</hibernate.version>
> <mysql.connector.version>5.1.31</mysql.connector.version>
> <joda-time.version>2.8.2</joda-time.version>
> <springsecurity.version>4.0.3.RELEASE</springsecurity.version>
> </properties>
>
> <dependencies>
>
> <dependency>
> <groupId>org.json</groupId>
> <artifactId>json</artifactId>
> <version>20150729</version>
> </dependency>
> <dependency>
> <groupId>com.googlecode.json-simple</groupId>
> <artifactId>json-simple</artifactId>
> <version>1.1</version>
> </dependency>
>
> <!-- spring -->
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-core</artifactId>
> <version>${springframework.version}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-context</artifactId>
> <version>${springframework.version}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-tx</artifactId>
> <version>${springframework.version}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-orm</artifactId>
> <version>${springframework.version}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-webmvc</artifactId>
> <version>${springframework.version}</version>
> </dependency>
> <dependency>
> <groupId>org.springframework</groupId>
> <artifactId>spring-test</artifactId>
> <version>${springframework.version}</version>
> </dependency>
>
> <!-- SPRING SECURITY -->
> <dependency>
> <groupId>org.springframework.security</groupId>
> <artifactId>spring-security-core</artifactId>
> <version>4.0.3.RELEASE</version>
> </dependency>
>
> <dependency>
> <groupId>org.springframework.security</groupId>
> <artifactId>spring-security-config</artifactId>
> <version>4.0.3.RELEASE</version>
> </dependency>
> <dependency>
> <groupId>org.springframework.security</groupId>
> <artifactId>spring-security-web</artifactId>
> <version>4.0.3.RELEASE</version>
> </dependency>
>
>
>
> <!-- Hibernate -->
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-core</artifactId>
> <version>${hibernate.version}</version>
> </dependency>
>
> <!-- MySQL -->
> <dependency>
> <groupId>mysql</groupId>
> <artifactId>mysql-connector-java</artifactId>
> <version>${mysql.connector.version}</version>
> </dependency>
>
> <!-- Joda-Time -->
> <dependency>
> <groupId>joda-time</groupId>
> <artifactId>joda-time</artifactId>
> <version>2.9.2</version>
> </dependency>
>
> <!-- Mail Dependencies -->
> <dependency>
> <groupId>javax.mail</groupId>
> <artifactId>mail</artifactId>
> <version>1.4.7</version>
> </dependency>
>
> <!-- To map JodaTime with database type -->
> <dependency>
> <groupId>org.jadira.usertype</groupId>
> <artifactId>usertype.core</artifactId>
> <version>3.0.0.CR1</version>
> </dependency>
>
> <dependency>
> <groupId>javax.servlet</groupId>
> <artifactId>servlet-api</artifactId>
> <version>2.5</version>
> </dependency>
>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>4.12</version>
> <scope>test</scope>
> </dependency>
>
> <dependency>
> <groupId>org.hibernate.common</groupId>
> <artifactId>hibernate-commons-annotations</artifactId>
> <version>4.0.4.Final</version>
> </dependency>
>
> <dependency>
> <groupId>com.google.code.gson</groupId>
> <artifactId>gson</artifactId>
> <version>2.3.1</version>
> </dependency>
>
> <dependency>
> <groupId>jstl</groupId>
> <artifactId>jstl</artifactId>
> <version>1.2</version>
> </dependency>
>
> <dependency>
> <groupId>commons-dbcp</groupId>
> <artifactId>commons-dbcp</artifactId>
> <version>1.2.2</version>
> </dependency>
>
> <dependency>
> <groupId>org.hibernate</groupId>
> <artifactId>hibernate-validator</artifactId>
> <version>5.2.1.Final</version>
> </dependency>
>
> <dependency>
> <groupId>javax.validation</groupId>
> <artifactId>validation-api</artifactId>
> <version>1.1.0.Final</version>
> </dependency>
> <dependency>
> <groupId>geocalc</groupId>
> <artifactId>geocalc</artifactId>
> <version>0.5.1</version>
> </dependency>
>
> <dependency>
> <groupId>com.googlecode.genericdao</groupId>
> <artifactId>dao-hibernate</artifactId>
> <version>1.2.0</version>
> </dependency>
>
> <dependency>
> <groupId>org.springframework.data</groupId>
> <artifactId>spring-data-neo4j</artifactId>
> <version>3.3.2.RELEASE</version>
> </dependency>
>
> <dependency>
> <groupId>org.neo4j</groupId>
> <artifactId>neo4j-kernel</artifactId>
> <version>2.1.2</version>
> </dependency>
>
> <dependency>
> <groupId> javax.transaction </groupId>
> <artifactId> jta </artifactId>
> <version> 1.1 </version>
> </dependency>
>
> <dependency>
> <groupId>log4j</groupId>
> <artifactId>log4j</artifactId>
> <version>1.2.17</version>
> </dependency>
>
> <dependency>
> <groupId>commons-codec</groupId>
> <artifactId>commons-codec</artifactId>
> <version>1.9</version>
> </dependency>
>
> <dependency>
> <groupId>org.json</groupId>
> <artifactId>json</artifactId>
> <version>20140107</version>
> </dependency>
>
> <!-- HTTP CLIENT -->
> <dependency>
> <groupId>org.apache.httpcomponents</groupId>
> <artifactId>httpclient</artifactId>
> <version>4.5.1</version>
> </dependency>
>
> <!-- JSON JACKSON -->
> <dependency>
> <groupId>com.fasterxml.jackson.core</groupId>
> <artifactId>jackson-core</artifactId>
> <version>2.7.1</version>
> </dependency>
>
> <!-- IOUTILS -->
> <dependency>
> <groupId>org.apache.commons</groupId>
> <artifactId>commons-io</artifactId>
> <version>1.3.2</version>
> </dependency>
>
>
>
>
>
> </dependencies>
> <repositories>
> <repository>
> <id>in-project</id>
> <name>in-project</name>
> <url>file://${project.basedir}/lib</url>
>
> </repository>
> </repositories>
>
> On Mon, Mar 14, 2016 at 4:04 PM, Michael Hunger <
> michael.hun...@neotechnology.com> wrote:
>
>> 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 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.

Reply via email to