Red Hat Training

A Red Hat training course is available for Red Hat JBoss Operations Network

3.3.23. JBoss AS 7 and EAP 6 - EJB3 Service

Overview

Table 3.701. Overview

Description:The configuration of the ejb3 subsystem.
Singleton: yes
Plugin:JBossAS7

Child Resource Types

Connection Properties

Table 3.702. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Metrics

none

Configuration Properties

Table 3.703. 

NameDescriptionRequiredInternal Name
Default Clustered Sfsb CacheName of the default stateful bean cache, which will be applicable to all clustered stateful EJBs, unless overridden at the deployment or bean level no default-clustered-sfsb-cache
Default Entity Bean Instance PoolName of the default entity bean instance pool, which will be applicable to all entity beans, unless overridden at the deployment or bean level no default-entity-bean-instance-pool
Default Entity Bean Optimistic LockingIf set to true entity beans will use optimistic locking by default no default-entity-bean-optimistic-locking
Default Mdb Instance PoolName of the default MDB instance pool, which will be applicable to all MDBs, unless overridden at the deployment or bean level no default-mdb-instance-pool
Default Resource Adapter NameName of the default resource adapter name that will be used by MDBs, unless overridden at the deployment or bean level. The default value is hornetq-ra. no default-resource-adapter-name
Default Sfsb CacheName of the default stateful bean cache, which will be applicable to all stateful EJBs, unless overridden at the deployment or bean level no default-sfsb-cache
Default Singleton Bean Access TimeoutThe default access timeout for singleton beans. The default value is 5000. no default-singleton-bean-access-timeout:expr
Default Slsb Instance PoolName of the default stateless bean instance pool, which will be applicable to all stateless EJBs, unless overridden at the deployment or bean level no default-slsb-instance-pool
Default Stateful Bean Access TimeoutThe default access timeout for stateful beans. The default value is 5000. no default-stateful-bean-access-timeout:expr
In Vm Remote Interface Invocation Pass By ValueIf set to false, the parameters to invocations on remote interface of an EJB, will be passed by reference. Else, the parameters will be passed by value. The default value is true. no in-vm-remote-interface-invocation-pass-by-value
Enable StatisticsIf set to true, enable the collection of invocation statistics. no enable-statistics

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.

Operations

none

Package Types

none

3.3.23.1. JBoss AS 7 and EAP 6 - EJB3 Thread Pool Service

Overview

Table 3.704. Overview

Description:A thread pool executor with an unbounded queue. Such a thread pool has a core size and a queue with no upper bound. When a task is submitted, if the number of running threads is less than the core size, a new thread is created. Otherwise, the task is placed in queue. If too many tasks are allowed to be submitted to this type of executor, an out of memory condition may occur.
Singleton: no
Plugin:JBossAS7
Child Resource Types
none
Connection Properties

Table 3.705. 

NameDescriptionRequiredInternal Name
Path  yes path

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Metrics

Table 3.706. Metrics

NameTypeDescriptionInternal Name
Active CountmeasurementThe approximate number of threads that are actively executing tasks.active-count
Completed Task CountmeasurementThe approximate total number of tasks that have completed execution.completed-task-count
Current Thread CountmeasurementThe current number of threads in the pool.current-thread-count
Largest Thread CountmeasurementThe largest number of threads that have ever simultaneously been in the pool.largest-thread-count
Rejected CountmeasurementThe number of tasks that have been rejected.rejected-count
Task CountmeasurementThe approximate total number of tasks that have ever been scheduled for execution.task-count

Note

You must use the internal name to reference Traits in Dynamic Group Definition expressions.
Configuration Properties

Table 3.707. 

NameDescriptionRequiredInternal Name
Keepalive TimeUsed to specify the amount of time that pool threads should be kept running when idle; if not specified, threads will run until the executor is shut down. The unit must be given in all-capital letters, such as SECONDS; otherwise, on EAP 6.0.0 instances, the operation fails. no keepalive-time
Max ThreadsThe maximum thread pool size. no max-threads:expr
NameThe name of the thread pool. no name
Thread FactorySpecifies the name of a specific thread factory to use to create worker threads. If not defined an appropriate default thread factory will be used. no thread-factory

Note

You must use the internal name to reference Configuration Properties in Dynamic Group Definition expressions.
Operations
none
Package Types
none