Tuesday, December 31, 2013

Websphere Commmerce Compiling JavaServer Page files

Websphere Commmerce Compiling JavaServer Page files using JspBatchCompiler.sh
Compiling the JavaServer Page (JSP) files in your site or store will significantly reduce the amount of time needed to load your store .

As a result, it is recommended that you batch-compile your store or site JSP files after publishing a store archive and after deploying JSP files to a production environment.

If you are deploying Java EE assets, and those assets contain JSP files, ensure you compile your JSP files. Regardless of whether you deploy a single file, a partial application, or an entire module, you should do this if there are JSP files involved.

Procedure :
1)Go to the following directory: WC_profiledir/bin

2)To compile all WebSphere Commerce JSP files, run the below command

JspBatchCompiler.sh -enterpriseapp.name "WC_instance_name" -webmodule.name "Stores.war" -compileToWebInf false -cell.name " cellname" -node.name " nodename" -server.name "server1"

3)To compile all of the WebSphere Commerce JSP files for your site, omit the -webmodule.name "Stores.war" option.

No comments:

Post a Comment