Forums/Tips & Tricks

IBM Webpshere Portal Auto Reload JSP

John Mathieu January 17, 2010

 

So you have IBM Websphere Collaborative Portal installed and EnterpriseOne installed on top of that. You are going through and customizing your Portal pages, adding content, changing appearances and other customizations.

One thing that will become cumbersome almost immediately is having to bounce your Websphere Portal services in order to make JSP (Java Server Pages) changes in your themes and skins take effect. Here's a tip to enable automatic JSP reloading in WebSphere Portal:

1.) Open the file: was_profile_root/config/cells/cell_name/applications/wps.ear/deployments/wps/wps.war/WEB-INF/ibm-web-ext.xmi

2.) Change the value for "reloadingEnabled" to "true".

3.) Save and restart the Websphere Portal server

Now your JSPs are automatically reloaded when they are changed. However, changes to child JSPs will only take effect when the parent JSP is modified (e.g. default.jsp). Remember this can contribute to performance degradation in a production environment, so try to keep this in development only.
 

 

Check out our other Tips & Tricks!