cancel
Showing results for 
Search instead for 
Did you mean: 

Warn Messages related to transaction service

jonas
Champ in-the-making
Champ in-the-making
Hi,

When system updates/news content, warn messages related to transaction service appear as follows. How to fix it?

152544533 [http-80-Processor22] WARN  org.hibernate.cache.ReadWriteCache  - An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#1005
152544533 [http-80-Processor22] WARN  org.hibernate.cache.ReadWriteCache  - An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.parentAssocs#1006


Thanks

Jonas Yuan

CIGNEX
http://www.cignex.com
Alfresco SI Partner
7 REPLIES 7

derek
Star Contributor
Star Contributor
Hi,

There is no fix at this time.  The items are actually removed as a result of a flush and L2 cache clear issued by Hibernate in response to a query - later the same items are flagged with this warning.  At any rate, ensure that the log4j settings are in line with those in the default log4j.properties file that comes with Alfresco.

It is something we've looked into, but it requires a much deeper level of work to get around and the fact is they items had to be removed from the cache, so there is nothing incorrect about them not being there.

Regards

asteeley
Champ in-the-making
Champ in-the-making
I used to get this all the time, until I added these hibernate properties:

hibernate.cache.provider_class=org.hibernate.cache.TreeCacheProvider
cache.strategy=transactional


I'm running on JBoss, and I had to put treecache.xml in my classpath root, to get the treecache to work properly.

I think that the deal was that my cache wasn't participating in transactions, but I dunno.  In my case, I also noticed that transactions weren't totally rolling back in the case of exceptions.

robain
Champ in-the-making
Champ in-the-making
I get this error when import bootstrapping full repository export. and as a consequence i believe the version history is not replicated for most of the contents. I tried changing the time parameters in ecache config files but that didnt help. Can I get some help regarding this.

thanks
robain

12:07:14,216 WARN  [org.hibernate.cache.ReadWriteCache] An item was expired by the cache while it was locked (increase your cache timeout): org.alfresco.repo.domain.hibernate.NodeImpl.properties#181

robain
Champ in-the-making
Champ in-the-making
Was able to remove the warnings by changing parameters in the ecache-default.xml file. But still do not get the version history of the content. Any ideas. Otherwise how else can I replicate alfresco repository.

derek
Star Contributor
Star Contributor
Hi,

Are you attempting to run a cluster?
What version are you on (apologies if you mentioned this somewhere)?

robain
Champ in-the-making
Champ in-the-making
I am trying to do a full export of a repository and then import it using bootstrap. the version is 2.1.2E. I found out that the problem is with export and not import. The export of the versionstore seems to contain only half of the nodes, no matter if i do a full export using the web client or if I do it with the export utility. The other stores might be having the same issues but havent noticed yet. would really appreciate the help.

thanks
robain

derek
Star Contributor
Star Contributor
Hi,
If you contact support they can help you with known bugs, fixed versions and workarounds.
Regards