Configure developer mode on Windows
Overview
Developer mode allows you to improve start up performance.
This task modifies the following components:
JVM The JVM will be switched to development mode and the initial heap size will be set to the maximum heap size to reduce the amount of garbage collection during start up. Portlets Portlets and Web Applications will be activated on first access and not at the start up. Since some of the portlets and applications are required at start up, a white list, which contains the list of applications, will hold the applications still started at start up.
To add applications to the white list, modify...
PROFILE_HOME/PortalServer/config/StartupPerformance/wp.base_ProfileEarAttributesTargetMapExclList.jacl
...and add a line such as..
lappend WarFileNameList App_name
To list available applications, from the WAS console...
Applications | Application Types | WebSphere enterprise applications
Configure Developer Mode
Immediately after installing WebSphere Portal to develop portals and portlets, run....
cd profile_root/ConfigEngine
./ConfigEngine.bat enable-develop-mode-startup-performance -DWasPassword=wpsadminTo revert back to a production server
cd profile_root/ConfigEngine
./ConfigEngine.bat disable-develop-mode-startup-performance -DWasPassword=wpsadminYou can run disable-develop-mode-startup-performance when you are done developing the portal and portlets...
- If the development settings are not adequate for a special development situation
- If a problem found on the production server cannot be recreated on the development server
Parent topic:
Changing to developer mode