MustGather: JSP Batch Compiler Failure in WebSphere Application Server Version 4
 Technote (FAQ)
 
Problem
MustGather for problems with the WebSphere® Application Server JSP Batch Compiler. 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.

Background

After issuing JSPBatchCompiler.sh or JSPBatchCompiler.bat, JSP files are not compiled. Following is sample output from an unsuccessful attempt to use the JSPBatchCompiler:


D:\WebSphere\AppServer\bin>JspBatchCompiler -enterpriseApp kolinski2_sampleApp
-webModule examples.war

Connecting to repository...Done.
Enterprise Application: kolinski2_sampleApp

D:\WebSphere\AppServer\bin>

Solution

In order to successfully use the JSPBatchCompiler, you must properly specify the enterpriseApp and webModule name. Following is sample output from a successful attempt to use the JSPBatchCompiler:

D:\WebSphere\AppServer\bin>JspBatchCompiler -enterpriseApp kolinski2_sampleApp -webModule examples

Connecting to repository...Done.
Enterprise Application: kolinski2_sampleApp
Web Module: examples
compile: debug_error.jsp
Compile successful for debug_error.jsp
compile: error.jsp
Compile successful for error.jsp
compile: HelloHTML.jsp
Compile successful for HelloHTML.jsp
compile: HitCount.jsp
Compile successful for HitCount.jsp
compile: simple.jsp
Compile successful for simple.jsp

D:\WebSphere\AppServer\bin>

To determine the proper enterpriseApp name please use the following steps:
  1. Click on the plus ("+") sign next to Enterprise Applications in the Administrative Console.
  2. Select the Enterprise Application for which you want to BatchCompile JSP files.
  3. Use the name in Enterprise Application name field of the General tab for the -enterpriseApp option.

To determine the proper webModule name please use the following steps:
  1. Click on the plus ("+") sign next to Enterprise Applications in the Administrative Console.
  2. Click on the plus ("+") sign next to the Enterprise Application for whicyh you want to BatchCompile JSP files.
  3. Click on the Web Modules folder.
  4. Use the name in the Module name field of the General tab for the -webModule option.


IF YOU STILL CANNOT GET THE JSPBATCHCOMPILER TO WORK AFTER THESE STEPS, PLEASE DO THE FOLLOWING:
  1. Run the command again, adding the following string to the end of the command:-keepgenerated true > jspbatchcompiler.out 2>&1
  2. Send in the following files:
    1. jspbatchcompiler.out
    2. XMLConfig full export
    3. Failing JSP(s) and the associated *.java file (located in the temp directory)

Follow instructions to send 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.

 
 
 


Document Information


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