This comes from TheServerSide.com via Sonia Malik on Twitter, and looks to be a rather useful tip that I probably did not, but ( as ever ) had forgotten: -
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:
C:\IBM\WebSphere\wp_profile\bin
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)…
BUILD SUCCESSFUL
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.
I'm running the script on my WebSphere Portal Express v7 VMware image now and will report back ....
*UPDATE* It took 31 minutes 8 seconds on my VM; will now see if WP is any faster :-)
Thanks to Sal for creating, and to Sonia for sharing ....
Geeking in technology since 1985, with IBM Development, focused upon Docker and Kubernetes on the IBM Z LinuxONE platform In the words of Dr Cathy Ryan, "If you don't write it down, it never happened". To paraphrase one of my clients, "Every day is a school day". I do, I learn, I share. The postings on this site are my own and don’t necessarily represent IBM’s positions, strategies or opinions. Remember, YMMV
Subscribe to:
Post Comments (Atom)
TIL - read-only variables in Linux
A co-worker was seeing an exception: - line 8: TMOUT: readonly variable when trying to SCP a file from a remote Linux box. I did some digg...
-
After an unscheduled reboot of the VMs that host my K8s cluster, I was struggling to work out why the kubelet wasn't starting properly...
-
I hit a wee snag earlier today, whilst attempting to unpack some IBM software on my NAS. Being a command-line junkie, I'd SSH'd into...
-
I've just spent ~1 hour trying to get a pair of Powerline adapters to .... pair. This involved pressing a "Pair" button on one...
No comments:
Post a Comment