This content has been marked as final.
Show 4 replies
-
1. Re: How to configure a SFSB in EJB3
klaus_erber Feb 1, 2006 3:34 AM (in response to klaus_erber)ok, does nobody have an idea?
I think I can do something like this in the stateful cache configuration.
There is a an attribute 'timeToIdleSeconds' (default is 300 seconds) in 'ejb3-clustered-sfsbcache-service.xml':... <!-- Specific eviction policy configurations. This is LRU --> <attribute name="EvictionPolicyConfig"> <config> <attribute name="wakeUpIntervalSeconds">1</attribute> <name>statefulClustered</name> <region name="/_default_"> <attribute name="maxNodes">1000000</attribute> <attribute name="timeToIdleSeconds">300</attribute> </region> </config> </attribute> ...
-
2. Re: How to configure a SFSB in EJB3
bill.burke Feb 1, 2006 10:15 AM (in response to klaus_erber)http://docs.jboss.org/ejb3/app-server/api/index.html
We don't have a nice XML way of doing this yet. -
3. Re: How to configure a SFSB in EJB3
klaus_erber Feb 6, 2006 4:41 AM (in response to klaus_erber)Thank you for the hint.
Do you mean the org.jboss.annotation.ejb.cache.tree.CacheConfig Annotation?
Greetings
Klaus -
4. Re: How to configure a SFSB in EJB3
klaus_erber Feb 8, 2006 11:53 AM (in response to klaus_erber)I have to use
org.jboss.annotation.ejb.cache.simple.CacheConfig
because my SFSB is not clustered. That works!
Thank you Bill
Klaus