Thursday, April 25, 2013

Weblogic Enable & Disable Weblogic Production Mode From Admin Console

Weblogic Enable & Disable Weblogic Production Mode From Admin Console


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. 

 
---------------------------->>>>>>>
 
One way to change it is, by simply editing setDomainEnv.cmd which resides in $root_domain/bin folder.

1. 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.

No comments: