Use "example-ignite.xml" instead of "example-default.xml".
"example-default.xml" is just a fragment a full configuration file, you can see it is <import>ed into example-ignite.xml: <import resource="example-default.xml"/> BR Mike On Tue, Jun 6, 2017 at 9:37 AM, ishan-jain <[email protected]> wrote: > <?xml version="1.0" encoding="UTF-8"?> > > > > > <beans xmlns="http://www.springframework.org/schema/beans" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:util="http://www.springframework.org/schema/util" > xsi:schemaLocation=" > http://www.springframework.org/schema/beans > http://www.springframework.org/schema/beans/spring-beans.xsd > http://www.springframework.org/schema/util > http://www.springframework.org/schema/util/spring-util.xsd"> > > > <bean id="h2-example-db" class="org.h2.jdbcx.JdbcDataSource"> > <property name="URL" value="jdbc:h2:tcp://localhost/mem:ExampleDb" > /> > <property name="user" value="sa" /> > </bean> > > <bean abstract="true" id="ignite.cfg" > class="org.apache.ignite.configuration.IgniteConfiguration"> > > <property name="peerClassLoadingEnabled" value="true"/> > > > <property name="includeEventTypes"> > <list> > > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_TASK_STARTED"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_TASK_FINISHED"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_TASK_FAILED"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_TASK_TIMEDOUT"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_ > TASK_SESSION_ATTR_SET"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_TASK_REDUCED"/> > > > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_PUT"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_CACHE_OBJECT_READ"/> > <util:constant > static-field="org.apache.ignite.events.EventType.EVT_ > CACHE_OBJECT_REMOVED"/> > </list> > </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..47509</value> > </list> > </property> > </bean> > </property> > </bean> > </property> > </bean> > </beans> > > > > > -- > View this message in context: http://apache-ignite-users. > 70518.x6.nabble.com/Ignite-Creation-Error-tp13398p13399.html > Sent from the Apache Ignite Users mailing list archive at Nabble.com. >
