MustGather: JSP exceptions thrown in WebSphere Application Server V4.0
 Technote (FAQ)
 
Problem
MustGather for problems with the WebSphere® Application Server JSP component for all releases of V4.0. Gathering this information before calling IBM® Support will help familiarize you with the troubleshooting process and save you time.
 
Cause
Error in JSP.
 
Solution
If you have already contacted support, continue on to the JSP MustGather information. Otherwise, click: MustGather: Read first for all WebSphere Application Server products.

JSP specific MustGather information:
  1. Open the ibm-web-ext.xmi file located in the WEB-INF directory of the WAR file. For example:

    install_root\installedApps\app.ear\myapp.war\WEB-INF\ibm-web-ext.xmi

  2. Add the following line right before the closing </webappext:WebAppExtension> tag:

    <jspAttributes xmi:id="JSPAttribute_1" name="keepgenerated" value="true"/>

  3. Open the adminstrative console.

  4. Stop the Application Server.

  5. Delete the contents of the following directory:

    install_root\temp\node_name

    Where install_root is the directory that WebSphere is installed and where node_name is the hostname of the server.

  6. Start the Application Server.

  7. Request the JSP from a browser, which will force the JSP to be converted to Java™ and then compiled.

  8. Find the source code (.java files) of the generated JSPs in the following directory:

    install_root\temp

  9. Look in the stdout file for the application server. It will show the line number where the exception occurred. Go to the line number of the .java file indicated in the exception to investigate root cause of JSP failure.

  10. See the following technote:
    Problem Determination: org.apache.jasper.JasperException: JSPG0059E: Unable to compile class for JSP


  11. Follow instructions to send diagnostic information to IBM support.

For a listing of all technotes, downloads, and educational materials specific to the JSP component, search the WebSphere Application Server support site.
 
Related information
Steps to Getting Support
MustGather: Readme First
Troubleshooting Guide
Submitting information to IBM support
 
 
 


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > JSP
Operating system(s): HP-UX
Software version: 4.0
Software edition:
Reference #: 1054036
IBM Group: Software Group
Modified date: Mar 18, 2005