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:
- Click on the plus ("+") sign next to Enterprise Applications in
the Administrative Console.
- Select the Enterprise Application for which you want to BatchCompile
JSP files.
- 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:
- Click on the plus ("+") sign next to Enterprise Applications in
the Administrative Console.
- Click on the plus ("+") sign next to the Enterprise Application for
whicyh you want to BatchCompile JSP files.
- Click on the Web Modules folder.
- 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:
- Run the command again, adding the following string to the end of the
command:-keepgenerated true > jspbatchcompiler.out
2>&1
- Send in the following files:
- jspbatchcompiler.out
- XMLConfig full export
- 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.
|