Troubleshooting: Changes to JSP pages have no affect or are not visible

Every time you make changes to a compiled JSP page (for example, myhomePageContent.jsp) the changes do not take affect or are not visible when you load that page. You are finding that the only way for the changes to be visible is to restart your WebSphere Commerce instance.

In order to avoid restarting your instance, you need to reset the "reloadInterval" to a smaller value. Edit the file ibm-web-ext.xml, usually located in the following directory:

WC_eardir/Stores.war/WEB-INF/ibm-web-ext.xml

Search for "reloadInterval" and reduce its value. Also, ensure that reloadingEnabled="true" is set. You will have to restart the WebSphere Commerce instance, WC_ instance_name, for your modification to take effect. The value of reloadInterval determines when a thread starts up to check if the JSP source file has changed so that the next time a request comes for that JSP, the new source is compiled. If the interval is too large, the JSP file is not recompiled until the thread starts up again, even though your source has changed and the compiled class is removed. Note that there will be a slight performance impact if you set reloadInterval too low, since the thread will have to check for changes more frequently.

Deploy the updated file using the single file method in the WebSphere administrative console, see Deploying J2EE assets for a single file for more information.