Sun Gathering Debug Data for Sun Java System Web Server

ProcedureTo Gather General Debug Data for Any Web Server Problem

To report problems described in this technical note, you need to gather some basic information. Basic information includes System details and date and time when the problem occurred. Follow these steps to gather the basic information.

  1. Note the day(s) and time(s) the problem occurred.

  2. Provide a graphical representation of your deployment. Include all hosts and IP addresses, host names, operating system versions, role they perform, and other important systems such as load balancers, firewalls, and so forth.

  3. Note the Version of the operating system.

    Solaris

    uname -a

    HP-UX

    uname -r

    Linux

    more /etc/redhat-release

    Windows

    C:\Program Files\Common files\Microsoft Shared\MSInfo\msinfo32.exe /report C:\report.txt

  4. Note the patch level.

    Solaris

    showrev -p

    HP-UX

    swlist

    Linux

    rpm -qa

    Windows

    Already provided in the C:\report.txt file above.

  5. Note the version of Web Server.

    If a configured JDK is used instead of the default JRE then provide the output of the command java -version.

    Web Server version is indicated in the error log of the instance during the start.

    • Start Instance Script

      UNIX (Solaris and HP-UX) and Linux

      cd server-root/web-identifier/start

    • Error logs

      UNIX (Solaris and HP-UX) and Linux

      cd server-root/web-identifier/logs/errors

      Windows

      cd server-root\web-identifier\logs\errors

    • Access logs

      UNIX (Solaris and HP-UX) and Linux

      cd server-root/web-identifier/logs/access

      Windows

      cd server-root\web-identifier\logs\access

  6. Create a tar file of the Web Server configuration directory.

    • Sun Java System Web Server :

      UNIX (Solaris and HP-UX) and Linux

      cd server-root/web-identifier/configCreate a tar file of the server-root/config directory.

      Windows

      cd server-root\web-identifier\configCreate a compressed file of the server-root\config directory.


    Note –

    If possible, provide an explorer (SUNWexplo) of the machine where the problem occurs. For UNIX and Linux systems, the customer can use the script webinfo. For more information on how to run the webinfo script, see To Run the webinfo Script.