6 Configuring JMS Application Modules for Deployment

This chapter explains how to configure JMS application modules for deployment in WebLogic Server 12.1.3, including JMS application modules packaged with a Java EE enterprise application and globally-available, standalone application modules.

This chapter includes the following sections:

Methods for Configuring JMS Application Modules

Note:

JMS resources that are configured within the scope of an application cannot be modified after the application is deployed. In addition, there is no direct option to delete destinations that are created in the application module. Undeploying the application does not delete the destination. For these reasons, it is recommended that you configure connection factories and destinations using a JMS system module instead. For more information, see JMS System Module Configuration.

All JMS resources that can be configured in a JMS system module can also be configured and managed as deployable application modules, similar to standard Java EE modules. Deployed JMS application modules are owned by the developer who created and packaged the module, rather than the administrator who deploys the module; therefore, the administrator has more limited control over deployed resources.

For example, administrators can modify (override) only certain properties of the resources specified in the module using the deployment plan (JSR-88) at the time of deployment, but they cannot dynamically add or delete resources. As with other Java EE modules, configuration changes for an application module are stored in a deployment plan for the module, leaving the original module untouched.

Application developers can use these tools to create and deploy (target) system resources:

  • Create a JMS system module, as described in JMS System Module Configuration and then copy the resulting XML file to another directory and rename it, using -jms.xml as the file suffix.

  • Create application modules in an enterprise-level IDE or another development tool that supports editing of XML files, then package the JMS modules with an application and pass the application to a WebLogic Administrator to deploy.

  • Use Java EE connection factory and destination dDefinitions which implicitly create an application module based on the source code annotations. See Defining JMS Resources Using Java EE Resource Definitions.

JMS Schema

In support of the modular deployment model for JMS resources in WebLogic Server 9.x or higher, Oracle provides a schema for defining WebLogic JMS resources: weblogic-jms.xsd. When you create JMS modules (descriptors), the modules must conform to this schema. IDEs and other tools can validate JMS modules based on the schema.

The weblogic-jms.xsd schema is available online at http://xmlns.oracle.com/weblogic/weblogic-jms/1.4/weblogic-jms.xsd opens a new window.

For an explanation of the JMS resource definitions in the schema, see the corresponding system module beans in the System Module MBeans folder of the MBean Reference for Oracle WebLogic Server. The root bean in the JMS module that represents an entire JMS module is named JMSBean.

Defining JMS Resources Using Java EE Resource Definitions

WebLogic Server lets you to define JMS resources by using the @JMSConnectionFactoryDefinition and @JMSDestinationDefinition annotations or by using the <jms-destination> and <jms-connection-factory> elements as defined in the Java EE 7 Platform Specification. These JMS resource definitions allow an application to be deployed into a Java EE environment with minimal administrative configuration. This section contains the following topics:

Note:

JMS resources that are configured within the scope of an application cannot be modified after the application is deployed. In addition, there is no direct option to delete destinations that are created in the application module. Undeploying the application does not delete the destination. For these reasons, it is recommended that you configure connection factories and destinations using a JMS system module instead. For more information, see JMS System Module Configuration.

Resource Definitions Using Annotations

You can define the annotations @JMSConnectionFactoryDefinition and @JMSDestinationDefinitions inside the web module, EJB module, or an application client module. You can also define resources using the annotations inside these classes:

  • Classes defined in the libraries defined by the <library-directory> element of the application.xml deployment descriptor

  • Classes in a .jar file referenced by the Class-path entry of a EJB jar file or a .war file

After it is defined, a resource can be referenced by a component using the lookup element of the @Resource annotation or using the look-up element of the resource-ref deployment descriptor element..

Example 6-1 Example: JMS Connection Factory Definition

@JMSConnectionFactoryDefinition(   name="java:app/MyJMSConnectionFactory",   interfaceName="javax.jms.QueueConnectionFactory").

Example 6-2 Example: JMS Destination Definition

@JMSDestinationDefinition(   name="java:app/MyJMSQueue",   interfaceName="javax.jms.Queue",   destinationName="myQueue1")

For more information about the elements and properties that you can use with the resource definitions, see JMS Resource Definition Elements Reference

Resource Definitions in the Deployment Descriptor

Instead of using annotations, you can define resources using the <jms-destination> and <jms-connection-factory> elements in the deployment descriptor.

JMS Connection Factory Definition

