Configure developer mode on Solaris
The developer mode allows you to improve start up performance and to configure WebSphere Portal for development. This file explains how to configure and unconfigure the development mode option. Developer mode is for a development environment only and should not be used in a production environment.
Install WebSphere Portal with the Base installation option.
This task modifies the following components:
JVMThe JVM will be switched to development mode and the initial heap size will be set to the maximum allowable heap size to reduce the amount of garbage collection during start up.
PortletsPortlets 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 the WP_PROFILE/PortalServer/config/StartupPerformance/wp.base_TargetMapExclList.properties file. Add a line such as App_name, where App_name is the name of the application. Log on to the WAS Console Mode and navigate to Applications -> Application Types -> WebSphere enterprise applications to get a list of available applications.
Run the ./ConfigEngine.sh enable-develop-mode-startup-performance -DWasPassword=foo task, from the WP_PROFILE/ConfigEngine, immediately after installing WebSphere Portal to develop portals and portlets. Then stop and restart the WebSphere_Portal server to propagate change.Prepare the remote Web server for developer mode. See the appropriate link below for information.
Run the ./ConfigEngine.sh disable-develop-mode-startup-performance -DWasPassword=foo task, from the WP_PROFILE/ConfigEngine, to revert back to a production server. Then stop and restart the WebSphere_Portal server to propagate change. You can run the disable-develop-mode-startup-performance task when you are done developing the portal and portlets, if the development settings are not adequate for a special development situation, or if a problem found on the production server cannot be recreated on the development server.
Parent
Change to developer mode
Related tasks
Prepare a remote Web server