[EJB/JBoss] - Re: SFSB timeout setting
by galder.zamarreno@jboss.com
"boobalan_kj" wrote : Hi
|
| you could control life time of bean by using the following configurations...
|
| <container-configuration>
| <container-name>Standard Stateful SessionBean</container-name>
| <container-cache-conf>
| <cache-policy>org.jboss.ejb.plugins.LRUStatefulContextCachePolicy</cache-policy>
| <cache-policy-conf>
| <min-capacity>50</min-capacity>
| <max-capacity>1000000</max-capacity>
| <remover-period>300</remover-period>
| <max-bean-life>300</max-bean-life>
| <overager-period>200</overager-period>
| <max-bean-age>600</max-bean-age>
| <resizer-period>400</resizer-period>
| <max-cache-miss-period>60</max-cache-miss-period>
| <min-cache-miss-period>1</min-cache-miss-period>
| <cache-load-factor>0.75</cache-load-factor>
| </cache-policy-conf>
| </container-cache-conf>
| </ <container-configuration>
|
| -------------------------------------------------
| max-bean-age:specifies the maximum period of
| -----------------
| inactivity in seconds a bean can have before it will be passivated by the overager process.
|
| max-bean-life: specifies the maximum period of
| ----------------
| inactivity in seconds that a bean can exist before being removed from the passivation store.
|
|
| Regards
| Bala
I'm afraid that is not true. Those parameters only control EJB2 beans, not EJB3.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154636#4154636
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154636
16 years, 6 months
Delivery Status Notification (Failure)
by postmaster@lists.jboss.org
This is an automatically generated Delivery Status Notification.
Unable to deliver message to the following recipients, because the message was forwarded more than the maximum allowed times. This could indicate a mail loop.
pn7sana(a)technodom.kz
16 years, 6 months
Returned email: **SPAM** Персонал перестал работать?
by Mail Delivery Subsystem
This is an informative message sent by localhost.
The server was not able to deliver your email message
Subject: **SPAM** Персонал перестал работать?
Date: 30 May 2008 14:04:15 +0200
to the following addresses:
<spedair(a)mail.uplink.net.ua> (localhost: Mailbox invalid or does not exist)
16 years, 6 months
[JBoss Cache: Core Edition] - Re: Acessing the TreeCache MBeans in JBossAS when the TreeC
by gjwilk01
Yes, sure. Here is some more :)
Could not start TreeCache!unable to setup the protocol stackorg.jgroups.ChannelException: unable to setup the protocol stack
at com.cidc.commonservices.cache.TreeCacheSingleton.init(TreeCacheSingleton.java:45)
at com.cidc.commonservices.cache.CacheControlListener.contextInitialized(CacheControlListener.java:24)
... 136 more
Caused by: org.jgroups.ChannelException: unable to setup the protocol stack
at org.jgroups.JChannel.init(JChannel.java:1273)
at org.jgroups.JChannel.(JChannel.java:265)
at org.jgroups.JChannel.(JChannel.java:248)
at org.jboss.cache.TreeCache._createService(TreeCache.java:1474)
at org.jboss.cache.TreeCache.startService(TreeCache.java:1529)
at com.cidc.commonservices.cache.TreeCacheSingleton.init(TreeCacheSingleton.java:41)
... 137 more
Caused by: java.lang.ClassCastException: org.jgroups.protocols.UDP
at org.jgroups.stack.Configurator$ProtocolConfiguration.createLayer(Configurator.java:593)
at org.jgroups.stack.Configurator$ProtocolConfiguration.access$000(Configurator.java:502)
at org.jgroups.stack.Configurator.createProtocols(Configurator.java:283)
at org.jgroups.stack.Configurator.setupProtocolStack(Configurator.java:56)
at org.jgroups.stack.ProtocolStack.setup(ProtocolStack.java:180)
at org.jgroups.JChannel.init(JChannel.java:1270)
Please, let me know if you'd like to take a look at my config file.
Thanks in advance,
~george
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154605#4154605
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154605
16 years, 6 months