You can define a JMS destination resource using the jms-connection-factory element in the ejb-jar.xml or web.xml deployment descriptors. It creates the connection factory and binds it to the appropriate naming context based on the namespace specified.

The following example defines a connection factory that is bound to JNDI at the location java:app/MyJMSConnectionFactory:

<jms-connection-factory>   <description>Sample JMS ConnectionFactory definition</description>   <name>java:app/MyJMSConnectionFactory</name>   <interface-name>javax.jms.QueueConnectionFactory</interface-name>   <user>scott</user>   <password>tiger</password>   <client-id>MyClientId</client-id>   <property>     <name>Property1</name>     <value>10</value>  </property>   <property>     <name>Property2</name>     <value>20</value>   </property>   <transactional>false</transactional>   <max-pool-size>30</max-pool-size>   <min-pool-size>20</min-pool-size> </jms-connection-factory>

For more information about the jms-connection-factory element and its attributes, see the schema at http://xmlns.jcp.org/xml/ns/javaee/javaee_7.xsd

JMS Destination Definition

You can define a JMS destination resource using the jms-destination element in the ejb-jar.xml or web.xml deployment descriptors. It creates the destination and binds it to the appropriate naming context based on the namespace specified.

The following example defines a queue destination myQueue1 that is bound to JNDI at the location java:app/MyJMSDestination:

<jms-destination>   <description>JMS Destination definition</description>   <name>java:app/MyJMSDestination</name>   <interface-name>javax.jms.Queue</interface-name>   <destination-name>myQueue1</destination-name>   <property>     <name>Property1</name>     <value>10</value>   </property>   <property>     <name>Property2</name>     <value>20</value>   </property> </jms-destination>

For more information about the jms-destination element and its attributes, see the schema at http://xmlns.jcp.org/xml/ns/javaee/javaee_7.xsd

Considerations and Best Practices for Using JMS Resource Definitions

The following are the considerations for resources that are defined using the new annotations:

  • Define a JMS resource in any of the following allowed JNDI namespaces:

    • java:comp

    • java:module

    • java:app

    • java:global

  • When the JNDI name starts with java: but does not start with any of the prior namespace prefixes, that results in an exception during deployment.

  • When the JNDI name does not start with java:, the destination or the connection factory is defined in the java:comp/env namespace. For example, a JNDI name of the format jms/myDestination is considered to be the same as java:comp/env/jms/myDestination.

  • WebLogic Server allows an application to define a destination in java:app and java:global namespaces in the application.xml deployment descriptor or by using an annotation on a class in the application package other than a class within a web module, an EJB module, or an application client module.

  • The destination defined using @JMSDestinationDefinition is internally created as uniform distributed destinations (queues or topics). By default, the value of the Forwarding Policy option for a uniform distributed topic that is created using @JMSDestinationDefinition with interfaceName of type javax.jms.Topic is 'Partitioned'. You can specify the value as 'Replicated' in the application deployment. However, a legal check restricts the use of Forwarding Policy as replicated' in resource group or resource group template. For more information, see Best Practices for Distributed Topics in Developing JMS Applications for Oracle WebLogic Server.

  • When an application that defines a queue using @JMSDestinationDefinition is undeployed, the persistent store preserves the messages that are not received or consumed, and those messages are available for consumers of the destination when you redeploy the application.

For more information about @JMSConnectionFactoryDefinition, see http://docs.oracle.com/javaee/7/api/javax/jms/JMSConnectionFactoryDefinition.html

For more information about @JMSDestinationDefinition, see http://docs.oracle.com/javaee/7/api/javax/jms/JMSDestinationDefinition.html

Packaging JMS Application Modules In an Enterprise Application

JMS application modules can be packaged as part of an Enterprise Application Archive (EAR), as a packaged module. Packaged modules are bundled with an EAR or exploded EAR directory, and are referenced in the weblogic-application.xml descriptor.

The packaged JMS module is deployed along with the Enterprise Application, and the resources defined in this module can optionally be made available only to the enclosing application (i.e., as an application-scoped resource). Such modules are particularly useful when packaged with EJBs (especially MDBs) or Web Applications that use JMS resources. Using packaged modules ensures that an application always has the required resources and simplifies the process of moving the application into new environments.

Creating Packaged JMS Application Modules

