您的位置:首页 > 其它

weblogic如何从生产模式恢复到开发模式

2014-05-29 15:16 253 查看
1、weblogic9.2

首先,找到*:\bea\user_projects\domains\mydomain\config\config.xml文件中<production-mode-enabled>true</production-mode-enabled>;

其次,修改true为false,重启即可;

2、weblogic8.1

首先,找到d:\bea\user_projects\domains\mydomain80\startWebLogic.cmd文件中set PRODUCTION_MODE=true;

其次,修改true为false,重启即可;

weblogic 开发模式与产品模式有何区别?

就是这一段

@rem Set Production Mode. When set to true, the server starts up in production mode. When

@rem set to false, the server starts up in development mode. The default is false.

set STARTMODE=true

---------------------------------------------------------------

据weblogic技术工程师说,产品模式是为保证速度快放在指定目录下,他的包不会自动更新。开发模式是比较自由的,它保证开发灵活性,随便把它扔哪里都会自动更新,这样会影响速度。一般地开发好的产品,都给客户用产品模式部署。

---------------------------------------------------------------

You can start your domain in one of two modes, development or production. You use development mode while you are developing your applications. Development mode uses a relaxed security configuration and allows you to auto-deploy
applications. You use production mode when your application is running in its final form. A production domain uses full security and may use clusters or other advanced features.

---------------------------------------------------------------

开发模式下,主要是为了满足用户的应用经常变化的需求,server会自动刷新你的应用,可以立即看到更改的最新页面,但是这样就会影响效率。所以,在正式运行的环境,一般应用变化较少,建议选择产品模式提高性能。

---------------------------------------------------------------

开发模式下支持热部署,同时启动的速度慢,运行性能不如产品模式。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: