Enabling development mode

Enabling development mode activates portlets and web applications on the first access and not at the start-up. It also switches Java™ Virtual Machine (JVM) heap size to maximum to reduce the amount of garbage collection during start up.

Before you begin

You need a new WebSphere® Portal V6.1 or V6.1.0.x on WebSphere Application Server V7.0 or WebSphere Portal V7.0 installed.

About this task

This task tunes IBM® WebSphere® Portal for development and improves the start-up performance. This task is for development only and is not appropriate for production environments.

Procedure

To enable development mode:

  1. Open the Rational® Application Developer.
  2. In the servers view, create a new server instance of a local server.
  3. Stop the server if already started.
  4. Right-click on the server and select the Developement Mode > Enable.
  5. The Enable Development Mode dialog box appears, click Yes. This will execute the following script in the background: ConfigEngine.bat enable-develop-mode-startup-performance -DWasPassword=password task from the wp_profile_root\ConfigEngine directory.

What to do next

After developing the portal and portlets, disable the development mode startup performance task for the following reasons:
  • if the development settings are inadequate for a special development situation.
  • if a problem found on the production server cannot be recreated on the development server.
Run the following task to revert back to a production server and to disable the development mode:
  1. Open the Rational Application Developer.
  2. In the Servers view, create a new server instance of a local server.
  3. Stop the server if already started.
  4. Right-click on the server and select the Developement Mode > Disable.
  5. The Disable Development Mode dialog box appears, click Yes. This will execute the following script in the background: ConfigEngine.bat disable-develop-mode-startup-performance -DWasPassword=password task from the wp_profile_root\ConfigEngine directory.

Feedback