I have a project that starts fine if i start it like this

Ignite ig = Ignition.start("POC5-server.xml");
ig.cluster().active(true);

I need to however use the config file and also set other details before
starting so When i do this i get an error:

IgniteConfiguration cfg =
Ignition.loadSpringBean("POC5-server.xml","grid.cfg");
--set other things here (they are commented out in the code for now)
Ignite ig =Ignition.start(cfg);
ig.cluster().active(true);

here is the error in the log file:



[2018-09-03 14:20:18,866][INFO ][main][IgniteKernal%POC5] 

>>>    __________  ________________  
>>>   /  _/ ___/ |/ /  _/_  __/ __/  
>>>  _/ // (7 7    // /  / / / _/    
>>> /___/\___/_/|_/___/ /_/ /___/   
>>> 
>>> ver. 2.6.0#20180710-sha1:669feacc
>>> 2018 Copyright(C) Apache Software Foundation
>>> 
>>> Ignite documentation: http://ignite.apache.org

[2018-09-03 14:20:18,882][INFO ][main][IgniteKernal%POC5] Config URL: n/a
[2018-09-03 14:20:18,898][INFO ][main][IgniteKernal%POC5]
IgniteConfiguration [igniteInstanceName=POC5, pubPoolSize=8, svcPoolSize=8,
callbackPoolSize=8, stripedPoolSize=8, sysPoolSize=8, mgmtPoolSize=4,
igfsPoolSize=2, dataStreamerPoolSize=8, utilityCachePoolSize=8,
utilityCacheKeepAliveTime=60000, p2pPoolSize=2, qryPoolSize=8,
igniteHome=c:\ignite\, igniteWorkDir=c:\ignite\work,
mbeanSrv=com.sun.jmx.mbeanserver.JmxMBeanServer@23529fee,
nodeId=b36055b7-426d-4975-bf5b-cb54fbb06dbc,
marsh=org.apache.ignite.internal.binary.BinaryMarshaller@3c73951,
marshLocJobs=false, daemon=false, p2pEnabled=false, netTimeout=5000,
sndRetryDelay=1000, sndRetryCnt=3, metricsHistSize=10000,
metricsUpdateFreq=2000, metricsExpTime=9223372036854775807,
discoSpi=TcpDiscoverySpi [addrRslvr=null, sockTimeout=0, ackTimeout=0,
marsh=null, reconCnt=10, reconDelay=2000, maxAckTimeout=600000,
forceSrvMode=false, clientReconnectDisabled=false, internalLsnr=null],
segPlc=STOP, segResolveAttempts=2, waitForSegOnStart=true,
allResolversPassReq=true, segChkFreq=10000, commSpi=TcpCommunicationSpi
[connectGate=null, connPlc=null, enableForcibleNodeKill=false,
enableTroubleshootingLog=false,
srvLsnr=org.apache.ignite.spi.communication.tcp.TcpCommunicationSpi$2@32b260fa,
locAddr=null, locHost=null, locPort=47100, locPortRange=100, shmemPort=-1,
directBuf=true, directSndBuf=false, idleConnTimeout=600000,
connTimeout=5000, maxConnTimeout=600000, reconCnt=10, sockSndBuf=32768,
sockRcvBuf=32768, msgQueueLimit=0, slowClientQueueLimit=0, nioSrvr=null,
shmemSrv=null, usePairedConnections=false, connectionsPerNode=1,
tcpNoDelay=true, filterReachableAddresses=false, ackSndThreshold=32,
unackedMsgsBufSize=0, sockWriteTimeout=2000, lsnr=null, boundTcpPort=-1,
boundTcpShmemPort=-1, selectorsCnt=4, selectorSpins=0, addrRslvr=null,
ctxInitLatch=java.util.concurrent.CountDownLatch@581ac8a8[Count = 1],
stopping=false,
metricsLsnr=org.apache.ignite.spi.communication.tcp.TcpCommunicationMetricsListener@6d4e5011],
evtSpi=org.apache.ignite.spi.eventstorage.NoopEventStorageSpi@57d7f8ca,
colSpi=NoopCollisionSpi [], deploySpi=LocalDeploymentSpi [lsnr=null],
indexingSpi=org.apache.ignite.spi.indexing.noop.NoopIndexingSpi@662b4c69,
addrRslvr=null, clientMode=false, rebalanceThreadPoolSize=1,
txCfg=org.apache.ignite.configuration.TransactionConfiguration@fa49800,
cacheSanityCheckEnabled=true, discoStartupDelay=60000, deployMode=SHARED,
p2pMissedCacheSize=100, locHost=null, timeSrvPortBase=31100,
timeSrvPortRange=100, failureDetectionTimeout=10000,
clientFailureDetectionTimeout=30000, metricsLogFreq=60000, hadoopCfg=null,
connectorCfg=org.apache.ignite.configuration.ConnectorConfiguration@71238fc2,
odbcCfg=null, warmupClos=null, atomicCfg=AtomicConfiguration
[seqReserveSize=1000, cacheMode=PARTITIONED, backups=1, aff=null,
grpName=null], classLdr=null, sslCtxFactory=null, platformCfg=null,
binaryCfg=null, memCfg=null, pstCfg=null, dsCfg=DataStorageConfiguration
[sysRegionInitSize=41943040, sysCacheMaxSize=104857600, pageSize=0,
concLvl=0, dfltDataRegConf=DataRegionConfiguration [name=default,
maxSize=1073741824, initSize=268435456, swapPath=null,
pageEvictionMode=DISABLED, evictionThreshold=0.9, emptyPagesPoolSize=100,
metricsEnabled=false, metricsSubIntervalCount=5,
metricsRateTimeInterval=60000, persistenceEnabled=true,
checkpointPageBufSize=0], storagePath=null, checkpointFreq=180000,
lockWaitTime=10000, checkpointThreads=4, checkpointWriteOrder=SEQUENTIAL,
walHistSize=20, walSegments=10, walSegmentSize=67108864, walPath=db/wal,
walArchivePath=db/wal/archive, metricsEnabled=false, walMode=LOG_ONLY,
walTlbSize=131072, walBuffSize=0, walFlushFreq=2000, walFsyncDelay=1000,
walRecordIterBuffSize=67108864, alwaysWriteFullPages=false,
fileIOFactory=org.apache.ignite.internal.processors.cache.persistence.file.AsyncFileIOFactory@16a0ee18,
metricsSubIntervalCnt=5, metricsRateTimeInterval=60000,
walAutoArchiveAfterInactivity=-1, writeThrottlingEnabled=false,
walCompactionEnabled=false], activeOnStart=true, autoActivation=true,
longQryWarnTimeout=3000, sqlConnCfg=null,
cliConnCfg=ClientConnectorConfiguration [host=null, port=10800,
portRange=100, sockSndBufSize=0, sockRcvBufSize=0, tcpNoDelay=true,
maxOpenCursorsPerConn=128, threadPoolSize=8, idleTimeout=0,
jdbcEnabled=true, odbcEnabled=true, thinCliEnabled=true, sslEnabled=false,
useIgniteSslCtxFactory=true, sslClientAuth=false, sslCtxFactory=null],
authEnabled=false, failureHnd=null, commFailureRslvr=null]
[2018-09-03 14:20:18,898][INFO ][main][IgniteKernal%POC5] Daemon mode: off
[2018-09-03 14:20:18,898][INFO ][main][IgniteKernal%POC5] OS: Windows 7 6.1
amd64
[2018-09-03 14:20:18,898][INFO ][main][IgniteKernal%POC5] OS user: ww309
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] PID: 13368
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] Language runtime:
Java Platform API Specification ver. 1.8
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] VM information:
Java(TM) SE Runtime Environment 1.8.0_151-b12 Oracle Corporation Java
HotSpot(TM) 64-Bit Server VM 25.151-b12
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] VM total memory:
1.8GB
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] Remote Management
[restart: off, REST: on, JMX (remote: off)]
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] Logger:
Log4JLogger [quiet=true,
config=C:\Users\ww309\Downloads\POC5-project\src\main\resources\ignite-log4j.xml]
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5]
IGNITE_HOME=c:\ignite\
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] VM arguments:
[-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition
2017.3\lib\idea_rt.jar=60379:C:\Program Files\JetBrains\IntelliJ IDEA
Community Edition 2017.3\bin, -Dfile.encoding=UTF-8]
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] System cache's
DataRegion size is configured to 40 MB. Use
DataStorageConfiguration.systemCacheMemorySize property to change the
setting.
[2018-09-03 14:20:18,929][INFO ][main][IgniteKernal%POC5] Configured caches
[in 'sysMemPlc' dataRegion: ['ignite-sys-cache'], in 'default' dataRegion:
['CompanyCache']]
[2018-09-03 14:20:18,944][INFO ][main][IgniteKernal%POC5] 3-rd party
licenses can be found at: c:\ignite\\libs\licenses
[2018-09-03 14:20:18,944][WARN ][pub-#22%POC5%][GridDiagnostic] Initial heap
size is 128MB (should be no less than 512MB, use -Xms512m -Xmx512m).
[2018-09-03 14:20:19,022][INFO ][main][IgnitePluginProcessor] Configured
plugins:
[2018-09-03 14:20:19,022][INFO ][main][IgnitePluginProcessor]   ^-- None
[2018-09-03 14:20:19,022][INFO ][main][IgnitePluginProcessor] 
[2018-09-03 14:20:19,022][INFO ][main][FailureProcessor] Configured failure
handler: [hnd=StopNodeOrHaltFailureHandler [tryStop=false, timeout=0]]
[2018-09-03 14:20:19,444][INFO ][main][TcpCommunicationSpi] Successfully
bound communication NIO server to TCP port [port=47100,
locHost=0.0.0.0/0.0.0.0, selectorsCnt=4, selectorSpins=0, pairedConn=false]
[2018-09-03 14:20:19,569][WARN ][main][TcpCommunicationSpi] Message queue
limit is set to 0 which may lead to potential OOMEs when running cache
operations in FULL_ASYNC or PRIMARY_SYNC modes due to message queues growth
on sender and receiver sides.
[2018-09-03 14:20:19,600][WARN ][main][NoopCheckpointSpi] Checkpoints are
disabled (to enable configure any GridCheckpointSpi implementation)
[2018-09-03 14:20:19,647][WARN ][main][GridCollisionManager] Collision
resolution is disabled (all jobs will be activated upon arrival).
[2018-09-03 14:20:19,647][INFO ][main][IgniteKernal%POC5] Security status
[authentication=off, tls/ssl=off]
[2018-09-03 14:20:19,693][INFO ][main][TcpDiscoverySpi] Successfully bound
to TCP port [port=47500, localHost=0.0.0.0/0.0.0.0,
locNodeId=b36055b7-426d-4975-bf5b-cb54fbb06dbc]
[2018-09-03 14:20:19,725][INFO ][main][PdsFoldersResolver] Successfully
locked persistence storage folder
[c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141]
[2018-09-03 14:20:19,725][INFO ][main][PdsFoldersResolver] Consistent ID
used for local node is [9c285b70-722c-4d7f-8aec-644e8da45141] according to
persistence data storage folders
[2018-09-03 14:20:19,725][INFO ][main][CacheObjectBinaryProcessorImpl]
Resolved directory for serialized binary metadata:
c:\ignite\work\binary_meta\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:20,021][INFO ][main][FilePageStoreManager] Resolved page
store work directory:
c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:20,021][INFO ][main][FileWriteAheadLogManager] Resolved
write ahead log work directory:
c:\ignite\work\db\wal\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:20,021][INFO ][main][FileWriteAheadLogManager] Resolved
write ahead log archive directory:
c:\ignite\work\db\wal\archive\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:20,068][INFO ][main][FileWriteAheadLogManager] Started
write-ahead log manager [mode=LOG_ONLY]
[2018-09-03 14:20:20,130][INFO ][main][GridCacheDatabaseSharedManager] Read
checkpoint status
[startMarker=c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141\cp\1535980685734-2439bdb8-d5dc-43c4-8546-a9b4247782ab-START.bin,
endMarker=c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141\cp\1535980685734-2439bdb8-d5dc-43c4-8546-a9b4247782ab-END.bin]
[2018-09-03 14:20:20,146][INFO ][main][PageMemoryImpl] Started page memory
[memoryAllocated=100.0 MiB, pages=24814, tableSize=1.9 MiB,
checkpointBuffer=100.0 MiB]
[2018-09-03 14:20:20,161][INFO ][main][GridCacheDatabaseSharedManager]
Checking memory state [lastValidPos=FileWALPointer [idx=0, fileOff=280122,
len=1953], lastMarked=FileWALPointer [idx=0, fileOff=280122, len=1953],
lastCheckpointId=2439bdb8-d5dc-43c4-8546-a9b4247782ab]
[2018-09-03 14:20:20,255][INFO ][main][GridCacheDatabaseSharedManager] Found
last checkpoint marker [cpId=2439bdb8-d5dc-43c4-8546-a9b4247782ab,
pos=FileWALPointer [idx=0, fileOff=280122, len=1953]]
[2018-09-03 14:20:20,333][INFO ][main][GridCacheDatabaseSharedManager]
Applying lost cache updates since last checkpoint record
[lastMarked=FileWALPointer [idx=0, fileOff=280122, len=1953],
lastCheckpointId=2439bdb8-d5dc-43c4-8546-a9b4247782ab]
[2018-09-03 14:20:20,395][INFO ][main][GridCacheDatabaseSharedManager]
Finished applying WAL changes [updatesApplied=0, time=62ms]
[2018-09-03 14:20:20,458][INFO ][main][GridClusterStateProcessor] Restoring
history for BaselineTopology[id=0]
[2018-09-03 14:20:20,645][INFO ][main][ClientListenerProcessor] Client
connector processor has started on TCP port 10800
[2018-09-03 14:20:20,723][INFO ][main][GridTcpRestProtocol] Command protocol
successfully started [name=TCP binary, host=0.0.0.0/0.0.0.0, port=11211]
[2018-09-03 14:20:21,036][INFO ][main][GridJettyRestProtocol] Command
protocol successfully started [name=Jetty REST, host=/0.0.0.0, port=8080]
[2018-09-03 14:20:21,254][INFO ][main][IgniteKernal%POC5] Non-loopback local
IPs: 172.19.112.175, fe80:0:0:0:2131:1c27:c0de:eeef%eth3
[2018-09-03 14:20:21,254][INFO ][main][IgniteKernal%POC5] Enabled local
MACs: 005056ADE287
[2018-09-03 14:20:33,034][INFO ][main][GridClusterStateProcessor] Sending
activate request with BaselineTopology BaselineTopology [id=0,
branchingHash=-380886272, branchingType='Cluster activation',
baselineNodes=[9c285b70-722c-4d7f-8aec-644e8da45141]]
[2018-09-03 14:20:33,066][INFO
][tcp-disco-msg-worker-#3%POC5%][GridClusterStateProcessor] Received
activate request with BaselineTopology[id=0]
[2018-09-03 14:20:33,081][INFO
][tcp-disco-msg-worker-#3%POC5%][GridClusterStateProcessor] Started state
transition: true
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5] Performance
suggestions for grid 'POC5' (fix if possible)
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5] To disable, set
-DIGNITE_PERFORMANCE_SUGGESTIONS_DISABLED=true
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5]   ^-- Enable G1
Garbage Collector (add '-XX:+UseG1GC' to JVM options)
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5]   ^-- Specify JVM
heap max size (add '-Xmx<size>[g|G|m|M|k|K]' to JVM options)
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5]   ^-- Set max
direct memory size if getting 'OOME: Direct buffer memory' (add
'-XX:MaxDirectMemorySize=<size>[g|G|m|M|k|K]' to JVM options)
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5]   ^-- Disable
processing of calls to System.gc() (add '-XX:+DisableExplicitGC' to JVM
options)
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5] Refer to this page
for more performance suggestions:
https://apacheignite.readme.io/docs/jvm-and-system-tuning
[2018-09-03 14:20:33,144][INFO ][main][IgniteKernal%POC5] 
[2018-09-03 14:20:33,159][INFO ][main][IgniteKernal%POC5] To start Console
Management & Monitoring run ignitevisorcmd.{sh|bat}
[2018-09-03 14:20:33,175][INFO ][main][IgniteKernal%POC5] 
[2018-09-03 14:20:33,175][INFO ][main][IgniteKernal%POC5] 

