ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yakov Zhdanov <yzhda...@apache.org>
Subject Re: Ignite as L2 cache in JBoss6
Date Fri, 19 Jun 2015 08:07:05 GMT
Alex, I have filed the ticket -
https://issues.apache.org/jira/browse/IGNITE-1035


Anyone from community picks it up?

--Yakov

2015-06-19 10:18 GMT+03:00 aosmakoff <alex.osmakoff@macquarie.com>:

> Hi there.
> We are trying to use Ignite/GridGain as L2 cache for our hibernate
> application(s) running in JBoss 6.x that configured with JTA transaction
> manager. The program fails to update the cache with a Timeout error.
> We narrowed it down to the code in GridCacheJtaManager::checkJta() line
> containing:
>
> if (!jtaTx.enlistResource(rsrc))
>
> where the Tx updates the resource parameters including the timeout. The
> problems seems to be that JTA treats the timeout value in seconds than
> Ignite/GridGain uses mSec, effectively reducing the specified (in the
> container) value by 1000 times. (In Ignite the class is CacheJtaManager)
>
> Please see the error below (we used the default JTA timeout = 300sec)
>
> /class org.gridgain.grid.cache.GridCacheTxTimeoutException: Cache
> transaction timed out: GridLocalTx [fut=null, super=GridCacheTxLocalAdapter
> [completedBase=null, partLock=false, sndTransformedVals=false,
> super=GridCacheTxAdapter [xidVer=GridCacheVersion [topVer=46169865,
> nodeOrderDrId=1, globalTime=1434692163247, order=1434689857213],
> writeVer=null, implicit=false, implicitSingle=false, loc=true,
> threadId=362,
> startTime=1434692163238, nodeId=38301945-ced9-4707-abfe-1ad1de827423,
> startVer=GridCacheVersion [topVer=46169865, nodeOrderDrId=1,
> globalTime=1434692163247, order=1434689857213], endVer=null,
> isolation=READ_COMMITTED, concurrency=PESSIMISTIC,* timeout=300*,
> sysInvalidate=false, commitVer=null, finalizing=NONE, preparing=false,
> state=MARKED_ROLLBACK, timedOut=true, topVer=-1, duration=564ms,
> grpLock=false, onePhaseCommit=false], size=3]]
> /
>
> Is this a know issue and is there any workaround.
>
> Many thanks,
>
> Regards,
>
> Alex
>
>
>
> --
> View this message in context:
> http://apache-ignite-users.70518.x6.nabble.com/Ignite-as-L2-cache-in-JBoss6-tp538.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message