ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devkumar <dev...@gmail.com>
Subject Re: Unable to start 2.1 with durable memory
Date Wed, 02 Aug 2017 11:04:34 GMT
Hi,
I started the server as per your suggestion and getting the following error
:-

Ignite Command Line Startup, ver. 2.0.0#20170430-sha1:d4eef3c6
2017 Copyright(C) Apache Software Foundation

class org.apache.ignite.IgniteException: Failed to instantiate Spring XML
application context (make sure all classes used in Spring configuration are
present at CLASSPATH)
[springUrl=file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite-fabric-2.1.0-bin/bin/../examples/config/persistentstore/example-persistent-store.xml]
	at
org.apache.ignite.internal.util.IgniteUtils.convertException(IgniteUtils.java:949)
	at org.apache.ignite.Ignition.start(Ignition.java:350)
	at
org.apache.ignite.startup.cmdline.CommandLineStartup.main(CommandLineStartup.java:302)
Caused by: class org.apache.ignite.IgniteCheckedException: Failed to
instantiate Spring XML application context (make sure all classes used in
Spring configuration are present at CLASSPATH)
[springUrl=file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite-fabric-2.1.0-bin/bin/../examples/config/persistentstore/example-persistent-store.xml]
	at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:387)
	at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:104)
	at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.loadConfigurations(IgniteSpringHelperImpl.java:98)
	at
org.apache.ignite.internal.IgnitionEx.loadConfigurations(IgnitionEx.java:668)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:869)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:778)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:648)
	at org.apache.ignite.internal.IgnitionEx.start(IgnitionEx.java:617)
	at org.apache.ignite.Ignition.start(Ignition.java:347)
	... 1 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creating bean with name 'ignite.cfg' defined in URL
[file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite-fabric-2.1.0-bin/bin/../examples/config/persistentstore/example-persistent-store.xml]:
Cannot create inner bean
'org.apache.ignite.configuration.PersistentStoreConfiguration#5ae63ade' of
type [org.apache.ignite.configuration.PersistentStoreConfiguration] while
setting bean property 'persistentStoreConfiguration'; nested exception is
org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find
class [org.apache.ignite.configuration.PersistentStoreConfiguration] for
bean with name
'org.apache.ignite.configuration.PersistentStoreConfiguration#5ae63ade'
defined in URL
[file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite-fabric-2.1.0-bin/bin/../examples/config/persistentstore/example-persistent-store.xml];
nested exception is java.lang.ClassNotFoundException:
org.apache.ignite.configuration.PersistentStoreConfiguration
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:313)
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:122)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:483)
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:761)
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
	at
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
	at
org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.applicationContext(IgniteSpringHelperImpl.java:381)
	... 9 more
Caused by: org.springframework.beans.factory.CannotLoadBeanClassException:
Cannot find class
[org.apache.ignite.configuration.PersistentStoreConfiguration] for bean with
name 'org.apache.ignite.configuration.PersistentStoreConfiguration#5ae63ade'
defined in URL
[file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite-fabric-2.1.0-bin/bin/../examples/config/persistentstore/example-persistent-store.xml];
nested exception is java.lang.ClassNotFoundException:
org.apache.ignite.configuration.PersistentStoreConfiguration
	at
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1385)
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
	at
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:299)
	... 22 more
Caused by: java.lang.ClassNotFoundException:
org.apache.ignite.configuration.PersistentStoreConfiguration
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at org.springframework.util.ClassUtils.forName(ClassUtils.java:250)
	at
org.springframework.beans.factory.support.AbstractBeanDefinition.resolveBeanClass(AbstractBeanDefinition.java:401)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doResolveBeanClass(AbstractBeanFactory.java:1432)
	at
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1377)
	... 24 more
Failed to start grid: Failed to instantiate Spring XML application context
(make sure all classes used in Spring configuration are present at
CLASSPATH)
[springUrl=file:/Users/dkumar9/Desktop/IgniteCluster/apache-ignite-fabric-2.1.0-bin/bin/../examples/config/persistentstore/example-persistent-store.xml]
Note! You may use 'USER_LIBS' environment variable to specify your
classpath.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Unable-to-start-2-1-with-durable-memory-tp15841p15891.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Mime
View raw message