Administration Console Online Help
Startup Class --> Configuration
Tasks Related Topics Attributes
Overview
The Startup Class—>Configuration tab defines a named configuration for a startup class. You use this tab while creating a new configuration or modifying an existing one.
If you are creating a new configuration, you must enter information on the Configuration tab and click Apply before you can access other tabs. Once you create a configuration, you cannot change its name. Instead, you must create a new configuration under a different name.
You can create multiple named configurations for any given startup class. For each configuration that you create, WebLogic Server uses a managed bean (MBean) to configure the startup class and persist the configuration.
Tasks
Configuring a Server to Use a Startup or Shutdown Class: Main Steps
Modify an Existing Startup or Shutdown Configuration
Delete a Startup or Shutdown Class Configuration
Related Topics
"Ordering Startup Class Execution and Deployment"
Attributes
Table 357-1
Attribute Label
|
Description
|
Value Constraints
|
Name
|
An alpha-numeric value that identifies the startup class configuration. This name attribute is for your identification purposes only.
After you have created a startup class configuration, you cannot change its name. Instead, delete the configuration and create a new one with a new name.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: Name
|
|
ClassName
|
The fully qualified name of the Java class that you have created and compiled. The class must be on the server's classpath.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: ClassName
|
Required: yes
|
Deployment Order
|
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.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: DeploymentOrder
|
Minimum: 0
Maximum: 231-1
Default: 1000
Dynamic: yes
|
Arguments
|
Arguments that the server uses to initialize a class. Separate multiple arguments with a comma. For example:
attribute1=value1,attribute2=value2
Do not use spaces to separate the arguments; use only a comma.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: Arguments
|
|
Failure is fatal
|
Determines whether a failure in this startup class prevents a server from starting. If this check box is cleared and the startup class fails, the server continues its startup process.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: FailureIsFatal
|
Default: false
Valid values:
|
Run Before Application Deployments
|
Causes a server to load and run a startup class before it activates JMS and JDBC services and before it starts deployment for applications and EJBs.
Deployment for applications and EJBs consists of two phases: prepare and activate. If you select the Run Before Application Deployments option for a startup class, a server loads and runs the startup class before the prepare phase. At this point, JMS and JDBC services are not yet available.
By default, a server instance loads startup classes after it activates JMS and JDBC services, EJBs, and applications.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: LoadBeforeAppDeployments
|
Default: false
Valid values:
|
Run Before Application Activations
|
Causes a server to load and run a startup class after it activates JMS and JDBC services and before it activates applications and EJBs.
Deployment for applications and EJBs consists of two phases: prepare and activate. If you select the Run Before Application Activations option for a startup class, a server loads and runs the startup class before the activate phase. At this point, JMS and JDBC services are available.
Select this option if the startup class needs to be invoked after JDBC connection pools are available but before the applications are activated and ready to service client requests.
By default, a server instance loads startup classes after it activates JMS and JDBC services, EJBs, and applications.
MBean: weblogic.management. configuration. StartupClassMBean
Attribute: LoadBeforeAppActivation
|
Default: false
Valid values:
|