|
| Problem | MustGather for problems with the WebSphereŽ Application Server jsp component. Gathering this information before calling IBM support will help familiarize you with the troubleshooting process and save you time | | | | Solution | If you have already contacted support, continue on to the component-specific MustGather information. Otherwise, click: MustGather: Read first for all WebSphere Application Server products.
In order to see the source code of the jsp's that are throwing exceptions, you will need to do the following:
1. On the advanced tab of the jsp processor you need to enter "keepgenerated" (without the quotes) in the "init param name" field and "true" (without the quotes) in the "init param value" field.
2. Press the "Apply" button
3. Stop the appserver
4. Add the following line to AppServer Command Line Arguments:
5. Delete the contents of the <was root>\temp directory
6. Start the appserver
7. Request the JSP from a browser, which will force the JSP to be converted Java then compiled.
8. You will then find the source code (.java files) of the generated jsp's in the <was root>\temp directory
9. Look in the stdout file for the appserver. It will show the line number where the exception occurred. You now have the .java file for the jsp and you can go to this line number and investigate what is causing the exception to be thrown. See example stack trace below:
******************************************************************* [01.08.28 17:22:45:760 CDT] 85b8e0 ServletInstan X Uncaught service() exception thrown by servlet {0}: {1} "Jsp11" javax.servlet.ServletException at java.lang.Throwable.fillInStackTrace(Native Method) at java.lang.Throwable.fillInStackTrace(Compiled Code) at java.lang.Throwable.<init>(Compiled Code) at java.lang.Exception.<init>(Compiled Code) at javax.servlet.ServletException.<init>(ServletException.java:161) at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:386) at p_25_blic._frameset_jsp_0._jspService(_frameset_jsp_0.java:253) *******************************************************************
The customer would want to look at line 253 of frameset_jsp_0.java to see why the exception is being thrown.
10. If the customer requires assistance debugging the problem, we need the following files:A. stderr and stdout
B. JSP file
C. *.java file generated from the JSP
D. XMLConfig full export of the configuration
Follow instructions tosend diagnostic information to IBM support.For a listing of all technotes, downloads, and educational materials specific to the componentName component, search the WebSphere Application Server support site. | |
| |
| |
|
Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, JSP Operating system(s): Multi-Platform Software version: 3.0.2.x, 3.5 Software edition: Advanced Edition, Standard Edition 3.x Reference #: 1052635 IBM Group: Software Group Modified date: 2004-12-08
(C) Copyright IBM Corporation 2000, 2004. All Rights Reserved.
|