Friday, December 2, 2011

Change WebLogic Server Mode from Development to Production and JDK Mode from Client to Server

What does it take to change WebLogic 10.3.x server mode from development to production?

You quickly search on the Internet and quickly land to documentation such as here: . The doc says you just need to go to the WebLogic Console to do it. That is easy, right?

But then the next link or so you may found a blog like , which says you need to set some Java parameter to make that happen.

So, which one is right?

Well, the truth of the matter is, to completely change a server from Development to Production Mode, two things need to happen:

  1. From Console -> Domain -> Production mode, check the Production Mode check box. This change will go into config.xml
  2. In, set PRODUCTION_MODE=true.
You will notice that if you only do #1, the Java will still start with "-client" option. Only when both of these settings are done, the server will start with ‘-server’ in its Java command line.

For differences between Development mode and Production mode, please refer to for details.

No comments:

Post a Comment