bea.com | products | dev2dev | support | askBEA
 Download Docs   Site Map   Glossary 
Search

WebLogic Server Configuration Reference

 Previous Next Contents Index View as PDF  

StartupClass

Description

Provides methods that configure startup classes.

Syntax

<!ELEMENT StartupClass EMPTY >
<!ATTLIST StartupClass
   Arguments                  CDATA                    #IMPLIED
   ClassName                  CDATA                    #REQUIRED
   DeploymentOrder            CDATA                    "1000"
   FailureIsFatal             (true | false)           "false"
   LoadBeforeAppDeployments   (true | false)           "false"
   Name                       CDATA                    #REQUIRED
   Notes                      CDATA                    #IMPLIED
   Targets                    CDATA                    #IMPLIED
>

Parent Elements

The StartupClass element is a child of the Domain element.

Attributes

Table 76-1 StartupClassMBean Element Attributes

Attribute

Description

Range of Values and Default

Console Label

Arguments

Arguments that the server uses to initialize a class.


Arguments

Class-Name

The fully qualified name of a class to deploy.


Class Name

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 startup classes before it prioritizes and deploys EJBs.

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.

Default: 1000

Minimum: 0

Maximum: 2147483647

Deployment Order

Failure-Is-Fatal

Determines whether a failure in this startup class prevents a server from starting. If this check box is cleared (or if you use an API to specify a value of false) and the startup class fails, the server continues its startup process.

Default: false

Failure is fatal

Load-Before-App-Deployments

Determines whether a startup class is loaded and run before the server deploys applications. If you specify true for this option, the server loads the class after it deploys JDBCConnectionPools and before it deploys Web applications and EJBs. If you specify false, the serever loads the class after all deployments succeed.

Default: false

Run before application deployments

Name

The name of this configuration. WebLogic Server uses an MBean to implement and persist the configuration.


Name

Notes

Optional information that you can include to describe this configuration.


Notes

Targets

The targets in the current domain on which this item can be deployed.


Targets


 

 

Back to Top Previous Next