web server - Borland Technical Publications
web server - Borland Technical Publications web server - Borland Technical Publications
EJB Container-level Properties Table 31.1 ejb.no_sleep=true|false EJB container properties (continued) Property Description Default ejb.trace_container=true|false ejb.xml_validation=true|false ejb.xml_verification=true|false ejb.classload_policy=per_module| container|none ejb.module_preload=true|false ejb.system_classpath_first=true|false ejb.sfsb.keep_alive_timeout= Typically set from a main program that embeds a Container. Setting this property prevents the EJB container from blocking the current thread, thereby returning the control back to user code. Turns on useful debugging information that tells the user what the Container is doing. Installs debugging message interceptors. If set, the XML descriptors are validated against its DTD at deployment time. If set, J2EE archive is verified at deployment time. Defines class loading behavior of standalone EJB container. Not applicable to the Partition. If set to per_module, the container uses a new instance of custom class loader with each J2EE archive deployed. If set to none, the container uses the system class loader. Hot-deployment and deployment of EARs does not work in this mode. If set to container, container uses single custom class loader. This enables deployment of EARs, but disables hot-deployment feature. Loads the entire J2EE archive into memory at deployment time, so the archive can be overwritten or rebuilt. This option is required by JBuilder running a standalone ejb container. If set to true, the custom classloader will look at the system classpath first. Defines the default value of the element used in the ejbborland.xml descriptor. This property affects an EJB whose 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. false false true false per_modul e false false 86400 (=24 hours) Chapter 31: EJB, JSS, and JTS Properties 333
EJB Container-level Properties Table 31.1 EJB container properties (continued) Property Description Default ejb.cacheTimeout= ejb.sfsb.aggressive_passivation=true| false ejb.sfsb.factory_name= ejb.logging.verbose=true|false ejb.logging.doFullExceptionLogging=true| false ejb.jss.pstore_location= ejb.jdb.pstore_location= 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. 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. 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). If set to true, the EJB container logs messages about unexpected situations which potentially could require user's attention. The messages are marked with >>>> EJB LOG
- Page 295 and 296: General syntax and usage General sy
- Page 297 and 298: Syntax and usage for iastool Table
- Page 299 and 300: Syntax and usage for java2iiop Exam
- Page 301 and 302: Syntax and usage for appclient Tabl
- Page 303 and 304: Building and running the BES exampl
- Page 305 and 306: Using the iastool command-line tool
- Page 307 and 308: Using the iastool command-line tool
- Page 309 and 310: Using the iastool command-line tool
- Page 311 and 312: Using the iastool command-line tool
- Page 313 and 314: Using the iastool command-line tool
- Page 315 and 316: Using the iastool command-line tool
- Page 317 and 318: Using the iastool command-line tool
- Page 319 and 320: Using the iastool command-line tool
- Page 321 and 322: Using the iastool command-line tool
- Page 323 and 324: Using the iastool command-line tool
- Page 325 and 326: Using the iastool command-line tool
- Page 327 and 328: Using the iastool command-line tool
- Page 329 and 330: Using the iastool command-line tool
- Page 331 and 332: Using the iastool command-line tool
- Page 333 and 334: Executing iastool command-line tool
- Page 335 and 336: 324 BES Developer’s Guide
- Page 337 and 338: element ■ ■ ■ element The
- Page 339 and 340: element The Partition statistics ag
- Page 341 and 342: element element The services eleme
- Page 343 and 344: element element The archive elemen
- Page 345: EJB Container-level Properties Tabl
- Page 349 and 350: EJB Customization Properties: Deplo
- Page 351 and 352: Complete Index of EJB Properties Co
- Page 353 and 354: Complete Index of EJB Properties Ta
- Page 355 and 356: Complete Index of EJB Properties Ta
- Page 357 and 358: Complete Index of EJB Properties Ta
- Page 359 and 360: Java Session Service (JSS) Properti
- Page 361 and 362: Java Session Service (JSS) Properti
- Page 363 and 364: Partition Transaction Service (Tran
- Page 365 and 366: Borland-specific web DTD 33, 36 bra
- Page 367 and 368: ejb.mdb.maxMessagesPerServerSession
- Page 369 and 370: J J2EE VisiClient 97 VisiClient env
- Page 371 and 372: optimistic concurrency 130 SelectFo
- Page 373 and 374: Sonic clustered service 228 SonicMQ
- Page 375: X XML DTD 99 VisiClient 98 grammar
EJB Container-level Properties<br />
Table 31.1<br />
EJB container properties (continued)<br />
Property Description Default<br />
ejb.cacheTimeout=<br />
ejb.sfsb.aggressive_passivation=true|<br />
false<br />
ejb.sfsb.factory_name=<br />
ejb.logging.verbose=true|false<br />
ejb.logging.doFullExceptionLogging=true|<br />
false<br />
ejb.jss.pstore_location=<br />
ejb.jdb.pstore_location=<br />
This property hints the container to<br />
invalidate the data fields of entity beans<br />
after a specified time-out period. Use<br />
the property by specifying the interval<br />
for which the container will not load a<br />
bean's state from the database, but<br />
uses the cached state instead. At the<br />
end of the expire period specified, the<br />
container marks the bean as dirty (but<br />
keeps its association with the primary<br />
key), forcing the instance to load its<br />
state from the database (not the cache)<br />
before it can be used in any new<br />
transactions. The property is expected<br />
to be used by entity beans that are not<br />
frequently modified.<br />
The property is a positive integer<br />
representing cache intervals in<br />
seconds.<br />
This is only valid for commit mode A. It<br />
is ignored if specified for any other<br />
commit mode.<br />
If set to true, stateful session bean is<br />
passivated no matter when it was used<br />
last time. This enables fail-over support,<br />
so if an EJB container fails, the session<br />
can be restored from the last saved<br />
state by one of EJB containers in the<br />
cluster. If set to false, only the beans<br />
which were not used since the last<br />
passivation attempt, are passivated to<br />
JSS. This makes the fail-over support<br />
less deterministic, but speeds things up.<br />
Use this setting, to trade performance<br />
for high-availability.<br />
If set, makes the stateful session beans<br />
use a different JSS from the one that is<br />
running within the same EJB container<br />
or Partition. Specify the factory name of<br />
JSS to use. This is the name under<br />
which JSS is registered with Smart<br />
Agent (osagent).<br />
If set to true, the EJB container logs<br />
messages about unexpected situations<br />
which potentially could require user's<br />
attention. The messages are marked<br />
with >>>> EJB LOG