This appendix describes enterprise application deployment descriptors for WebLogic Server 12.1.3: application.xml
(a Java EE standard deployment descriptor) and weblogic-application.xml
(a WebLogic-specific application deployment descriptor).
With Java EE annotations, the standard application.xml
deployment descriptor is optional. Annotations simplify the application development process by allowing developers to specify within the Java class itself how the application component behaves in the container, requests for dependency injection, and so on. Annotations are an alternative to deployment descriptors that were required by older versions of enterprise applications (Java EE 1.4 and earlier). See Chapter 8, "Using Java EE Annotations and Dependency Injection."
The weblogic-application.xml
file is also optional if you are not using any WebLogic Server extensions.
This appendix includes the following sections:
The following sections describe the many of the individual elements that are defined in the weblogic-application.xml Schema. The weblogic-application.xml
file is the WebLogic Server-specific deployment descriptor extension for the application.xml
Java EE deployment descriptor. This is where you configure features such as shared Java EE libraries referenced in the application and EJB caching.
The file is located in the META-INF
subdirectory of the application archive. The following sections describe elements that can appear in the file.
The weblogic-application
element is the root element of the application deployment descriptor.
The following table describes the elements you can define within a weblogic-application
element.
Table A-1 weblogic-application Elements
Element | Required? | Maximum Number In File | Description |
---|---|---|---|
<ejb> |
Optional |
1 |
Contains information that is specific to the EJB modules that are part of a WebLogic application. Currently, one can use the For more information on the elements you can define within the |
<xml> |
Optional |
1 |
Contains information about parsers and entity mappings for XML processing that is specific to this application. For more information on the elements you can define within the |
<jdbc-connection-pool> |
Optional |
Unbounded |
Zero or more. Specifies an application-scoped JDBC connection pool. For more information on the elements you can define within the |
<security> |
Optional |
1 |
Specifies security information for the application. For more information on the elements you can define within the |
<application-param> |
Optional |
Unbounded |
Zero or more. Used to specify un-typed parameters that affect the behavior of container instances related to the application. The parameters listed here are currently supported. Also, these parameters in
The following parameter is used to affect the behavior of Web applications that are contained in this application.
Example: <application-param> <param-name>webapp.encoding.default </param-name> <param-value>UTF8</param-value> </application-param> For more information on the elements you can define within the |
<classloader-structure> |
Optional |
Unbounded |
A classloader-structure element allows you to define the organization of classloaders for this application. The declaration represents a tree structure that represents the classloader hierarchy and associates specific modules with particular nodes. A module's classes are loaded by the classloader that its associated with this element. Example: <classloader-structure> <module-ref> <module-uri>ejb1.jar</module-uri> </module-ref> </classloader-structure> <classloader-structure> <module-ref> <module-uri>ejb2.jar</module-uri> </module-ref> </classloader-structure> For more information on the elements you can define within the |
<listener> |
Optional |
Unbounded |
Zero or more. Used to register user-defined application lifecycle listeners. These are classes that extend the abstract base class For more information on the elements you can define within the |
<singleton-service> |
Optional |
Unbounded |
Zero or more. Used to register user-defined singleton services. These are classes that implement the interface For more information on the elements you can define within the |
<startup> |
Optional |
Unbounded |
Zero or more. Used to register user-defined startup classes. For more information on the elements you can define within the Note: Application-scoped startup and shutdown classes have been deprecated as of release 9.0 of WebLogic Server. Instead, you should use lifecycle listener events in your applications. For details, see Chapter 13, "Programming Application Life Cycle Events" |
<shutdown> |
Optional |
Unbounded |
Zero or more. Used to register user defined shutdown classes. For more information on the elements you can define within the Note: Application-scoped startup and shutdown classes have been deprecated as of release 9.0 of WebLogic Server. Instead, you should use lifecycle listener events in your applications. For details, see Chapter 13, "Programming Application Life Cycle Events." |
<module> |
Optional |
Unbounded |
Represents a single WebLogic application module, such as a JMS or JDBC module. This element has the following child elements:
The following example shows how to specify a JMS module called <module> <name>Workflows</name> <type>JMS</type> <path>jms/Workflows-jms.xml</path> </module> |
<library-ref> |
Optional |
Unbounded |
A reference to a shared Java EE library. For more information on the elements you can define within the |
<fair-share-request> |
Optional |
Unbounded |
Specifies a fair share request class, which is a type of Work Manager request class. In particular, a fair share request class specifies the average percentage of thread-use time required to process requests. The
|
<response-time-request> |
Optional |
Unbounded |
Specifies a response time request class, which is a type of Work manager class. In particular, a response time request class specifies a response time goal in milliseconds. The
|
<context-request> |
Optional |
Unbounded |
Specifies a context request class, which is a type of Work manager class. In particular, a context request class assigns request classes to requests based on context information, such as the current user or the current user's group. The
The
|
<max-threads-constraint> |
Optional |
Unbounded |
Specifies a The max-threads constraint limits the number of concurrent threads executing requests from the constrained work set. The
|
<min-threads-constraint> |
Optional |
Unbounded |
Specifies a The min-threads constraint guarantees a number of threads the server will allocate to affected requests to avoid deadlocks. The
|
<capacity> |
Optional |
Unbounded |
Specifies a The capacity constraint causes the server to reject requests only when it has reached its capacity. The
|
<work-manager> |
Optional |
Unbounded |
Specifies the Work Manager that is associated with the application. For more information on the elements you can define within the See "Using Work Managers to Optimize Scheduled Work" for detailed information on Work Managers. |
<application-admin-mode-trigger> |
Optional |
Unbounded |
Specifies the number of stuck threads needed to bring the application into administration mode. You can specify the following child elements:
Once the stuck thread condition is cleared, the application automatically returns to running mode. |
<session-descriptor> |
Optional |
Unbounded |
Specifies a list of configuration parameters for servlet sessions. For more information on the elements you can define within the |
<library-context-root-override> |
Optional |
Unbounded |
Zero or more. Used to override the context-root of a Web module specified in the deployment descriptor of a library referenced by this application. For more information on the elements you can define within the |
<component-factory-class-name> |
Optional |
1 |
Used to enable the Spring extension by setting this element to |
<prefer-application-packages> |
Optional |
1 |
Used for filtering ClassLoader configuration. Specifies a list of packages for classes that must always be loaded from the application. |
<prefer-application-resources> |
Optional |
1 |
Used for filtering ClassLoader configuration. Specifies a list of resources that must always be loaded from the application, even if the resources are found in the system classloader. Note that the resource loading behavior is different from the resource loading behavior when In that case, application resources get a preference over system resources. The resources captured in this element are never looked up in the system classloader. |
<fast-swap> |
Optional |
1 |
Specifies whether FastSwap deployment is used to minimize redeployment since Java classes are redefined in-place without reloading the ClassLoader. For more information, see "Using FastSwap Deployment to Minimize Redeployment" in Deploying Applications to Oracle WebLogic Server. For information on the elements you can define within the |
The following table describes the elements you can define within an ejb
element.
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<entity-cache> |
Optional |
Unbounded |
Zero or more. The To use application-level caching, you must specify the cache using the Example: <entity-cache> <entity-cache-name>ExclusiveCache</entity-cache-name> <max-cache-size> <megabytes>50</megabytes> </max-cache-size> </entity-cache> For more information on the elements you can define within the |
<start-mbds-with- application |
Optional |
1 |
Allows you to configure the EJB container to start Message Driven BeanS (MDBS) with the application. If set to true, the container starts MDBS as part of the application. If set to false, the container keeps MDBS in a queue and the server starts them as soon as it has started listening on the ports. |
The following table describes the elements you can define within a entity-cache
element.
Table A-3 entity-cache Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<entity-cache-name> |
Required |
1 |
Specifies a unique name for an entity bean cache. The name must be unique within an ear file and may not be the empty string. Example: <entity-cache-name>ExclusiveCache</entity-cache-name> |
<max-beans-in-cache> |
Optional If you specify this element, you cannot also specify |
1 |
Specifies the maximum number of entity beans that are allowed in the cache. If the limit is reached, beans may be passivated. This mechanism does not take into account the actual amount of memory that different entity beans require. This element can be set to a value of 1 or greater. Default Value: |
<max-cache-size> |
Optional If you specify this element, you cannot also specify |
1 |
Used to specify a limit on the size of an entity cache in terms of memory size—expressed either in terms of bytes or megabytes. A bean provider should provide an estimate of the average size of a bean in the For more information on the elements you can define within the |
<max-queries-in-cache> |
Optional |
1 |
Specifies the maximum SQL queries that can be present in the entity cache at a given moment. |
<caching-strategy> |
Optional |
1 |
Specifies the general strategy that the EJB container uses to manage entity bean instances in a particular application level cache. A cache buffers entity bean instances in memory and associates them with their primary key value. The
Default Value: Example: <caching-strategy>Exclusive</caching-strategy> |
The following table describes the elements you can define within a max-cache-size
element.
Table A-4 max-cache-size Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<bytes> |
You must specify either |
1 |
The size of an entity cache in terms of memory size, expressed in bytes. |
<megabytes> |
You must specify either |
1 |
The size of an entity cache in terms of memory size, expressed in megabytes. |
The following table describes the elements you can define within an xml
element.
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<parser-factory> |
Optional |
1 |
The parent element used to specify a particular XML parser or transformer for an enterprise application. For more information on the elements you can define within the |
<entity-mapping> |
Optional |
Unbounded |
Zero or More. Specifies the entity mapping. This mapping determines the alternative entity URI for a given public or system ID. The default place to look for this entity URI is the For more information on the elements you can define within the |
The following table describes the elements you can define within a parser-factory
element.
Table A-6 parser-factory Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<saxparser-factory> |
Optional |
1 |
Allows you to set the SAXParser Factory for the XML parsing required in this application only. This element determines the factory to be used for SAX style parsing. If you do not specify the Default Value: Server XML Registry setting |
<document-builder-factory> |
Optional |
1 |
Allows you to set the Document Builder Factory for the XML parsing required in this application only. This element determines the factory to be used for DOM style parsing. If you do not specify the Default Value: Server XML Registry setting |
<transformer-factory> |
Optional |
1 |
Allows you to set the Transformer Engine for the style sheet processing required in this application only. If you do not specify a value for this element, the value configured in the Server XML Registry is used. Default value: Server XML Registry setting. |
The following table describes the elements you can define within an entity-mapping
element.
Table A-7 entity-mapping Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<entity-mapping-name> |
Required |
1 |
Specifies the name for this entity mapping. |
<public-id> |
Optional |
1 |
Specifies the public ID of the mapped entity. |
<system-id> |
Optional |
1 |
Specifies the system ID of the mapped entity. |
<entity-uri> |
Optional |
1 |
Specifies the entity URI for the mapped entity. |
<when-to-cache> |
Optional |
1 |
Legal values are:
The default value is |
<cache-timeout-interval> |
Optional |
1 |
Specifies the integer value in seconds. |
Note:
Thejdbc-connection-pool
element is deprecated. To define a data source in your enterprise application, you can package a JDBC module with the application. For more information, see "Configuring JDBC Application Modules for Deployment" in Administering JDBC Data Sources for Oracle WebLogic Server.The following table describes the elements you can define within a jdbc-connection-pool
element.
Table A-8 jdbc-connection-pool Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<data-source-jndi-name> |
Required |
1 |
Specifies the JNDI name in the application-specific JNDI tree. |
<connection-factory> |
Required |
1 |
Specifies the connection parameters that define overrides for default connection factory settings.
For more information on the elements you can define within the |
<pool-params> |
Optional |
1 |
Defines parameters that affect the behavior of the pool. For more information on the elements you can define within the |
<driver-params> |
Optional |
1 |
Sets behavior on WebLogic Server drivers. For more information on the elements you can define within the |
<acl-name> |
Optional |
1 |
DEPRECATED. |
The following table describes the elements you can define within a connection-factory
element.
Table A-9 connection-factory Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<factory-name> |
Optional |
1 |
Specifies the name of a |
<connection-properties> |
Optional |
1 |
Specifies the connection properties for the connection factory. Elements that can be defined for the
<connection-params> <parameter> <description>Desc of param </description> <param-name>foo</param-name> <param-value>xyz</param-value> </parameter> </connection-params> |
The following table describes the elements you can define within a pool-params
element.
Table A-10 pool-params Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<size-params> |
Optional |
1 |
Defines parameters that affect the number of connections in the pool.
|
<xa-params> |
Optional |
1 |
Defines the parameters for the XA DataSources.
|
<xa-params> Continued... |
Optional |
1 |
Note:
|
<xa-params> Continued... |
Optional |
1 |
|
<login-delay-seconds> |
Optional |
1 |
Sets the number of seconds to delay before creating each physical database connection. Some database servers cannot handle multiple requests for connections in rapid succession. This property allows you to build in a small delay to let the database server catch up. This delay occurs both during initial pool creation and during the lifetime of the pool whenever a physical database connection is created. |
<leak-profiling-enabled> |
Optional |
1 |
Enables JDBC connection leak profiling. A connection leak occurs when a connection from the pool is not closed explicitly by calling the This element uses extra resources and will likely slowdown connection pool operations, so it is not recommended for production use. |
<connection-check-params> |
Optional |
1 |
|
<connection-check-params> Continued... |
Optional |
1 |
|
<jdbcxa-debug-level> |
Optional |
1 |
This is an internal setting. |
<remove-infected-connections-enabled> |
Optional |
1 |
Controls whether a connection is removed from the pool when the application asks for the underlying vendor connection object. Enabling this attribute has an impact on performance; it essentially disables the pooling of connections (as connections are removed from the pool and replaced with new connections). |
The following table describes the elements you can define within a driver-params
element.
Table A-11 driver-params Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<statement> |
Optional |
1 |
Defines the Example:
|
<prepared-statement |
Optional |
1 |
Enables the running of JDBC prepared statement cache profiling. When enabled, prepared statement cache profiles are stored in external storage for further analysis. This is a resource-consuming feature, so it is recommended that you turn it off on a production server. The default value is false.
|
<row-prefetch-enabled> |
Optional |
1 |
Specifies whether to enable row prefetching between a client and WebLogic Server for each ResultSet. When an external client accesses a database using JDBC through Weblogic Server, row prefetching improves performance by fetching multiple rows from the server to the client in one server access. WebLogic Server ignores this setting and does not use row prefetching when the client and WebLogic Server are in the same JVM |
<row-prefetch-size> |
Optional |
1 |
Specifies the number of result set rows to prefetch for a client. The optimal value depends on the particulars of the query. In general, increasing this number increases performance, until a particular value is reached. At that point further increases do not result in any significant increase in performance. Note: Typically you will not see any increase in performance after 100 rows. The default value should be adequate for most situations. Valid values for this element are between 2 and 65536. The default value is 48. |
<stream-chunk-size> |
Optional |
1 |
Specifies the data chunk size for streaming data types, which are pulled from WebLogic Server to the client as needed. |
The following table describes the elements you can define within a security
element.
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<realm-name> |
Optional |
1 |
Names a security realm to be used by the application. If none is specified, the system default realm is used |
<security-role-assignment> |
Optional |
Unbounded |
Declares a mapping between an application-wide security role and one or more WebLogic Server principals. Example: <security-role-assignment> <role-name> PayrollAdmin </role-name> <principal-name> Tanya </principal-name> <principal-name> Fred </principal-name> <principal-name> system </principal-name> </security-role-assignment> |
The following table describes the elements you can define within a application-param
element.
Table A-13 application-param Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<description> |
Optional |
1 |
Provides a description of the application parameter. |
<param-name> |
Required |
1 |
Defines the name of the application parameter. |
<param-value> |
Required |
1 |
Defines the value of the application parameter. |
The following table describes the elements you can define within a classloader-structure
element.
Table A-14 classloader-structure Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<module-ref> |
Optional |
Unbounded |
The following list describes the elements you can define within a
|
<classloader-structure> |
Optional |
Unbounded |
Allows for arbitrary nesting of classloader structures for an application. However, for this version of WebLogic Server, the depth is restricted to three levels. |
The following table describes the elements you can define within a listener
element.
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<listener-class> |
Required |
1 |
Name of the user's implementation of |
<listener-uri> |
Optional |
1 |
A JAR file within the EAR that contains the implementation. If you do not specify the |
<run-as-principal-name> |
Optional |
1 |
Specific a user identity to startup and shutdown application lifecycle events. The identity specified here should be a valid user name in the system. If Note: If the |
The following table describes the elements you can define within a singleton-service
element.
Table A-16 singleton-service Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<class-name> |
Required |
1 |
Defines the name of the class to be run when the application is being deployed. |
<singleton-uri> |
Optional |
1 |
Defines a JAR file within the EAR that contains the |
The following table describes the elements you can define within a startup
element.
Note::
Application-scoped startup and shutdown classes have been deprecated as of release 9.0 of WebLogic Server. Instead, you should use lifecycle listener events in your applications. For details, see Chapter 13, "Programming Application Life Cycle Events."Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<startup-class> |
Required |
1 |
Defines the name of the class to be run when the application is being deployed. |
<startup-uri> |
Optional |
1 |
Defines a JAR file within the EAR that contains the |
The following table describes the elements you can define within a shutdown
element.
Note: :
Application-scoped startup and shutdown classes have been deprecated as of release 9.0 of WebLogic Server. Instead, you should use lifecycle listener events in your applications. For details, see Chapter 13, "Programming Application Life Cycle Events."Element | Required Optional | Maximum Number in File | Description |
---|---|---|---|
|
Required |
1 |
Defines the name of the class to be run when the application is undeployed. |
|
Optional |
1 |
Defines a JAR file within the EAR that contains the |
The following table describes the elements you can define within a work-manager element.
See "Using Work Managers to Optimize Scheduled Work" for examples and information on Work Managers.
Table A-19 work-manager Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<name> |
Required |
1 |
The name of the Work Manager. |
<response-time-request-class> |
Optional |
1 |
See the description of the If you specify this element, you cannot also specify |
<fair-share-request-class> |
Optional |
1 |
See the description of the If you specify this element, you cannot also specify |
<context-request-class> |
Optional |
1 |
See the description of the If you specify this element, you cannot also specify |
<request-class-name> |
Optional |
1 |
The name of the request class. If you specify this element, you cannot also specify |
<min-threads-constraint> |
Optional |
1 |
See the description of the If you specify this element, you cannot also specify |
<min-threads-constraint-name> |
Optional |
1 |
The name of the min-threads constraint. If you specify this element, you cannot also specify |
<max-threads-constraint> |
Optional |
1 |
See the description of the If you specify this element, you cannot also specify |
<max-threads-constraint-name> |
Optional |
1 |
The name of the max-threads constraint. If you specify this element, you cannot also specify |
<capacity> |
Optional |
1 |
See the description of the If you specify this element, you cannot also specify |
<capacity-name> |
Optional |
1 |
The name of the thread capacity constraint. If you specify this element, you cannot also specify |
<work-manager-shutdown-trigger> |
Optional |
1 |
Used to specify a Stuck Thread Work Manager component that can shut down the Work Manager in response to stuck threads. You can specify the following child elements:
If you specify this element, you cannot also specify |
<ignore-stuck-threads> |
Optional |
1 |
Specifies whether the Work Manager should ignore stuck threads and never shut down even if threads become stuck. If you specify this element, you cannot also specify |
The following table describes the elements you can define within a session-descriptor element.
Table A-20 session-descriptor Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<timeout-secs> |
Optional |
1 |
Specifies the number of seconds after which the session times out. Default value is 3600 seconds. |
<invalidation-interval-secs> |
Optional |
1 |
Specifies the number of seconds of the invalidation trigger interval. Default value is 60 seconds. |
<debug-enabled> |
Optional |
1 |
Specifies whether debugging is enabled for HTTP sessions. Default value is |
<id-length> |
Optional |
1 |
Specifies the length of the session ID. Default value is 52. |
<tracking-enabled> |
Optional |
1 |
Specifies whether session tracking is enabled between HTTP requests. Default value is |
<cache-size> |
Optional |
1 |
Specifies the cache size for JDBC and file persistent sessions. Default value is 1028. |
<max-in-memory-sessions> |
Optional |
1 |
Specifies the maximum sessions limit for memory/replicated sessions. Default value is -1, or unlimited. |
<cookies-enabled> |
Optional |
1 |
Specifies the Web application container should set cookies in the response. Default value is |
<cookie-name> |
Optional |
1 |
Specifies the name of the cookie that tracks sessions. Default name is |
<cookie-path> |
Optional |
1 |
Specifies the session tracking cookie path. Default value is |
<cookie-domain> |
Optional |
1 |
Specifies the session tracking cookie domain. Default value is |
<cookie-comment> |
Optional |
1 |
Specifies the session tracking cookie comment. Default value is |
<cookie-secure> |
Optional |
1 |
Specifies whether the session tracking cookie is marked secure. Default value is |
<cookie-max-age-secs> |
Optional |
1 |
Specifies that maximum age of the session tracking cookie. Default value is |
<persistent-store-type> |
Optional |
1 |
Specifies the type of storage for session persistence. You can specify the following values:
|
<persistent-store-cookie-name> |
Optional |
1 |
Specifies the name of the cookie that holds the attribute name and values when using Default value is |
<persistent-store-dir> |
Optional |
1 |
Specifies the name of the directory when using Default value is |
<persistent-store-pool> |
Optional |
1 |
Specifies the name of the JDBC connection pool when using |
<persistent-store-table> |
Optional |
1 |
Specifies the name of the database table when using Default value is |
<jdbc-column-name-max-inactive-interval> |
Optional |
1 |
Alternative name for the |
<jdbc-connection-timeout-secs> |
Optional |
1 |
DEPRECATED |
<url-rewriting-enabled> |
Optional |
1 |
Specifies whether URL rewriting is enabled. Default value is |
<http-proxy-caching-of-cookies> |
Optional |
1 |
Specifies whether WebLogic Server adds the following HTTP header to the response:
This header specifies that proxy caches should not cache the cookies. Default value is |
<encode-session-id-in-query-params> |
Optional |
1 |
Specifies whether WebLogic Server should encode the session ID in the path parameters. Default value is |
<monitoring-attribute-name> |
Optional |
1 |
Used to tag runtime information for different sessions. For example, set this element to |
<sharing-enabled> |
Optional |
1 |
Specifies whether HTTP sessions are shared across multiple Web applications. Default value is |
The following table describes the elements you can define within a library-ref
element.
See Chapter 12, "Creating Shared Java EE Libraries and Optional Packages," for additional information and examples.
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<library-name> |
Required |
1 |
Specifies the name of the referenced shared Java EE library. |
<specification-version> |
Optional |
1 |
Specifies the minimum specification-version required. |
<implementation-version> |
Optional |
1 |
Specifies the minimum implementation-version required. |
<exact-match> |
Optional |
1 |
Specifies whether there must be an exact match between the specification and implementation version that is specified and that of the referenced library. Default value is |
<context-root> |
Optional |
1 |
Specifies the context-root of the referenced Web application's shared Java EE library. |
The following table describes the elements you can define within a library-context-root-override
element to override context-root
elements within a referenced EAR library. See library-ref.
See Chapter 12, "Creating Shared Java EE Libraries and Optional Packages," for additional information and examples.
Table A-22 library-context-root-override Elements
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<context-root> |
Optional |
1 |
Overrides the Only a referencing application (for example, a user application) can override the |
<override-value> |
Optional |
1 |
Specifies the value of the |
The following table describes the elements you can define within a fast-swap
element.
For more information about FastSwap Deployment, see "Using FastSwap Deployment to Minimize Redeployment" in Deploying Applications to Oracle WebLogic Server.
Element | Required? | Maximum Number in File | Description |
---|---|---|---|
<enabled> |
Optional |
1 |
Set to |
<refresh-interval> |
Optional |
1 |
FastSwap checks for changes in application classes when an incoming HTTP request is received. Subsequent HTTP requests arriving within the |
<redefinition-task-limit> |
Optional |
1 |
FastSwap class redefinitions are performed asynchronously by redefinition tasks. They can be controlled and inspected using JMX interfaces. Specifies the number of redefinition tasks that will be retained by the FastSwap system. If the number of tasks exceeds this limit, older tasks are automatically removed. |
See http://xmlns.oracle.com/weblogic/weblogic-application/1.6/weblogic-application.xsd
for the XML Schema of the weblogic-application.xml
deployment descriptor file.
For more information about application.xml
deployment descriptor elements, see the Java EE 6 schema available at http://www.oracle.com/webfolder/technetwork/jsc/xml/ns/javaee/application_6.xsd
.