I am starting ignite with my custom config file like:

./bin/ignite.sh config.xml

Below is my config file:

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

    <property name="cacheConfiguration">
      <list>
        
        <bean class="org.apache.ignite.configuration.CacheConfiguration">
          <property name="name" value="mytestcache*"/>
          <property name="sqlEscapeAll" value="true"/>
          <property name="dataRegionName" value="mycustom1GB_Region"/>
          
          
        </bean>
      </list>
    </property>

    
    <property name="dataStorageConfiguration">
      <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
        <property name="dataRegionConfigurations">
          <list>
            
            <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
              
              <property name="name" value="mycustom1GB_Region"/>

              
              <property name="initialSize" value="#{500L * 1024 * 1024}"/>

              
              <property name="maxSize" value="#{1024L * 1024 * 1024}"/>

              
              
            </bean>
          </list>
        </property>
      </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>


I then run ignitevisorcmd.sh, execute the 'open' command and select the same
config.xml.
The status remains the same:

+-------------------------------------+
| Status               | Disconnected |
| Ignite instance name | <n/a>        |
| Config path          | <n/a>        |
| Uptime               | <n/a>        |
+-------------------------------------+

I want to use ignitevisor so i can inspect a cache configuration that i
suspect is not being loaded. If you noticed in my config, i have defined a
cache template with the following setting:

<property name="sqlEscapeAll" value="true"/>

This was supposed to make ignite case sensitive when creating tables, so
that i get my table names and field names in lowercase. 

This is not directly related to ignitevisor and maybe i should move it to
another post?

Thanks for your help so far.





--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to