Sun Gathering Debug Data for Sun Java System Application Server

ProcedureTo Run the pkg_app Script

On Solaris 9 OS or later, if the core file is specified, the list of files is derived from the core file rather than from the process image. You still must provide the PID of the running application to assist in path resolution.

Two scripts are created to facilitate opening the core file when the tar file is unpacked:


Note –

The pkg_app script asks for your Sun Case Number to name the tar.gz file.


  1. Copy the script to a temporary directory on the system where Application Server is installed.

  2. Become superuser.

  3. Execute the pkg_app script in one of the following three ways:

    • ./pkg_app application-pid corefile

    • ./pkg_app application-pid(The pkg_app scripts prompts for the corefile name.)

    • ./pkg_app core file