Skip navigation.

Administration Console Online Help

PreviousNextvertical dots separating previous/next from contents/index/pdfContents

Configure shutdown classes

To configure a Java class to run when a server shuts down:

  1. If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
  2. In the Administration Console, expand Environment and select Startup and Shutdown Classes.
  3. On the Startup and Shutdown Classes page, click New.
  4. On the Configure a New Startup or Shutdown Class: Class Type page, choose Shutdown Class. Then click Next.
  5. On the Shutdown Class Properties page, enter a name that you will use the identify this configuration of your Java class.

    You can create multiple named configurations for any given class. After you have created a class configuration, you cannot change its name. Instead, delete the configuration and create a new one with a new name.

  6. On the Select Targets page, select one or more servers or deploy the class to all servers in a cluster. Then click Finish.
  7. On the Startup and Shutdown Classes page, click the new shutdown class name.
  8. On the Shutdown Classes: Configuration page, in the Classpath field, enter the fully qualified name of the shutdown class.

    For example, mycompany.myclasses.shutdownclass

  9. For information about changing the default settings, refer to Configuration Options.
  10. To activate these changes, in the Change Center of the Administration Console, click Activate Changes.
    Not all changes take effect immediately—some require a restart (see Use the Change Center).

After you finish

  1. Add startup and shutdown classes to the classpath.
  2. Restart each server instance on which you have deployed the class.


Skip navigation bar   Back to Top