Server crashes on start-up

To resolve or analyze a start-up crash:

  1. Make sure that the PATH and CLASSPATH variables are correctly set.

    Verify which DLL or library versions have been loaded, and class load locations. For Windows, see “ListDLLs”. For UNIX, use pmap or another command or tool appropriate for your platform.

  2. If you are operating in a cluster environment:

  3. Check the server log file. Besides reporting errors, the log file can also help determine how far along the start-up process was. The start-up tasks include:

    1. Loading licensing files, check options

    2. Loading network libraries for listeners

    3. Initializing the JVM

    4. Initializing various data structures

    5. Loading server ClassLoader

    6. Loading JCM (Java Connection Management) caches, connectors, and resources

    7. Starting services:

      • Repository, GC, JCM, and Naming ServletService

      • User services; for example, the message service

    If there are no problems, the server begins accepting regular client connections, as indicated by the console message “Accepting connections.”

  4. In the server start batch file, set ECHO to on. This provides additional output and may help determine the point of failure.

  5. Gather crash information, such as the load address. For Windows, see “ListDLLs”; for UNIX, use pmap or another command or tool appropriate for your platform.

    When the server crashes, identify the crash address using the console or log file. Use the address to identify the crash area or the module being executed. When an executable is launched, it tends to use the same set of base addresses, as virtual addresses normally do not change. This helps determine the specific product or application to investigate. The address may show that the crash occurred outside of EAServer; for example, in a system module. If the crash occurred in EAServer or a Sybase module, the address may be helpful to Technical Support, and may point to a known issue.

  6. If EAServer crashes while running as a service, start EAServer in a console instead. A service typically runs under different resource constraints and permissions than a console.

  7. If the message service is configured, set cms.debug to true.