[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread [EMAIL PROTECTED]
1. Regarding soft references in the cache, again this isn't something that people have asked for; you're the first. Feel free to raise a JIRA for it. 2. There is no memory-based eviction policy yet (see JBCACHE-11). Have a look, vote for it, and if you have the time maybe even contribute an

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread [EMAIL PROTECTED]
No idea - try enabling your logs and see if all your invocations actually result in cache misses? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4152596#4152596 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4152596

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
Thanks Manik! Good idea to contribute that memory eviction... I should think about it. I have another question. Why once I've started use OptimisticLocking(with transaction manager), hits statistics are always 0. Puts and Miss counter grows, but hits are always 0. Can you explain? Thank you.

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread [EMAIL PROTECTED]
What version of JBC is this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4152610#4152610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4152610 ___ jboss-user mailing list

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
I've noticed in log: [EMAIL PROTECTED]:53:31 INFO (OptimisticNodeInterceptor.java:103) - CRUD Method _put(GlobalTransaction:172.16.194.121:2104:6, /test/web/TestEntity/test.web.TestEntity#5, item, {_subclass=test.web.TestEntity, _version=null, name=name-4, _lazyPropertiesUnfetched=true},

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357) at java.lang.Class.getConstructor0(Class.java:2671) at

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
1.3-pre-alpha But it's the one shipped with last hibernate. When I tried to use newest JBC, hibernate complained, that it can't find a class , something like ../cache/ when JBC has this class under ../transaction/cache... some change in package name and no integration anymore... View the

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread [EMAIL PROTECTED]
Use the latest 1.4.X release. I wouldn't recommend using alpha software, much less pre-alpha! :-) JBC 2.x will only be compatible with Hibernate 3.3.x which hasn't been released yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4152639#4152639 Reply to

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
Great! But after that installation I have an error: org.hibernate.cache.CacheException: java.lang.UnsupportedOperationException: putFailFast() is not supported with Optimistic Locking org.hibernate.cache.TreeCache.put(TreeCache.java:81)

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread [EMAIL PROTECTED]
Have you seen http://wiki.jboss.org/wiki/JBossCacheHibernate? From the wiki: wrote : | If you are using OPTIMISTIC locking, make sure you use the OptimisticTreeCacheProvider that ships with Hibernate 3.2.x and higher. | View the original post :

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
We sent messages in the same time! Thanks Manik! I appreciate your help so much!!! Peter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4152661#4152661 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4152661

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
One more thanks! Optimistic works. I use JBC 1.4 SP9. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4152662#4152662 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4152662 ___

[jboss-user] [JBoss Cache: Core Edition] - Re: Memory management: questions

2008-05-22 Thread beep_beep
I see, where you throw that exception, seems you have reasons for that. But why hibernate use that putFailFast I do not know... Seems Optimistic locking is gone for me... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4152660#4152660 Reply to the post :