user manual

388 BES Developers Guide
EJB Container-level Properties
ejb.system_classpath_first=tru
e|false
If set to true, the custom classloader will
look at the system classpath first.
false
ejb.sfsb.keep_alive_timeout=<n
um>
Defines the default value of the <timeout>
element used in the ejb-borland.xml
descriptor. This property affects an EJB
whose <timeout> element is skipped or set
to 0. The purpose of this property is to
define a time interval in seconds how long
to keep an inactive stateful session bean
alive in the persistent storage (JSS) after
it was passivated. After the time interval
ends, JSS deletes the session's state
from the persistent storage, so it becomes
impossible to activate it later.
86400
(=24
hours)
ejb.cacheTimeout=<integer> This property hints the container to
invalidate the data fields of entity beans
after a specified time-out period. Use the
property by specifying the interval for
which the container will not load a bean's
state from the database, but uses the
cached state instead. At the end of the
expire period specified, the container
marks the bean as dirty (but keeps its
association with the primary key), forcing
the instance to load its state from the
database (not the cache) before it can be
used in any new transactions. The
property is expected to be used by entity
beans that are not frequently modified.
The property is a positive integer
representing cache intervals in seconds.
This is only valid for commit mode A. It is
ignored if specified for any other commit
mode.>
0 (no
timeout
).
ejb.sfsb.aggressive_passivatio
n=true|false
If set to true, stateful session bean is
passivated no matter when it was used
last time. This enables fail-over support,
so if an EJB container fails, the session
can be restored from the last saved state
by one of EJB containers in the cluster. If
set to false, only the beans which were
not used since the last passivation
attempt, are passivated to JSS. This
makes the fail-over support less
deterministic, but speeds things up. Use
this setting, to trade performance for high-
availability.
true
ejb.sfsb.factory_name=<string> If set, makes the stateful session beans
use a different JSS from the one that is
running within the same EJB container or
Partition. Specify the factory name of JSS
to use. This is the name under which JSS
is registered with Smart Agent (osagent).
none
Property Description Default