Weblogic Enable & Disable Weblogic Production Mode From Admin Console
You can enable / disable OR say switch from production to development or development to production mode either from Admin console or by editing the script.
To switch production mode from weblogic admin console
1. Login to weblogic console
2. Click on your domain name on left hand side
3. Select Configuration -> General tab on right hand side
4. select the "production mode" check box to enable production mode or don't for development mode & restart the admin server.
To update it from script
Go to your_domain/bin directory and set below parameter to true in setDomainEnv.sh/cmd
PRODUCTION_MODE="true"
export PRODUCTION_MODE
"false" value will set your domain to development mode.
Tags : weblogic change to development mode, weblogic change development to production mode, weblogic change to production mode, change weblogic domain development production, weblogic change development to production mode
This tells you how to enable production mode. But due to the wonders of Weblogic, disabling it is not so easy. It can't be done from the GUI.
ReplyDeleteProduction Mode
Specifies whether all servers in this domain run in production mode. Once enabled, this can only be disabled in the admin server startup command line.
Fromw WL Help:
MBean Attribute:
DomainMBean.ProductionModeEnabled
Changes take effect after you redeploy the module or restart the server.
One way to change it is, by simply editing setDomainEnv.cmd which resides in $root_domain/bin folder.
ReplyDelete1. Look for the line that sets the PRODUCTION_MODE script variable: set PRODUCTION_MODE
Add false to the value of the PRODUCTION_MODE variable to ensure the server starts in development mode:
Set true for starting in prod mode.
set PRODUCTION_MODE=false
2. Save your changes and exit the text editor.
Correct!!
ReplyDelete