>>> +----------------------------------------------------------------------+
>>> Ignite ver. 2.6.0#20180710-sha1:669feacc5d3a4e60efcdd300dc8de99780f38eed
>>> +----------------------------------------------------------------------+
>>> OS name: Windows 7 6.1 amd64
>>> CPU(s): 2
>>> Heap: 1.8GB
>>> VM name: 13368@PC50439
>>> Ignite instance name: POC5
>>> Local node [ID=B36055B7-426D-4975-BF5B-CB54FBB06DBC, order=1,
>>> clientMode=false]
>>> Local node addresses: [PC50439.oa.pnrad.net/0:0:0:0:0:0:0:1, /127.0.0.1,
>>> /172.19.112.175]
>>> Local ports: TCP:8080 TCP:10800 TCP:11211 TCP:47100 UDP:47400 TCP:47500 

[2018-09-03 14:20:33,175][INFO ][main][GridDiscoveryManager] Topology
snapshot [ver=1, servers=1, clients=0, CPUs=2, offheap=1.0GB, heap=1.8GB]
[2018-09-03 14:20:33,175][INFO ][main][GridDiscoveryManager]   ^-- Node
[id=B36055B7-426D-4975-BF5B-CB54FBB06DBC, clusterState=INACTIVE]
[2018-09-03 14:20:33,175][INFO ][main][GridDiscoveryManager]   ^-- Baseline
[id=0, size=1, online=1, offline=0]
[2018-09-03 14:20:33,175][INFO ][main][GridDiscoveryManager]   ^-- All
baseline nodes are online, will start auto-activation
[2018-09-03 14:20:33,175][INFO ][main][GridDiscoveryManager] Data Regions
Configured:
[2018-09-03 14:20:33,175][INFO ][main][GridDiscoveryManager]   ^-- default
[initSize=256.0 MiB, maxSize=1.0 GiB, persistenceEnabled=true]
[2018-09-03 14:20:33,191][INFO ][exchange-worker-#38%POC5%][time] Started
exchange init [topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
crd=true, evt=DISCOVERY_CUSTOM_EVT,
evtNode=b36055b7-426d-4975-bf5b-cb54fbb06dbc,
customEvt=ChangeGlobalStateMessage
[id=e36479f9561-59af70fa-5e15-48ce-88a5-2b46bb0ccc0d,
reqId=3bef1139-4d19-41f4-b51e-43b9aeb55807,
initiatingNodeId=b36055b7-426d-4975-bf5b-cb54fbb06dbc, activate=true,
baselineTopology=BaselineTopology [id=0, branchingHash=-380886272,
branchingType='Cluster activation',
baselineNodes=[9c285b70-722c-4d7f-8aec-644e8da45141]],
forceChangeBaselineTopology=false, timestamp=1535980833034],
allowMerge=false]
[2018-09-03 14:20:33,191][INFO
][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture] Start
activation process [nodeId=b36055b7-426d-4975-bf5b-cb54fbb06dbc,
client=false, topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1]]
[2018-09-03 14:20:33,191][INFO
][exchange-worker-#38%POC5%][FilePageStoreManager] Resolved page store work
directory: c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:33,191][INFO
][exchange-worker-#38%POC5%][FileWriteAheadLogManager] Resolved write ahead
log work directory:
c:\ignite\work\db\wal\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:33,191][INFO
][exchange-worker-#38%POC5%][FileWriteAheadLogManager] Resolved write ahead
log archive directory:
c:\ignite\work\db\wal\archive\node00-9c285b70-722c-4d7f-8aec-644e8da45141
[2018-09-03 14:20:33,191][INFO
][exchange-worker-#38%POC5%][FileWriteAheadLogManager] Started write-ahead
log manager [mode=LOG_ONLY]
[2018-09-03 14:20:33,206][INFO ][exchange-worker-#38%POC5%][PageMemoryImpl]
Started page memory [memoryAllocated=100.0 MiB, pages=24814, tableSize=1.9
MiB, checkpointBuffer=100.0 MiB]
[2018-09-03 14:20:33,237][INFO ][exchange-worker-#38%POC5%][PageMemoryImpl]
Started page memory [memoryAllocated=1.0 GiB, pages=254104, tableSize=19.8
MiB, checkpointBuffer=256.0 MiB]
[2018-09-03 14:20:33,237][INFO ][exchange-worker-#38%POC5%][PageMemoryImpl]
Started page memory [memoryAllocated=100.0 MiB, pages=24814, tableSize=1.9
MiB, checkpointBuffer=100.0 MiB]
[2018-09-03 14:20:33,378][INFO
][exchange-worker-#38%POC5%][GridCacheDatabaseSharedManager] Read checkpoint
status
[startMarker=c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141\cp\1535980685734-2439bdb8-d5dc-43c4-8546-a9b4247782ab-START.bin,
endMarker=c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141\cp\1535980685734-2439bdb8-d5dc-43c4-8546-a9b4247782ab-END.bin]
[2018-09-03 14:20:33,378][INFO
][exchange-worker-#38%POC5%][GridCacheDatabaseSharedManager] Checking memory
state [lastValidPos=FileWALPointer [idx=0, fileOff=280122, len=1953],
lastMarked=FileWALPointer [idx=0, fileOff=280122, len=1953],
lastCheckpointId=2439bdb8-d5dc-43c4-8546-a9b4247782ab]
[2018-09-03 14:20:33,440][INFO
][exchange-worker-#38%POC5%][GridCacheDatabaseSharedManager] Found last
checkpoint marker [cpId=2439bdb8-d5dc-43c4-8546-a9b4247782ab,
pos=FileWALPointer [idx=0, fileOff=280122, len=1953]]
[2018-09-03 14:20:33,456][INFO
][exchange-worker-#38%POC5%][FileWriteAheadLogManager] Resuming logging to
WAL segment
[file=c:\ignite\work\db\wal\node00-9c285b70-722c-4d7f-8aec-644e8da45141\0000000000000000.wal,
offset=359899, ver=2]
[2018-09-03 14:20:33,518][INFO
][exchange-worker-#38%POC5%][GridClusterStateProcessor] Writing
BaselineTopology[id=0]
[2018-09-03 14:20:33,988][INFO
][exchange-worker-#38%POC5%][GridCacheProcessor] Started cache
[name=ignite-sys-cache, id=-2100569601, memoryPolicyName=sysMemPlc,
mode=REPLICATED, atomicity=TRANSACTIONAL, backups=2147483647]
[2018-09-03
14:20:34,004][ERROR][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture]
Failed to activate node components
[nodeId=b36055b7-426d-4975-bf5b-cb54fbb06dbc, client=false,
topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1]]
class org.apache.ignite.IgniteException: Spring application context resource
is not injected.
        at
org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:171)
        at
org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory.create(CacheJdbcPojoStoreFactory.java:100)
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.createCache(GridCacheProcessor.java:1437)
        at
org.apache.ignite.internal.processors.cache.GridCacheProcessor.prepareCacheStart(GridCacheProcessor.java:1945)
        at
org.apache.ignite.internal.processors.cache.CacheAffinitySharedManager.onCacheChangeRequest(CacheAffinitySharedManager.java:791)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.onClusterStateChangeRequest(GridDhtPartitionsExchangeFuture.java:897)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:641)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:748)
[2018-09-03 14:20:34,035][INFO
][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture] Finished
waiting for partition release future [topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=1], waitTime=0ms, futInfo=NA]
[2018-09-03 14:20:34,035][INFO
][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture] Finished
waiting for partitions release latch: ServerLatch [permits=0,
pendingAcks=[], super=CompletableLatch [id=exchange,
topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1]]]
[2018-09-03 14:20:34,035][INFO
][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture] Finished
waiting for partition release future [topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=1], waitTime=0ms, futInfo=NA]
[2018-09-03 14:20:34,035][INFO
][exchange-worker-#38%POC5%][GridCacheDatabaseSharedManager] Read checkpoint
status
[startMarker=c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141\cp\1535980685734-2439bdb8-d5dc-43c4-8546-a9b4247782ab-START.bin,
endMarker=c:\ignite\work\db\node00-9c285b70-722c-4d7f-8aec-644e8da45141\cp\1535980685734-2439bdb8-d5dc-43c4-8546-a9b4247782ab-END.bin]
[2018-09-03 14:20:34,035][INFO
][exchange-worker-#38%POC5%][GridCacheDatabaseSharedManager] Applying lost
cache updates since last checkpoint record [lastMarked=FileWALPointer
[idx=0, fileOff=280122, len=1953],
lastCheckpointId=2439bdb8-d5dc-43c4-8546-a9b4247782ab]
[2018-09-03
14:20:34,129][ERROR][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture]
Failed to reinitialize local partitions (preloading will be stopped):
GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], discoEvt=DiscoveryCustomEvent
[customMsg=ChangeGlobalStateMessage
[id=e36479f9561-59af70fa-5e15-48ce-88a5-2b46bb0ccc0d,
reqId=3bef1139-4d19-41f4-b51e-43b9aeb55807,
initiatingNodeId=b36055b7-426d-4975-bf5b-cb54fbb06dbc, activate=true,
baselineTopology=BaselineTopology [id=0, branchingHash=-380886272,
branchingType='Cluster activation',
baselineNodes=[9c285b70-722c-4d7f-8aec-644e8da45141]],
forceChangeBaselineTopology=false, timestamp=1535980833034],
affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=b36055b7-426d-4975-bf5b-cb54fbb06dbc, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535980821317, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1,
nodeId8=b36055b7, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1535980833097]], nodeId=b36055b7, evt=DISCOVERY_CUSTOM_EVT]
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at
org.apache.ignite.internal.processors.cache.CacheGroupContext.singleCacheContext(CacheGroupContext.java:385)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.<init>(GridDhtLocalPartition.java:198)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:843)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2432)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2333)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1443)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1183)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1132)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:748)
[2018-09-03 14:20:34,129][INFO
][exchange-worker-#38%POC5%][GridDhtPartitionsExchangeFuture] Finish
exchange future [startVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
resVer=null, err=java.lang.IndexOutOfBoundsException: Index: 0, Size: 0]
[2018-09-03
14:20:34,144][ERROR][exchange-worker-#38%POC5%][GridCachePartitionExchangeManager]
Failed to wait for completion of partition map exchange (preloading will not
start): GridDhtPartitionsExchangeFuture [firstDiscoEvt=DiscoveryCustomEvent
[customMsg=null, affTopVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=b36055b7-426d-4975-bf5b-cb54fbb06dbc, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535980821317, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1,
nodeId8=b36055b7, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1535980833097]], crd=TcpDiscoveryNode
[id=b36055b7-426d-4975-bf5b-cb54fbb06dbc, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535980821317, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false],
exchId=GridDhtPartitionExchangeId [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], discoEvt=DiscoveryCustomEvent [customMsg=null,
affTopVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
super=DiscoveryEvent [evtNode=TcpDiscoveryNode
[id=b36055b7-426d-4975-bf5b-cb54fbb06dbc, addrs=[0:0:0:0:0:0:0:1, 127.0.0.1,
172.19.112.175], sockAddrs=[/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500,
PC50439.oa.pnrad.net/172.19.112.175:47500], discPort=47500, order=1,
intOrder=1, lastExchangeTime=1535980821317, loc=true,
ver=2.6.0#20180710-sha1:669feacc, isClient=false], topVer=1,
nodeId8=b36055b7, msg=null, type=DISCOVERY_CUSTOM_EVT,
tstamp=1535980833097]], nodeId=b36055b7, evt=DISCOVERY_CUSTOM_EVT],
added=true, initFut=GridFutureAdapter [ignoreInterrupts=false, state=DONE,
res=false, hash=1963108094], init=false, lastVer=null,
partReleaseFut=PartitionReleaseFuture [topVer=AffinityTopologyVersion
[topVer=1, minorTopVer=1], futures=[ExplicitLockReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]],
AtomicUpdateReleaseFuture [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], futures=[]], DataStreamerReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1], futures=[]],
LocalTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], futures=[]], AllTxReleaseFuture
[topVer=AffinityTopologyVersion [topVer=1, minorTopVer=1],
futures=[RemoteTxReleaseFuture [topVer=AffinityTopologyVersion [topVer=1,
minorTopVer=1], futures=[]]]]]], exchActions=null, affChangeMsg=null,
initTs=1535980833175, centralizedAff=false, forceAffReassignment=true,
changeGlobalStateE=class o.a.i.IgniteException: Spring application context
resource is not injected., done=true, state=CRD, evtLatch=0, remaining=[],
super=GridFutureAdapter [ignoreInterrupts=false, state=DONE,
res=java.lang.IndexOutOfBoundsException: Index: 0, Size: 0,
hash=1463325495]]
class org.apache.ignite.IgniteCheckedException: Index: 0, Size: 0
        at 