You create packaged JMS modules using an enterprise-level IDE or another development tool that supports editing of XML descriptor files. You then deploy and manage standalone modules using JSR 88-based tools, such as the weblogic.Deployer utility or the WebLogic Server Administration Console.

Note:

You can create a packaged JMS module using the WebLogic Server Administration Console, then copy the resulting XML file to another directory and rename it, using -jms.xml as the file suffix.

Packaged JMS Application Module Requirements

Inside the EAR file, a JMS module must meet the following criteria:

Main Steps for Creating Packaged JMS Application Modules

To configure a packaged JMS module:

  1. If necessary, create a JMS server to target the JMS module to, as explained in Configure JMS Servers in the Oracle WebLogic Server Administration Console Online Help.

  2. Create a JMS system module and configure the necessary resources, such as queues or topics, as described in Configure JMS system modules and add JMS resources in the Oracle WebLogic Server Administration Console Online Help.

  3. The system module is saved in the config\jms subdirectory of the domain directory, with a "-jms.xml" suffix.

  4. Copy the system module to a new location, and then:

    1. Give the module a unique name within the domain namespace.

    2. Delete the JNDI-Name attribute to make the module application-scoped to only the application.

  5. Add references to the JMS resources in the module to all applicable Java EE application component's descriptor files, as described in Referencing a Packaged JMS Application Module In Deployment Descriptor Files in Developing JMS Applications for Oracle WebLogic Server.

  6. Package all application modules in an EAR, as described in Packaging an Enterprise Application With a JMS Application Module.

  7. Deploy the EAR, as described in Deploying a Packaged JMS Application Module.

Sample of a Packaged JMS Application Module in an EJB Application

The following code snippet is an example of the packaged JMS module, appscopedejbs-jms.xml, referenced by the descriptor files in Figure 6-1 below.

<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms">
  <connection-factory name="ACF">
  </connection-factory>
  <queue name="AppscopeQueue">
  </queue>
</weblogic-jms>

Figure 6-1 illustrates how a JMS connection factory and queue resources in a packaged JMS module are referenced in an EJB EAR file.

Figure 6-1 Relationship Between a JMS Application Module and Descriptors in an EJB Application

Description of Figure 6-1 follows
Description of "Figure 6-1 Relationship Between a JMS Application Module and Descriptors in an EJB Application"

Packaged JMS Application Module References In weblogic-application.xml

When including JMS modules in an enterprise application, you must list each JMS module as a module element of type JMS in the weblogic-application.xml descriptor file packaged with the application, and a path that is relative to the root of the application. For example:

<module>
  <name>AppScopedEJBs</name>
  <type>JMS</type>
  <path>jms/appscopedejbs-jms.xml</path>
</module>

Packaged JMS Application Module References In ejb-jar.xml

If EJBs in your application use connection factories through a JMS module packaged with the application, you must list the JMS module as a res-ref element and include the res-ref-name and res-type parameters in the ejb-jar.xml descriptor file packaged with the EJB. This way, the EJB can lookup the JMS Connection Factory in the application's local context. For example:

<resource-ref>
  <res-ref-name>jms/QueueFactory</res-ref-name>
  <res-type>javax.jms.QueueConnectionFactory</res-type>
</resource-ref>

The res-ref-name element maps the resource name (used by java:comp/env) to a module referenced by an EJB. The res-type element specifies the module type, which in this case, is javax.jms.QueueConnectionFactory.

If EJBs in your application use Queues or Topics through a JMS module packaged with the application, you must list the JMS module as a resource-env-ref element and include the resource-env-ref-name and resource-env-ref-type parameters in the ejb-jar.xml descriptor file packaged with the EJB. This way, the EJB can lookup the JMS Queue or Topic in the application's the local context. For example:

<resource-env-ref>
  <resource-env-ref-name>jms/Queue</resource-env-ref-name>
  <resource-env-ref-type>javax.jms.Queue</resource-env-ref-type>
</resource-env-ref>

The resource-env-ref-name element maps the destination name to a module referenced by an EJB. The res-type element specifies the name of the Queue, which in this case, is javax.jms.Queue.

Packaged JMS Application Module References In weblogic-ejb-jar.xml

You must list the referenced JMS module as a res-ref-name element and include the resource-link parameter in the weblogic-ejb-jar.xml descriptor file packaged with the EJB.

<resource-description>
  <res-ref-name>jms/QueueFactory</res-ref-name>
  <resource-link>AppScopedEJBs#ACF</resource-link>
