Monday, October 18, 2010

How to change from development mode to production mode

It is very simple. 

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.

Second Way -

Login to weblogic console
Select your domain name on left hand side
Select the Production option at right hand side
Restart the server

No comments:

Post a Comment