org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7307)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.resolve(GridFutureAdapter.java:259)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:207)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:159)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:151)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2433)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body(GridCachePartitionExchangeManager.java:2299)
        at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
        at java.util.ArrayList.rangeCheck(ArrayList.java:657)
        at java.util.ArrayList.get(ArrayList.java:433)
        at
org.apache.ignite.internal.processors.cache.CacheGroupContext.singleCacheContext(CacheGroupContext.java:385)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtLocalPartition.<init>(GridDhtLocalPartition.java:198)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtPartitionTopologyImpl.forceCreatePartition(GridDhtPartitionTopologyImpl.java:843)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restorePartitionStates(GridCacheDatabaseSharedManager.java:2432)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.applyLastUpdates(GridCacheDatabaseSharedManager.java:2333)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.restoreState(GridCacheDatabaseSharedManager.java:1443)
        at
org.apache.ignite.internal.processors.cache.persistence.GridCacheDatabaseSharedManager.beforeExchange(GridCacheDatabaseSharedManager.java:1183)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.distributedExchange(GridDhtPartitionsExchangeFuture.java:1132)
        at
org.apache.ignite.internal.processors.cache.distributed.dht.preloader.GridDhtPartitionsExchangeFuture.init(GridDhtPartitionsExchangeFuture.java:712)
        at
