Speeding Up Your WebSphere Portal Server 6.1 and 7 Installations
By Sal Pece
WebSphere Portal Server Guru, Sal Pece, provides this quick tip on how to improve the first-time run performance of your WebSphere Portal Server pages. The tip is demonstrated for WebSphere Portal Server 7, but it also applies to WPS 6.1 as well.
How To Speed Up WebSphere Portal Server 7 After the Initial Installation
When any version of WebSphere Portal is first installed, there is always a significant load time for each JSP page. The poor load time is attributed to the fact that each JSP page must be compiled the first time it is accessed. To avoid the delay, execute the precompile-jsp command.
1. Open a command line and navigate to the following directory:
2. Execute the following command (all on one line)
ConfigEngine.bat precompile-jsp –DwasUser=wasadmin –DWasPassword=wasadmin
3. 28 minutes later (although your mileage may vary)…
The script completed successfully and I’m happy to report there was a noticeable improvement in performance when browsing through WebSphere Portal Server 7 pages for the first time.
What is WebSphere? Java, J2EE, Portal and Beyond! ~ Cameron W McKenzie
Rapid Portlet Development with WebSphere Portlet Factory ~ David Bowley
28 Apr 2010
Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.