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.
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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