Creating or updating a global web server plug-in configuration file
If all of the application servers in a cell use the same web server to route requests for dynamic content, such as servlets, from web applications to application servers, you can create a global web server plug-in configuration file for that cell. The resulting plugin-cfg.xml file is located in the profile_root/config/cells directory.
Before you begin
제거된 기능: Topology-centric, also called global, configuration is
deprecated. Instead, use application-centric configuration, which is more flexible and provides
support for dynamic functions such as Intelligent Management. For more information, see 웹 서버 플러그인 구현.depfeat
문제점 방지: 토폴로지 중심(또는 글로벌) 플러그인 구성은
더 이상 사용되지 않습니다. 대신 웹 서버 플러그인 구현에 설명된 대로 애플리케이션 중심
구성을 사용하십시오. 기존 토폴로지 중심 구성의 경우, 관리 콘솔을 사용하거나 셀에 있는 모든 클러스터에 대해
GenPluginCfg 명령을 실행하여 글로벌 plugin-cfg.xml 파일을
업데이트할 수 있습니다. 그러나 글로벌 plugin-cfg.xml 파일을 업데이트하기 전에
config/cells/plugin-cfg.xml 파일을 삭제해야 합니다.
config/cells/plugin-cfg.xml 파일을 삭제하지 않는 경우,
새 특성 및 해당 값만 글로벌 plugin-cfg.xml 파일에 추가됩니다.
기존 플러그인 특성 값에 대한 업데이트는 글로벌 plugin-cfg.xml 파일에 추가되지 않습니다.gotchaAbout this task
To update the configuration settings for a global web server plug-in, you can either use the Update global web server plug-in configuration page in the administrative console, or issue the following command:
%was_profile_home%/config/cells/GenPluginCfg.sh|bat
Both methods for regenerating the global web server plug-in configuration create a plugin-cfg.xml file in ASCII format.
To use the Update global web server plug-in configuration page in the administrative console:
Procedure
Results
The delay is important because it determines how soon the new plug-in configuration takes effect. Suppose you add a new served path for a servlet, then regenerate the plug-in configurations. The regeneration requires 40 seconds, after which a user should be able to access the servlet by the new served path.
For an HTTP plug-in, the length of the delay is determined by the Refresh Interval attribute of the Config element in the plugin-cfg.xml file. The plug-in polls the disk, or file system, at this interval to see whether the configuration has changed. The default interval is 60 seconds. To regenerate the plug-in configuration requires twice the refresh interval.
In a development environment in which you are frequently changing settings in the administrative console, it is recommended that you set the refresh interval to 3 to 5 seconds.
In a production environment, set a longer refresh interval, perhaps as long as 30 minutes, depending on the frequency of changes.
What to do next
You might need to stop the application servers in the cell and then start the application servers again before the changes to the plug-in configuration go into effect.
If the web server is running on a remote machine, click View or download the current web server plug-in configuration file to download a copy of the plugin-cfg.xml file to a that machine.
![[IBM i]](../images/iseries.gif)
![[AIX Solaris HP-UX Linux Windows]](../images/dist.gif)
태스크 주제