i am unable to get rid of this error. tried with different jars and changes
in hibernate way to cache the data. Suggest some ways.
after this line of code it throws error.
cache.loadCache(null,1);
[13:30:21,642][ERROR][ignite-#7%pub-null%][GridJobWorker] Failed to execute
job due to unexpected runtime exception
[jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl
[taskName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
dep=GridDeployment [ts=1458115221612, depMode=SHARED,
clsLdr=sun.misc.Launcher$AppClassLoader@35489ea3,
clsLdrId=41f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b, userVer=0,
loc=true,
sampleClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
pendingUndeploy=false, undeployed=false, usage=2],
taskClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
sesId=31f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
startTime=1458115221612, endTime=9223372036854775807,
taskNodeId=3f432c93-f420-4b1d-80b2-fd39610a481b,
clsLdr=sun.misc.Launcher$AppClassLoader@35489ea3, closed=false, cpSpi=null,
failSpi=null, loadSpi=null, usage=1, fullSup=false,
subjId=3f432c93-f420-4b1d-80b2-fd39610a481b, mapFut=IgniteFuture
[orig=GridFutureAdapter [resFlag=0, res=null, startTime=1458115221632,
endTime=0, ignoreInterrupts=false, lsnr=null, state=INIT]]],
jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b]]
java.lang.NoSuchMethodError:
org.hibernate.SessionFactory.openSession()Lorg/hibernate/Session;
at
org.apache.ignite.cache.store.hibernate.CacheHibernateStoreSessionListener.onSessionStart(CacheHibernateStoreSessionListener.java:178)
at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.sessionInit0(GridCacheStoreManagerAdapter.java:818)
at
org.apache.ignite.internal.processors.cache.store.GridCacheStoreManagerAdapter.loadCache(GridCacheStoreManagerAdapter.java:479)
at
org.apache.ignite.internal.processors.cache.distributed.dht.GridDhtCacheAdapter.localLoadCache(GridDhtCacheAdapter.java:515)
at
org.apache.ignite.internal.processors.cache.IgniteCacheProxy.localLoadCache(IgniteCacheProxy.java:387)
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:5716)
at
org.apache.ignite.internal.processors.cache.GridCacheAdapter$LoadCacheClosure.call(GridCacheAdapter.java:5663)
at
org.apache.ignite.internal.processors.closure.GridClosureProcessor$C2.execute(GridClosureProcessor.java:1789)
at
org.apache.ignite.internal.processors.job.GridJobWorker$2.call(GridJobWorker.java:509)
at
org.apache.ignite.internal.util.IgniteUtils.wrapThreadLoader(IgniteUtils.java:6397)
at
org.apache.ignite.internal.processors.job.GridJobWorker.execute0(GridJobWorker.java:503)
at
org.apache.ignite.internal.processors.job.GridJobWorker.body(GridJobWorker.java:456)
at
org.apache.ignite.internal.util.worker.GridWorker.run(GridWorker.java:110)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[13:30:21,648][ERROR][ignite-#7%pub-null%][GridTaskWorker] Failed to obtain
remote job result policy for result from ComputeTask.result(..) method (will
fail the whole task): GridJobResultImpl [job=C2 [], sib=GridJobSiblingImpl
[sesId=31f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
nodeId=3f432c93-f420-4b1d-80b2-fd39610a481b, isJobDone=false],
jobCtx=GridJobContextImpl
[jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b, timeoutObj=null,
attrs={}], node=TcpDiscoveryNode [id=3f432c93-f420-4b1d-80b2-fd39610a481b,
addrs=[0:0:0:0:0:0:0:1, 127.0.0.1, 172.17.122.126],
sockAddrs=[01HW611909.India.TCS.com/172.17.122.126:47500,
/0:0:0:0:0:0:0:1:47500, /127.0.0.1:47500, /172.17.122.126:47500],
discPort=47500, order=1, intOrder=1, lastExchangeTime=1458115211249,
loc=true, ver=1.5.0#20151202-sha1:062d440c, isClient=false], ex=class
o.a.i.compute.ComputeUserUndeclaredException: Failed to execute job due to
unexpected runtime exception
[jobId=61f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
ses=GridJobSessionImpl [ses=GridTaskSessionImpl
[taskName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
dep=GridDeployment [ts=1458115221612, depMode=SHARED,
clsLdr=sun.misc.Launcher$AppClassLoader@35489ea3,
clsLdrId=41f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b, userVer=0,
loc=true,
sampleClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
pendingUndeploy=false, undeployed=false, usage=2],
taskClsName=o.a.i.i.processors.cache.GridCacheAdapter$LoadCacheClosure,
sesId=31f607e7351-3f432c93-f420-4b1d-80b2-fd39610a481b,
startTime=1458115221612, endTime=9223372036854775807,
taskNodeId=3f432c93-f420-4b1d-80b2-fd39610a481b,