Wednesday, February 22, 2012

Enabling Developer Mode in IBM WebSphere Portal 7

Hello Friends,

The server start up time can be reduced to half when you enable developer mode in websphere portal 7.When portlet application application is developed on your local box it is very annoying to wait for server startup taking 15 to 20 minutes. IBM WebSphere portal version 7 facilitates a developer to start the server in a Developer mode.

This setting will disable non-essential applications from started when the server starts.  In the event that one of these applications are required after the server has started WebSphere will lazy load the application.  From the end users view this means that the first time someone tries to render a portlet they could receive a portlet unavailable message.  In the background the application will be started and the next time the user renders the portlet the application will be available.  Without a lot of custom applications, enabling developer mode can improve the startup time by about 50%.

Here are the steps to enable developer mode:

1.      Stop the server
2.      Go to <portalserver_root>\wp_profile\ConfigEngine
3.      Execute the following command
a.       ConfigEngine.bat enable-develop-mode-startup-performance
4.      Start the server


Steps to disable Developer Mode

1.      Stop the server
2.      Go to  <portalserver_root>\wp_profile\ConfigEngine
3.      Execute the following command
a.       ConfigEngine.bat disable-develop-mode-startup-performance
4.      Start the server


Trust me, as a developer you will save a lot of time!

Thanks,
Chirag.



5 comments:

  1. This definitely reduced the server start up time by 50%.

    ReplyDelete
  2. Ecorptrainings.com provides WEBSPHERE Dev in hyderabad with best faculties on real time projects. We give the best online trainingamong the WEBSPHERE Dev in Hyderabad.
    Classroom Training in Hyderabad India

    ReplyDelete
  3. Even though it saves start time, but I would never recommend any one to turn on development mode since it may cause some expected issues at your virtual portal end

    ReplyDelete
  4. Very interesting article I feel very enthusiastic while reading and the information......................................Please Contact us we are giving best training on Oracle Fusion Procurement Course

    ReplyDelete