Troubleshooting a failed deployment

This topic describes the steps to take to determine the cause of a problem when deploying an application. It also presents some possible solutions.

Before you begin

This topic assumes the following things:

Why and when to perform this task

The task of troubleshooting a deployment begins after you receive notification of an error. There are various symptoms of a failed deployment that you have to inspect before taking action.

Steps for this task

  1. Determine if the application installation failed.
    Examine the system.out file for messages that specify the cause of failure. Some of the reasons an application might not install include the following:
    • You are attempting to install an application on multiple servers in the same Network Deployment cell.
    • An application has the same name as an existing module on the Network Deployment cell to which you are installing the application.
    • You are attempting to deploy J2EE modules within an EAR file to different target servers.
    Important: If the installation has failed and the application contains services, you must remove any SIBus destinations or J2C activation specifications created prior to the failure before attempting to reinstall the application. The simplest way to remove these artifacts is to click Save -> Discard all after the failure. If you inadvertently save the changes, you must manually remove the SIBus destinations and J2C activation specifications (see Deleting SIBus destinations and Deleting J2C activation specifications).
  2. If the application is installed correctly, examine it to determine if it started.

    If the application is not running, the failure occurred when the server attempted to initiate the resources for the application.

    1. Examine the system.out file for messages that will direct you on how to proceed.
    2. Determine if the resources are started.
      Resources that are not started prevent an application from running to protect against lost information. The reasons for a resource not starting include:
      • Bindings are specified incorrectly
      • Resources are not configured correctly
      • Resources are not included in the resource archive (RAR) file
      • Web resources not included in the Web services archive (WAR) file
    3. Determine if any components are missing.

      The reason for missing a component is an incorrectly built enterprise archive (EAR) file. Make sure that the all of the components required by the module are in the correct folders on the test system on which you built the Java archive (JAR) file. Preparing to deploy to a server contains additional information.

  3. Examine the application to see if there is information flowing through it.

    Even a running application can fail to process information. Reasons for this are similar to those mentioned in step 2.b.

    1. Determine if the applications uses any services contained in another application. Make sure that the other application is installed and running.
    2. Determine if the import and export bindings for all services contained in other applications the failing application uses are configured correctly. Use the administrative console to examine and correct the bindings.
  4. Correct the problem and restart the application.

Last updated: Thu 26 Oct 2006 10:30:05

(c) Copyright IBM Corporation 2005, 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)