当前位置: 技术问答>java相关
怎样修改某个文件以便使weblogic6.1以developer mode方式运行?怎么使weblogic6.1自动重加载?
来源: 互联网 发布时间:2015-04-05
本文导语: 怎样修改某个文件以便使weblogic6.1以developer mode方式运行?怎么使weblogic6.1自动重加载? | Production Mode and Development Mode There is now a flag that can be used to switch between production and develop...
怎样修改某个文件以便使weblogic6.1以developer mode方式运行?怎么使weblogic6.1自动重加载?
|
Production Mode and Development Mode
There is now a flag that can be used to switch between production and development modes. When the server starts, it loads and deploys any applications that have configuration information in the config.xml file, whether you are using production or development mode. If you are running in development mode, the server will also deploy or redeploy any applications stored or placed in the ..applications directories after startup. This is called dynamic deployment and is useful when you are developing your applications. If you shut down the server, the configuration information for any applications that were dynamically deployed is written to the config.xml file in the application's domain. The production/development flag can be added to the startup script for your domain. If it is not added, development mode will be activated. To change the mode:
1. With a text editor, open the start script for your domain.
2. Edit the line that begins set STARTMODE= to add the value true or false. True is for production mode, and false is for development mode.
There is now a flag that can be used to switch between production and development modes. When the server starts, it loads and deploys any applications that have configuration information in the config.xml file, whether you are using production or development mode. If you are running in development mode, the server will also deploy or redeploy any applications stored or placed in the ..applications directories after startup. This is called dynamic deployment and is useful when you are developing your applications. If you shut down the server, the configuration information for any applications that were dynamically deployed is written to the config.xml file in the application's domain. The production/development flag can be added to the startup script for your domain. If it is not added, development mode will be activated. To change the mode:
1. With a text editor, open the start script for your domain.
2. Edit the line that begins set STARTMODE= to add the value true or false. True is for production mode, and false is for development mode.