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

- Previous: Subelements

### Attributes

The following table describes attributes for the `web-module` element.

Table 1–164 `web-module` Attributes

Attribute | Default | Description
--- | --- | ---
`name` | none | The name of the web module.
`context-root` | none | The context root at which the web module is deployed. The context root can be the empty string or just `/`. The context root can start with the `/` character, but doesn’t have to. For load balancing to work, web module context roots must be unique within a cluster. See the Sun Java System Application Server Enterprise Edition 8.1 2005Q2 Administration Guide for more information about load balancing.
`location` | none | A fully qualified or relative path to the directory to which the contents of the `.war` file have been extracted. If relative, it is relative to the following directory: domain-dir`/applications/j2ee-modules/`
`object-type` | `user` | (optional) Defines the type of the resource. Allowed values are: `system-all` - A system resource for all server instances and the domain application server. `system-admin` - A system resource only for the domain application server. `system-instance` - A system resource for all server instances only. `user` - A user resource.
`enabled` | `true` | (optional) Determines whether the web module is enabled.
`availability-enabled` | `false` | (optional) Specifies whether availability is enabled in this web application for HTTP session persistence (and potentially passivation). Availability must also be enabled for the application or stand-alone web module during deployment. For more information about availability, see availability-service.
`directory-deployed` | `false` | (optional) Specifies whether the application has been deployed to a directory.

- Previous: Subelements

- © 2010, Oracle Corporation and/or its affiliates