Sun Gathering Debug Data for Sun Java System Web Server

ProcedureTo Gather Debug Data on Web Server Startup Problem

Follow these steps if you are unable to start a Web Server instance.

  1. Gather the general system information as explained in To Gather General Debug Data for Any Web Server Problem.

  2. Run the netstat command and save the output.

    UNIX (Solaris and HP-UX) and Linux

    netstat -an | grep web-port

    Windows

    netstat -an

  3. Run the following command on the Web Server start script and provide the resultant file.

    Solaris

    truss -eafl -wall -vall -rall -o /tmp/web-start.truss ./start

    HP-UX

    tusc -v -fealT -rall -wall -o /tmp/web-start.tusc ./start

    Linux

    strace -fv -o /tmp/web-start.strace ./start

    Windows

    Use DebugView tool. You can download this tool from http://www.sysinternals.com/Utilities/DebugView.html

  4. If logs file does not contain any error message about the problem, do the following:

    Edit and add the following line to the configuration file to get more debug information during the start.

    UNIX (Solaris and HP-UX) and Linux

    Edit the file server-root/web-identifier/config/server.xml and change the loglevel to finest: loglevel=finest in server.xml.

    Windows

    Edit the file server-root\web-identifier\config\server.xml and change the loglevel to finest: loglevel=finest in server.xml.