Skip Headers

Oracle® Containers for J2EE Enterprise JavaBeans Developer's Guide 10g Release 3 (10.1.3) B14428-01 |
| Home | Solution Area | Contents | Index

Previous | Next |

# Configuring Passivation Location

You can specify the directory and file name to which OC4J serializes a stateful session bean when passivated (see "Using Deployment XML").

For more information, see:

- "Where is a Passivated Stateful Session Bean Stored?"

- "Configuring Passivation"

- "Configuring Passivation Criteria"

## Using Deployment XML

Table 12-4 lists the attributes, values, and defaults for configuring passivation location in the `orion-ejb-jar.xml` file element `session-deployment`.

Table 12-4 orion-ejb-jar.xml Element session-deployment Passivation Location Configuration

Attribute | Values | Default
--- | --- | ---
persistence-filename | Fully qualified path and file name of the file into which OC4J serializes bean instances during passivation. | `<``OC4J_HOME``>\j2ee\home\application-deployments\persistence`.