Skip navigation.
Downloads | Product Documentation | Support

WebLogic Server Configuration Reference

# WebAppComponent

# Description

Provides methods for configuring a J2EE web application that is deployed on a Weblogic Server instance. WebLogic Server instantiates this interface only when you deploy a web application.

This interface can configure web applications that are deployed as a WAR file or an exploded directory.

# Syntax

>     <WebAppComponent
>       AuthFilter="String"
>       AuthRealmName="String"
>       DeploymentOrder="number"
>       IndexDirectoryEnabled=( "true" | "false" )
>       Name="String"
>       Notes="String"
>       PreferWebInfClasses=( "true" | "false" )
>       ServletReloadCheckSecs="number"
>       SessionMonitoringEnabled=( "true" | "false" )
>       SingleThreadedServletPoolSize="number"
>       Targets="list of Target names"
>       URI="String"
>       VirtualHosts="list of VirtualHost names"
>     />

# Parent Elements

- Application

# Attributes

Table 72-1 WebAppComponent attributes

Attribute | Description | Range of Values and Default
--- | --- | ---
AuthFilter | Sets the AuthFilter Servlet class, which will be called before and after all authentication and authorization checks in the Web Application. | Required: no
AuthRealmName | Sets the Realm in the Basic Authentication HTTP dialog box, which pops up on the browsers. | Admin Console field label: Auth Realm Name Required: no Default: weblogic
DeploymentOrder | A priority that the server uses to determine when it deploys an item. The priority is relative to other deployable items of the same type. For example, the server prioritizes and deploys all EJBs before it prioritizes and deploys startup classes. Items with the lowest Deployment Order value are deployed first. There is no guarantee on the order of deployments with equal Deployment Order values. There is no guarantee of ordering across clusters. | Admin Console field label: Deployment Order Default: 1000 Minimum: 0 Maximum: 231-1
IndexDirectoryEnabled | Indicates whether or not to automatically generate an HTML directory listing if no suitable index file is found. | Admin Console field label: Index Directories Default: false
Name | The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration. | Admin Console field label: Name Required: no
Notes | Optional information that you can include to describe this configuration. | Admin Console field label: Notes Required: no
PreferWebInfClasses | If true, classes located in the WEB-INF directory of a web-app will be loaded in preference to classes loaded in the application or system classloader. Deprecated the setting from console starting from version 8.1. Need to set it in weblogic.xml instead. | Admin Console field label: Prefer Web Inf Classes Default: false
ServletReloadCheckSecs | How often WebLogic checks whether a servlet has been modified, and if so reloads it. -1 is never reload, 0 is always reload. | Admin Console field label: Reload Period Default: 1
SessionMonitoringEnabled | If true, then runtime MBeans will be created for sessions; otherwise, they will not. | Admin Console field label: Enable Session Monitoring Default: false
SingleThreadedServletPoolSize | Defines the size of the pool used for SingleThreadedModel instance pools. | Admin Console field label: Single Threaded Servlet Pool Size Default: 5
Targets | The targets in the current domain on which this item can be deployed. | Admin Console field label: Targets Required: no
URI | Return a URI pointing to the application component, usually on the Admin Server. | Admin Console field label: URI
VirtualHosts | Returns virtual hosts on which this deployment is targeted. | Admin Console field label: Virtual Hosts Required: no