You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by devkumar <de...@gmail.com> on 2017/08/01 06:47:02 UTC

Unable to start 2.1 with durable memory

Hi,
I am unable to start server with durable memory enable. I am getting the
following error :- 

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#23e028a9' 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#23e028a9'
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#23e028a9'
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-tp15841.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Re: Unable to start 2.1 with durable memory

Posted by "slava.koptilin" <sl...@gmail.com>.
Hi,

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

The root cause of the issue is that you are using Ignite 2.0.0 (which does
not have PersistentStoreConfiguration class) instead of 2.1.0

Ignite 2.1 can be downloaded from
http://apache-mirror.rbc.ru/pub/apache//ignite/2.1.0/apache-ignite-fabric-2.1.0-bin.zip

Thanks!



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

Re: Unable to start 2.1 with durable memory

Posted by devkumar <de...@gmail.com>.
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.

Re: Unable to start 2.1 with durable memory

Posted by "slava.koptilin" <sl...@gmail.com>.
Hi,

Could you please start the Ignite as follows
./ignite.sh -v
../examples/config/persistentstore/example-persistent-store.xml

additional option '-v' is used to enable debug info
in that case, first lines of log will be something like that:
    ./ignite.sh -v
../examples/config/persistentstore/example-persistent-store.xml 
    Ignite Command Line Startup, ver. 2.1.0#20170720-sha1:a6ca5c8a
    2017 Copyright(C) Apache Software Foundation

Please check that Ignite version is 2.1.0#20170720-sha1:a6ca5c8a

Thanks.



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

Re: Unable to start 2.1 with durable memory

Posted by devkumar <de...@gmail.com>.
Hi,

i am using following configuration to start ignite server. 

<?xml version="1.0" encoding="UTF-8"?>



<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd">
    <bean id="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">


        
        <property name="persistentStoreConfiguration">
            <bean
class="org.apache.ignite.configuration.PersistentStoreConfiguration"/>
        </property>

        
        <property name="cacheConfiguration">
            <list>
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="organization"/>
                    <property name="backups" value="1"/>

                    <property name="atomicityMode" value="TRANSACTIONAL"/>

                    <property name="writeSynchronizationMode"
value="FULL_SYNC"/>

                    <property name="indexedTypes">
                        <list>
                            <value>java.lang.Long</value>
                           
<value>org.apache.ignite.examples.model.Organization</value>
                        </list>
                    </property>
                </bean>
            </list>
        </property>

        <property name="binaryConfiguration">
            <bean
class="org.apache.ignite.configuration.BinaryConfiguration">
                <property name="compactFooter" value="false"/>
            </bean>
        </property>

        
        <property name="discoverySpi">
            <bean
class="org.apache.ignite.spi.discovery.tcp.TcpDiscoverySpi">
                <property name="ipFinder">
                    
                    
                    <bean
class="org.apache.ignite.spi.discovery.tcp.ipfinder.multicast.TcpDiscoveryMulticastIpFinder">
                        <property name="addresses">
                            <list>
                                
                                <value>127.0.0.1:47500..47502</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>
    </bean>
</beans>

Logs i already shared.



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

Re: Unable to start 2.1 with durable memory

Posted by Вячеслав Коптилин <sl...@gmail.com>.
Hi,

Class org.apache.ignite.configuration.PersistentStoreConfiguration is a
part of ignite-core-2.1.0.jar.

Could you please share full ignite log and configuration (I mean
example-persistent-store.xml
which you are using)?

Thanks.

2017-08-02 9:00 GMT+03:00 devkumar <de...@gmail.com>:

> I have set the IGNITE_HOME and still not able to start the ignite.
>
> ./ignite.sh ../examples/config/persistentstore/example-
> persistent-store.xml
> I am using this command to start the ignite.
>
> According to the logs, It is not able find bean with name
> 'org.apache.ignite.configuration.PersistentStoreConfiguration.
>
> Do we need any library for using PersistentStoreConfiguration class?
>
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Unable-to-start-2-1-with-durable-memory-
> tp15841p15877.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Re: Unable to start 2.1 with durable memory

Posted by devkumar <de...@gmail.com>.
I have set the IGNITE_HOME and still not able to start the ignite.

./ignite.sh ../examples/config/persistentstore/example-persistent-store.xml
I am using this command to start the ignite.

According to the logs, It is not able find bean with name
'org.apache.ignite.configuration.PersistentStoreConfiguration.

Do we need any library for using PersistentStoreConfiguration class?




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

Re: Unable to start 2.1 with durable memory

Posted by "slava.koptilin" <sl...@gmail.com>.
Hi,

Unfortunately, I cannot reproduce the issue. Could you please provide info
about what command you are using to start Ignite?

Anyway, I see that you are trying to use example-persistent-store.xml which
is refer to org.apache.ignite.examples.model.Organization
Thus, you have to build ignite-examples-{version}.jar and copy it to
{ignite-release}/libs/ directory.

After that you can start Ignite using the following simple script:
#!/bin/bash
export IGNITE_HOME=/projects/binaries/apache-ignite-fabric-2.1.0-bin
cd /projects/binaries/apache-ignite-fabric-2.1.0-bin
./ignite.sh -v
/projects/binaries/apache-ignite-fabric-2.1.0-bin/examples/config/persistentstore/example-persistent-store.xml

Thanks!



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

Re: Unable to start 2.1 with durable memory

Posted by devkumar <de...@gmail.com>.
I have both libraries inside lib folder of ignite.
The problem occurs only when i put below configuration in my ignite
configuration.

<property name="persistentStoreConfiguration">
      <bean
class="org.apache.ignite.configuration.PersistentStoreConfiguration" />
</property>

I am able to start the ignite server by removing above property.





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

Re: Unable to start 2.1 with durable memory

Posted by Вячеслав Коптилин <sl...@gmail.com>.
Hi,

The log you provided contatins the following exception:
 - java.lang.ClassNotFoundException:
org.apache.ignite.configuration.PersistentStoreConfiguration

It seems that Ignite libs are not not present in the CLASSPATH.
Please, be sure that '{ignite-release}/libs/',
'{ignite-release}/libs/ignite-spring' and
'{ignite-release}/libs/ignite-indexing' directories are present in your
CLASSPATH.

Thanks.

2017-08-01 9:47 GMT+03:00 devkumar <de...@gmail.com>:

> Hi,
> I am unable to start server with durable memory enable. I am getting the
> following error :-
>
> 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#23e028a9' 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#23e028a9'
> 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.AbstractAutowireCapableBeanFac
> tory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1531)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.populateBean(AbstractAutowireCapableBeanFactory.java:1276)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
>         at
> org.springframework.beans.factory.support.AbstractAutowireCapableBeanFac
> tory.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#
> 23e028a9'
> 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.AbstractAutowireCapableBeanFac
> tory.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-tp15841.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>