How to Change Weblogic Domain MODE to Production and Development
Last week i experienced a little task to change the "Production mode" settings to TRUE in weblogic domain. Setting up the mode to true was easy and straight forward but a little trick comes where for some reasons we had to rollback that change to test some issues.
If you want to know what are the differences between the two modes check this post
To configure all servers in a domain to run in production mode:
You can see the settings on the following screen shot after making change you should be able to see the following messages in log files.
So here are the steps to configure all servers in a domain back to development mode. Weblogic server stores its information in a configuration file.
Last week i experienced a little task to change the "Production mode" settings to TRUE in weblogic domain. Setting up the mode to true was easy and straight forward but a little trick comes where for some reasons we had to rollback that change to test some issues.
If you want to know what are the differences between the two modes check this post
To configure all servers in a domain to run in production mode:
- Login to Weblogic Console
- In the left pane of the WebLogic Console, under Domain Structure, select the domain name.
- Select Configuration > General and select the Production Mode checkBOX.
- Click Save, and then, to activate these changes, in the Change Center, click Activate Changes.
- Start and stop any servers that are currently running.
You can see the settings on the following screen shot after making change you should be able to see the following messages in log files.
Reminder: Once the mode set to PRODUCTION you cannot change it from Weblogic Console
So here are the steps to configure all servers in a domain back to development mode. Weblogic server stores its information in a configuration file.
- Stop the servers running in a domain.
- Open the config.xml file location under MIDDLEWARE_HOME/domains/domain_name/config
- Change the production-mode entry to false and save the file and exit
- Start all servers you should be able to see the following message on console.
No comments:
Post a Comment