IBM Support

MustGather: JavaServer Pages (JSP) problems

Troubleshooting


Problem

Collecting data for problems with IBM WebSphere Application Server JSP container component. Gathering this MustGather information before calling IBM support will help you understand the problem and save time analyzing the data.

Resolving The Problem

If you have already contacted support, continue on to begin collecting component-specific MustGather information. Otherwise, click: MustGather: Read first for WebSphere Application Server.


JSP specific MustGather information
Run the JspBatchCompiler.sh or JspBatchCompiler.bat on the failing JSP with -keepgenerated option as per the following example. The -keepgenerated option will generate _*.java file while compiling JSP to _*.class file. To determine the enterpriseapp.name and webmodule.name, see the section below.
  • Run the following JSPBatchCompiler command:

    install_root/profiles/profile_name/bin/JspBatchCompiler -enterpriseapp.name application_name -webmodule.name webapplication_name -cell.name cell_name -node.name node_name -server.name server_name -filename jsp_file -keepgenerated true -forceCompilation true -log.level FINEST > jspbatchcompiler.out 2>&1
 
  • Determine the enterpiseapp.name and webmodule.name:
    1. In the Administrative Console, expand Applications and click Enterprise Applications.
    2. For enterpiseapp.name, use the name of the enterprise application as seen in the name field.
    3. Click on the enterprise application.
    4. Click Manage Modules under Modules
    5. Use the name of Web module under the Module column (make sure this to be the Web module by checking under the Module Type column for that module row).

       
    Set up trace for Application Server using the following trace string. For detailed instructions on setting trace, refer to How to setup a trace? Note: You can skip this step if you have a JSP compilation problem.


    *=info:com.ibm.ws.webcontainer*=all:com.ibm.wsspi.webcontainer*=all:HTTPChannel=all:GenericBNF=all:com.ibm.ws.jsp=all



    Recreate the issue you are working on and tell us the day and time that it was recreated.

    Run the collector tool on the profiles involved. The collector tool is located in the following directory:

    • profile_home/bin

      When you run the collector tool, it creates a jar file with the information about that profile that it was run against, please send us the jar file(s) that the collector tool created.





    •  
    Follow instructions to send diagnostic information to IBM Support.

For a list of all technotes, downloads, and educational materials specific to JSPs, search the WebSphere Application Server support site.

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"JSP","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.5","Edition":"Base;Express;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SS7JFU","label":"WebSphere Application Server - Express"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"JSP","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Java SDK","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
24 May 2023

UID

swg21255205