</resource-description>

The res-ref-name element maps the connection factory name to a module referenced by an EJB. In the resource-link element, the JMS module name is followed by a pound (#) separator character, which is followed by the name of the resource inside the module. So for this example, the JMS module AppScopedEJBs containing the connection factory ACF, would have a name AppScopedEJBs#ACF.

Continuing the example above, the res-ref-name element also maps the Queue name to a module referenced by an EJB. And in the resource-link element, the queue AppScopedQueue, would have a name AppScopedEJBs#AppScopedQueue, as follows:

<resource-env-description>
  <resource-env-ref-name>jms/Queue</resource-env-ref-name>
  <resource-link>AppScopedEJBs#AppScopedQueue</resource-link>
</resource-env-description>

Packaging an Enterprise Application With a JMS Application Module

You package an application with a JDBC module as you would any other enterprise application. See Packaging Applications Using wlpackage in Developing Applications for Oracle WebLogic Server.

Deploying a Packaged JMS Application Module

The deployment of packaged JMS modules follows the same model as all other components of an application: individual modules can be deployed to a single server, a cluster, or individual members of a cluster.

A recommended best practice for other application components is to use the java:comp/env JNDI environment to retrieve references to JMS entities, as described in Referencing a Packaged JMS Application Module in Deployment Descriptor Files in Developing JMS Applications for Oracle WebLogic Server. (However, this practice is not required.)

By definition, packaged JMS modules are included in an enterprise application, and therefore are deployed when you deploy the enterprise application. For more information about deploying applications with packaged JMS modules, see Deploying Applications Using wldeploy in Developing Applications for Oracle WebLogic Server.

Deploying Standalone JMS Application Modules

This section presents the following topics:

Standalone JMS Modules

A JMS application module can be deployed by itself as a standalone module, in which case the module is available to the server or cluster targeted during the deployment process. JMS modules deployed in this manner can be reconfigured using the weblogic.Deployer utility or the WebLogic Server Administration Console, but are not available through JMX or WLST.

However, standalone JMS modules are available using the basic JSR-88 deployment tool provided with WebLogic Server plug-ins (without using WebLogic Server extensions to the API) to configure, deploy, and redeploy Java EE applications and modules to WebLogic Server. For information about WebLogic Server deployment, see Understanding WebLogic Server Deployment in Deploying Applications to Oracle WebLogic Server.

JMS modules deployed in this manner are called standalone modules. Depending on how they are targeted, the resources inside standalone JMS modules are globally available in a cluster or locally on a server instance. Standalone JMS modules promote sharing and portability of JMS resources. You can create a JMS module and distribute it to other developers. Standalone JMS modules can also be used to move JMS information between domains, such as between the development domain and the production domain, without extensive manual JMS reconfiguration.

Creating Standalone JMS Application Modules

You can create JMS standalone modules using an enterprise-level IDE or another development tool that supports editing XML descriptor files. You then deploy and manage standalone modules using WebLogic Server tools, such as the weblogic.Deployer utility or the WebLogic Server Administration Console.

Note:

You can create a JMS application module using the WebLogic Server Administration Console, then copy the module as a template for use in your applications, using -jms.xml as the file suffix. You must also change the Name and JNDI-Name elements of the module before deploying it with your application to avoid a naming conflict in the namespace.

Standalone JMS Application Module Requirements

A standalone JMS module must meet the following criteria:

Main Steps for Creating Standalone JMS Application Modules

To configure a standalone JMS module:

  1. If necessary, create a JMS server to target the JMS module to, as explained in Configure JMS servers in the Oracle WebLogic Server Administration Console Online Help.

  2. Create a JMS system module and configure the necessary resources, such as queues or topics, as described in Configure JMS system modules and add JMS resources in the Oracle WebLogic Server Administration Console Online Help.

  3. The system module is saved in the config\jms subdirectory of the domain directory, with a -jms.xml suffix.

  4. Copy the system module to a new location and then:

    1. Give the module a unique name within the domain namespace.

    2. To make the module globally available, uniquely rename the JNDI-Name attributes of the resources in the module.

    3. If necessary, modify any other values that can be tuned , such as destination thresholds or connection factory flow control parameters.

  5. Deploy the module, as described in Deploying Standalone JMS Application Modules.

Sample of a Simple Standalone JMS Application Module

The following code snippet is an example of simple standalone JMS module.

<weblogic-jms xmlns="http://xmlns.oracle.com/weblogic/weblogic-jms">
  <connection-factory name="exampleStandAloneCF">
    <jndi-name>exampleStandAloneCF</jndi-name>
  </connection-factory>
  <queue name="ExampleStandAloneQueue">
    <jndi-name>exampleStandAloneQueue</jndi-name> 
  </queue>
</weblogic-jms>

Deploying Standalone JMS Application Modules

The command line for using the weblogic.Deployer utility to deploy a standalone JMS module (using the example above) would be:

java weblogic.Deployer -adminurl http://localhost:7001 -user weblogic
-password weblogic \
-name ExampleStandAloneJMS \
-targets examplesServer \
-submoduletargets ExampleStandaloneQueue@examplesJMSServer,ExampleStandaloneCF@examplesServer \
-deploy ExampleStandAloneJMSModule-jms.xml

For information about deploying standalone JMS modules, see Deploying JDBC, JMS, and WLDF Application Modules in Deploying Applications to Oracle WebLogic Server.

When you deploy a standalone JMS module, an app-deployment entry is added to the config.xml file for the domain. For example:

<app-deployment>
  <name>standalone-examples-jms</name> 
  <target>MedRecServer</target> 
  <module-type>jms</module-type> 
  <source-path>C:\modules\standalone-examples-jms.xml</source-path> 
  <sub-deployment>
  ...
  </sub-deployment>
  <sub-deployment>
  ...
  </sub-deployment>
</app-deployment>

Note that the source-path for the module can be an absolute path or it can be a relative path from the domain directory. This differs from the descriptor-file-name path for a system resource module, which is relative to the domain\config directory.

Tuning Standalone JMS Application Modules

JMS resources deployed within standalone modules can be reconfigured using the weblogic.Deployer utility or the WebLogic Server Administration Console, as long as the resources are considered bindable (such as JNDI names), or tunable (such as destination thresholds). However, standalone resources are not available through WebLogic JMX APIs or WebLogic Scripting Tool (WLST).

However, standalone JMS modules are available using the basic JSR-88 deployment tool provided with WebLogic Server plug-ins (without using WebLogic Server extensions to the API) to configure, deploy, and redeploy Java EE applications and modules to WebLogic Server. For information about WebLogic Server deployment, see Understanding WebLogic Server Deployment in Deploying Applications to Oracle WebLogic Server.

Additionally, standalone resources cannot be dynamically added or deleted with any WebLogic Server utility and must be redeployed.

Generating Unique Runtime JNDI Names for JMS Resources

JMS resources, such as connection factories and destinations, are configured with a JNDI name. The runtime implementations of these resources are then bound into JNDI using the given names. In some cases, it is impossible or inconvenient to provide a static JNDI name for these resources.

An example of such a situation is when JMS resources are defined in a JMS module within an application library. In this case, the library can be referenced from multiple applications, each of which receives a copy of the application library (and the JMS module it contains) when they are deployed. If you were to use static JNDI names for the JMS resources in this case, then all applications that refer to the library would attempt to bind the same set of JNDI resources at the same static JNDI name.

Therefore, the first application to deploy successfully binds the JMS resources into JNDI, but subsequent application deployments fail with exceptions indicating that the JNDI names are already bound.

To avoid this problem, WebLogic Server provides a facility to dynamically generate a JNDI name for the following types of JMS resources:

  • Connection factory

  • Destination (queue and topic)

  • Weighted distributed destination (deprecated)

  • Weighted distributed destination members

  • Uniform distributed destination

The facility to generate unique names is based on placing a special character sequence called ${APPNAME} in the JNDI name of the previously mentioned JMS resources. If you include ${APPNAME} in the JNDI name element of a JMS resource (either in the JMS module descriptor, or the weblogic-ejb-jar.xml descriptor), then the actual JNDI name used at runtime will have the ${APPNAME} string replaced with the effective application ID (name and possibly version) of the application hosting the JMS resource.

Note:

The ${APPNAME} facility does not imply that you can define your own variables and substitute their values into the JNDI name at runtime. The string ${APPNAME} is treated specially by the JMS implementation, and no other strings of the form ${<some name>} have any special meaning.

Unique Runtime JNDI Name for Local Applications

In the case of JMS modules in a local application, at runtime ${APPNAME} becomes the name or ID of the application. For example:

<jndi-name>${APPNAME}/jms/MyConnectionFactory</jndi-name>

When deployed within an application called MyApp, it would result in a runtime JNDI name of:

MyApp/jms/MyConnectionFactory

Unique Runtime JNDI Name for Application Libraries

In the case of JMS modules in an application library, at runtime ${APPNAME} becomes the name/ID of the application which refers to the library (not the name of the library). For example:

<jndi-name>${APPNAME}/jms/MyConnectionFactory</jndi-name>

When deployed within an application library called MyAppLib, and referenced from an application called MyApp, it would result in a runtime JNDI name of:

MyApp/jms/MyConnectionFactory

Unique Runtime JNDI Name for Standalone JMS Modules

In the case of JMS modules deployed as stand-alone modules, at runtime ${APPNAME} becomes the name/ID of the stand-alone module. For example:

<jndi-name>${APPNAME}/jms/MyConnectionFactory</jndi-name>

When deployed within a stand-alone JMS module MyJMSModule, it would result in a runtime JNDI name of:

MyJMSModule/jms/MyConnectionFactory

Where to Use the ${APPNAME} String

The ${APPNAME} string can be used anywhere you refer to the JNDI name of a JMS resource. For example, in the:

  • jndi-name or local-jndi-name element of connection-factory elements in the JMS module descriptor.

  • jndi-name or local-jndi-name element of queue or topic elements in the JMS module descriptor.

  • jndi-name element of distributed-queue or distributed-topic elements in the JMS module descriptor.

  • jndi-name element of uniform-distributed-queue or uniform-distributed-topic elements in the JMS module descriptor.

  • destination-jndi-name element of message-destination-descriptor elements in the weblogic-ejb-jar.xml descriptor.

    Note:

    WebLogic EJB also supports the use of the ${APPNAME} string.

  • jndi-name element of weblogic-enterprise-bean elements in the weblogic-ejb-jar.xml descriptor.

Example Use-Case

In a single-server environment, WebLogic Integration Worklist uses application-scoped JMS resources (For example, queues and connection factories) to support its modular deployment goals. Application-scoped JMS allows WebLogic Integration to have an application library define the EJBs, JMS resources, and so on needed by worklist, and then have users simply include worklist into their application by adding a library-ref to their application. However, this prevents the worklist user from scaling those destinations to the cluster from an application library.

In a clustered environment, users can now substitute the ${APPNAME} string for the queue's JNDI name at runtime to make the global JNDI names for the queues unique. This way, the JMS ${APPNAME} parameter is replaced at runtime with the application name of the host application being merged to the application library.

Additional Configuration Options for JMS Services

Table 6-1 Configuration Properties for JMS Service Migration

Property Default Value Description

Restart In Place

True

Defines how the system responds on a JMS Service failure within a healthy WebLogic Server. If a service fails and if this property is enabled, then the system first attempts to restart that store and associated service artifact on the same server before migrating to another server.

Note:

This attribute does not apply when an entire server fails.

Seconds Between Restarts

30

If Restart In Place is enabled, then his property specifies the delay, in seconds, between restarts on the same server.

Number of Restart Attempts

6

If Restart In Place is enabled, then this number determines the restart attempts the system should make before trying to migrate the artifact instance to another server.

Initial Boot Delay Seconds

60

Controls how fast subsequent instances are started on a server after the first instance is started. This prevents the system getting overloaded at the startup.

A value of 0 indicates that the system does not need to wait, which may lead to overload situations. The system’s default value is 60 seconds.

Failback Delay Seconds

-1

Specifies the time to wait before failing back an artifact's instance to its preferred server.

A value > 0 specifies that the time, in seconds, to delay before failing a JMS artifact back to its preferred server.

A value of 0 indicates that the instance would never failback.

A value of -1 indicates that there is no delay and the instance would failback immediately.

Partial Cluster Stability Seconds

240

Specifies the amount of time, in seconds, to delay before a partially started cluster starts all cluster-targeted JMS artifact instances that are configured with a Migration Policy of Always or On-Failure.

This delay ensures that services are balanced across a cluster even if the servers are started sequentially.

A value > 0 specifies the time, in seconds, to delay before a partially started cluster starts dynamically configured services.

A value of 0 specifies no delay in starting all the instances on available servers.

The default delay value is 240 seconds.

For more information about these properties, see JDBC Store: HA Configuration in the Oracle WebLogic Server Administration Console Online Help.