weblogic生产模式恢复到开发模式

1、weblogic9.2/10
首先,找到*:\bea\user_projects\domains\mydomain\config\config.xml文件中true
其次,修改true为false,重启即可;
2、weblogic8.1
首先,找到d:\bea\user_projects\domains\mydomain80\startWebLogic.cmd文件中set PRODUCTION_MODE=true;
其次,修改true为false,重启即可;
3、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会自动刷新你的应用,可以立即看到更改的最新页面,但是这样就会影响效率。所以,在正式运行的环境,一般应用变化较少,建议选择产品模式提高性能。 
--------------------------------------------------------------- 
开发模式下支持热部署,同时启动的速度慢,运行性能不如产品模式。
请使用浏览器的分享功能分享到微信等