ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ksampath <ksamp...@anutanetworks.com>
Subject Hibernate Entity Cache Gets Stuck during GridCacheProxyImpl.put
Date Tue, 17 Oct 2017 09:31:17 GMT
Hi,

*Environmental Details :*
ignite 2.2.0, Hibernate 4.3.0, JDK version 1.8_131

We configured Cache to use Local. Configured it as Second Level cache for
Hibernate. Cache Strategy used as Read- Write. However, Application gets
stuck while loading entity cache by Hibernate Can you please check this
issue? 

Let me know if any other details required?

*Stuck Thread Trace :*

        at java.lang.Thread.State: WAITING
        at sun.misc.Unsafe.park(Native Method)
        at java.util.concurrent.locks.LockSupport.park(LockSupport.java:304)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.get0(GridFutureAdapter.java:176)
        at
org.apache.ignite.internal.util.future.GridFutureAdapter.get(GridFutureAdapter.java:139)
        at
org.apache.ignite.internal.processors.cache.GridCacheAdapter$21.op(GridCacheAdapter.java:2355)
        at
org.apache.ignite.internal.processors.cache.GridCacheAdapter$21.op(GridCacheAdapter.java:2353)
        at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.syncOp(GridCacheAdapter.java:4107)
        at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.put0(GridCacheAdapter.java:2353)
        at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2334)
        at
org.apache.ignite.internal.processors.cache.GridCacheAdapter.put(GridCacheAdapter.java:2311)
        at
org.apache.ignite.internal.processors.cache.GridCacheProxyImpl.put(GridCacheProxyImpl.java:561)
        at
org.apache.ignite.cache.hibernate.HibernateCacheProxy.put(HibernateCacheProxy.java:195)
        at
org.apache.ignite.cache.hibernate.HibernateReadWriteAccessStrategy.putFromLoad(HibernateReadWriteAccessStrategy.java:102)
        at
org.apache.ignite.cache.hibernate.HibernateAccessStrategyAdapter.putFromLoad(HibernateAccessStrategyAdapter.java:140)
        at
org.apache.ignite.cache.hibernate.HibernateAbstractRegionAccessStrategy.putFromLoad(HibernateAbstractRegionAccessStrategy.java:54)
        at
org.hibernate.engine.internal.TwoPhaseLoad.doInitializeEntity(TwoPhaseLoad.java:221)
        at
org.hibernate.engine.internal.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:144)
        at
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:1115)
        at org.hibernate.loader.Loader.processResultSet(Loader.java:973)
        at org.hibernate.loader.Loader.doQuery(Loader.java:921)
        at
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:355)
        at org.hibernate.loader.Loader.doList(Loader.java:2554)
        at org.hibernate.loader.Loader.doList(Loader.java:2540)
        at
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2370)
        at org.hibernate.loader.Loader.list(Loader.java:2365)
        at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:497)
        at
org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:387)
        at
org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:236)
        at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1300)
        at org.hibernate.internal.QueryImpl.list(QueryImpl.java:103)
        at org.hibernate.jpa.internal.QueryImpl.list(QueryImpl.java:573)
        at
org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:449)

Regards,
ksampath




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

Mime
View raw message