org.apache.ignite.internal.processors.cache.GridCachePartitionExchangeManager$ExchangeWorker.body0(GridCachePartitionExchangeManager.java:2419)
        ... 3 more
[2018-09-03 14:21:33,127][INFO
][grid-timeout-worker-#23%POC5%][IgniteKernal%POC5] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
    ^-- Node [id=b36055b7, name=POC5, uptime=00:01:00.014]
    ^-- H/N/C [hosts=1, nodes=1, CPUs=2]
    ^-- CPU [cur=1.07%, avg=1.96%, GC=0%]
    ^-- PageMemory [pages=17]
    ^-- Heap [used=71MB, free=96.06%, comm=226MB]
    ^-- Non heap [used=51MB, free=-1%, comm=52MB]
    ^-- Outbound messages queue [size=0]
    ^-- Public thread pool [active=0, idle=0, qSize=0]
    ^-- System thread pool [active=0, idle=5, qSize=0]
[2018-09-03 14:21:43,587][INFO
][ignite-update-notifier-timer][GridUpdateNotifier] Update status is not
available.
[2018-09-03 14:22:33,172][INFO
][grid-timeout-worker-#23%POC5%][IgniteKernal%POC5] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
    ^-- Node [id=b36055b7, name=POC5, uptime=00:02:00.059]
    ^-- H/N/C [hosts=1, nodes=1, CPUs=2]
    ^-- CPU [cur=0%, avg=1.08%, GC=0%]
    ^-- PageMemory [pages=17]
    ^-- Heap [used=74MB, free=95.9%, comm=226MB]
    ^-- Non heap [used=51MB, free=-1%, comm=52MB]
    ^-- Outbound messages queue [size=0]
    ^-- Public thread pool [active=0, idle=0, qSize=0]
    ^-- System thread pool [active=0, idle=6, qSize=0]
[2018-09-03 14:23:33,197][INFO
][grid-timeout-worker-#23%POC5%][IgniteKernal%POC5] 
Metrics for local node (to disable set 'metricsLogFrequency' to 0)
    ^-- Node [id=b36055b7, name=POC5, uptime=00:03:00.084]
    ^-- H/N/C [hosts=1, nodes=1, CPUs=2]
    ^-- CPU [cur=0%, avg=0.8%, GC=0%]
    ^-- PageMemory [pages=17]
    ^-- Heap [used=77MB, free=95.77%, comm=226MB]
    ^-- Non heap [used=51MB, free=-1%, comm=53MB]
    ^-- Outbound messages queue [size=0]
    ^-- Public thread pool [active=0, idle=0, qSize=0]
    ^-- System thread pool [active=0, idle=6, qSize=0]



------------------------------------------------

here is my config file


<?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="placeholderConfig"
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
        <property name="location" value="classpath:secret.properties"/>
    </bean>

    
    <bean id="dsSQLServer_Sustainanalytics"
class="com.microsoft.sqlserver.jdbc.SQLServerDataSource">
        <property name="URL"
value="jdbc:sqlserver://172.19.112.175:1433;databaseName=SustainAnalytics"/>
        <property name="user" value="sa"/>
        <property name="password" value="password"/>
    </bean>

    <bean id="grid.cfg"
class="org.apache.ignite.configuration.IgniteConfiguration">
        <property name="igniteInstanceName" value="POC5"/>




       


        <property name="gridLogger">
            <bean class="org.apache.ignite.logger.log4j.Log4JLogger">
                <constructor-arg type="java.lang.String"
value="C:\Users\ww309\Downloads\POC5-project\src\main\resources\ignite-log4j.xml"/>
            </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..47510</value>
                            </list>
                        </property>
                    </bean>
                </property>
            </bean>
        </property>

        <property name="dataStorageConfiguration">
            <bean
class="org.apache.ignite.configuration.DataStorageConfiguration">
                <property name="defaultDataRegionConfiguration">
                    <bean
class="org.apache.ignite.configuration.DataRegionConfiguration">
                        <property name="maxSize" value="#{1L * 1024 * 1024 *
1024}"/>
                        <property name="persistenceEnabled" value="true"/>
                    </bean>
                </property>
            </bean>
        </property>

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

        <property name="cacheConfiguration">
            <list>
                <bean
class="org.apache.ignite.configuration.CacheConfiguration">
                    <property name="name" value="CompanyCache"/>
                    <property name="cacheMode" value="PARTITIONED"/>
                    <property name="atomicityMode" value="ATOMIC"/>
                    <property name="copyOnRead" value="true"/>

                    <property name="cacheStoreFactory">
                        <bean
class="org.apache.ignite.cache.store.jdbc.CacheJdbcPojoStoreFactory">
                            <property name="dataSourceBean"
value="dsSQLServer_Sustainanalytics"/>
                            <property name="dialect">
                                <bean
class="org.apache.ignite.cache.store.jdbc.dialect.SQLServerDialect">
                                </bean>
                            </property>
                            <property name="sqlEscapeAll" value="true"/>

                            <property name="types">
                                <list>
                                    <bean
class="org.apache.ignite.cache.store.jdbc.JdbcType">
                                        <property name="cacheName"
value="CompanyCache"/>
                                        <property name="keyType"
value="CompanyKey"/>
                                        <property name="valueType"
value="Company"/>
                                        <property name="databaseSchema"
value="SustainAnalytics"/>
                                        <property name="databaseTable"
value="Company"/>

                                        <property name="keyFields">
                                            <list>
                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="CompanyId"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="CompanyId"/>
                                                </bean>
                                            </list>
                                        </property>

                                        <property name="valueFields">
                                            <list>
                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="CompanyId"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="companyid"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.NVARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="CompanyName"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="companyname"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Country"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="country"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Region"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="region"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Peer Group"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="peerGroup"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Company Type"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="companyType"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="ExtractionDate"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="extractiondate"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Exchange:Ticker"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="fieldExchange:ticker"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Exchange"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="exchange"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Ticker"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="ticker"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Legal Entity Identifier"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="legalEntityIdentifier"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Bloomberg Ticker"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="bloombergTicker"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Bloomberg Global Composite ID"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="bloombergGlobalCompositeId"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Bloomberg Global ID"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="bloombergGlobalId"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Bloomberg Share Class BBGID"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="bloombergShareClassBbgid"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Bloomberg Unique ID"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="bloombergUniqueId"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="ISIN"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="isin"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="CUSIP"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="cusip"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Entity Type"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="entityType"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Research Entity ID"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="researchEntityId"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Research Entity Name"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="researchEntityName"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.VARCHAR"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Research type"/>
                                                    <constructor-arg
value="java.lang.String"/>
                                                    <constructor-arg
value="researchType"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.DATE"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Record_Valid_From"/>
                                                    <constructor-arg
value="java.sql.Date"/>
                                                    <constructor-arg
value="recordValidFrom"/>
                                                </bean>

                                                <bean
class="org.apache.ignite.cache.store.jdbc.JdbcTypeField">
                                                    <constructor-arg>
                                                        <util:constant
static-field="java.sql.Types.DATE"/>
                                                    </constructor-arg>
                                                    <constructor-arg
value="Record_Valid_To"/>
                                                    <constructor-arg
value="java.sql.Date"/>
                                                    <constructor-arg
value="recordValidTo"/>
                                                </bean>
                                            </list>
                                        </property>
                                    </bean>
                                </list>
                            </property>
                        </bean>
                    </property>

                    <property name="readThrough" value="true"/>
                    <property name="writeThrough" value="false"/>

                    <property name="queryEntities">
                        <list>
                            <bean
class="org.apache.ignite.cache.QueryEntity">
                                <property name="keyType"
value="CompanyKey"/>
                                <property name="valueType" value="Company"/>

                                <property name="fields">
                                    <map>
                                        <entry key="companyid"
value="java.lang.String"/>
                                        <entry key="companyname"
value="java.lang.String"/>
                                        <entry key="country"
value="java.lang.String"/>
                                        <entry key="region"
value="java.lang.String"/>
                                        <entry key="peerGroup"
value="java.lang.String"/>
                                        <entry key="companyType"
value="java.lang.String"/>
                                        <entry key="extractiondate"
value="java.lang.String"/>
                                        <entry key="fieldExchange:ticker"
value="java.lang.String"/>
                                        <entry key="exchange"
value="java.lang.String"/>
                                        <entry key="ticker"
value="java.lang.String"/>
                                        <entry key="legalEntityIdentifier"
value="java.lang.String"/>
                                        <entry key="bloombergTicker"
value="java.lang.String"/>
                                        <entry
key="bloombergGlobalCompositeId" value="java.lang.String"/>
                                        <entry key="bloombergGlobalId"
value="java.lang.String"/>
                                        <entry
key="bloombergShareClassBbgid" value="java.lang.String"/>
                                        <entry key="bloombergUniqueId"
value="java.lang.String"/>
                                        <entry key="isin"
value="java.lang.String"/>
                                        <entry key="cusip"
value="java.lang.String"/>
                                        <entry key="entityType"
value="java.lang.String"/>
                                        <entry key="researchEntityId"
value="java.lang.String"/>
                                        <entry key="researchEntityName"
value="java.lang.String"/>
                                        <entry key="researchType"
value="java.lang.String"/>
                                        <entry key="recordValidFrom"
value="java.sql.Date"/>
                                        <entry key="recordValidTo"
value="java.sql.Date"/>
                                    </map>
                                </property>

                                <property name="indexes">
                                    <list>
                                        <bean
class="org.apache.ignite.cache.QueryIndex">
                                            <property name="name"
value="Cl_Company"/>
                                            <property name="indexType"
value="SORTED"/>

                                            <property name="fields">
                                                <map>
                                                    <entry key="companyid"
value="false"/>
                                                    <entry
key="recordValidFrom" value="false"/>
                                                    <entry
key="recordValidTo" value="false"/>
                                                </map>
                                            </property>
                                        </bean>
                                    </list>
                                </property>
                            </bean>
                        </list>
                    </property>
                </bean>
            </list>
        </property>
    </bean>
</beans>






--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/

Reply via email to