Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Reference

- Previous: manager-properties
- Next: message-security-config

## mdb-container

Configures the message-driven bean (MDB) container.

### Superelements

config

### Subelements

The following table describes subelements for the `mdb-container` element.

Table 1–100 `mdb-container` Subelements

Element | Required | Description
--- | --- | ---
property | zero or more | Specifies a property or a variable.

### Attributes

The following table describes attributes for the `mdb-container` element.

Table 1–101 `mdb-container` Attributes

Attribute | Default | Description
--- | --- | ---
`steady-pool-size` | `10` | (optional) Specifies the initial and minimum number of beans maintained in the pool.
`pool-resize-quantity` | `2` | (optional) Specifies the number of beans to be created if a request arrives when the pool is empty (subject to the `max-pool-size` limit), or the number of beans to remove if idle for more than `idle-timeout-in-seconds` .
`max-pool-size` | `60` | (optional) Specifies the maximum number of beans that can be created to satisfy client requests.
`idle-timeout-in-seconds` | `600` | (optional) Specifies the maximum time that a bean can remain idle in the pool. After this amount of time, the bean is destroyed. A value of `0` means a bean can remain idle indefinitely.

### Properties

The following table describes properties for the `mdb-container` element.

Table 1–102 `mdb-container` Properties

Property | Default | Description
--- | --- | ---
`cmt-max-runtime-exceptions` | `1` | Specifies the maximum number of `RuntimeException` occurrences allowed from a message-driven bean’s `onMessage()` method when container-managed transactions are used. Deprecated.

- Previous: manager-properties
- Next: message-security-config

- © 2010, Oracle Corporation and/or its affiliates