Val,

I removed the Cache Config in the XML file and still don't get indexing.
Here's the error I see int he startup logs:

[10:33:26,574][WARN ][main][GridIndexingManager] Indexing is disabled (to
enable please configure GridIndexingSpi).
...
[10:33:31,121][WARN ][main][root] Logging at DEBUG level without checking if
DEBUG level is enabled: Loop - Caught:javax.cache.CacheException: Indexing
is disabled for cache: Points
[10:33:31,121][WARN ][main][root] Logging at DEBUG level without checking if
DEBUG level is enabled:
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.validate(IgniteCacheProxy.java:545)
[10:33:31,121][WARN ][main][root] Logging at DEBUG level without checking if
DEBUG level is enabled:
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.query(IgniteCacheProxy.java:493)
[10:33:31,121][WARN ][main][root] Logging at DEBUG level without checking if
DEBUG level is enabled:
com.gometrics.grid.test.TestCacheConfig.main(TestCacheConfig.java:53)



and here's my spring config now... Almost nothing in it:


<?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="ignite.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">

         
        <property name="peerClassLoadingEnabled" value="false"/>

              <property name="marshaller">
                   <bean
class="org.apache.ignite.marshaller.optimized.OptimizedMarshaller">
                        <property name="requireSerializable" 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.vm.TcpDiscoveryVmIpFinder">
                        <property name="addresses">
                            <list>
                                
                                <value>127.0.0.1:47500..47509</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>

    </bean>

</beans>



Any ideas?

Thanks much,
Florian




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Trouble-Enabling-Query-Indexing-tp377p489.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to