The GenPluginCfg command is used to regenerate the WebSphere Web server plug-in configuration file, plugin-cfg.xml.
For more information about where to run this command, see the Using command tools article.
app_server_root/bin/GenPluginCfg.sh|bat
app_server_root/bin/GenPluginCfg
app_server_root/bin/GenPluginCfg.sh
Both methods for regenerating the plug-in configuration
create a plugin-cfg.xml file in ASCII format, which
is the proper format for execution in a distributed environment.
This method for regenerating the plug-in configuration
creates a plugin-cfg.xml file in UTF-8 format, which is the
proper format for execution in a z/OS environment.
This method for regenerating the plug-in configuration
creates a plugin-cfg.xml file in ASCII format, which is the
proper format for execution in a z/OS environment.
You can use the -profileName option
to define the profile of the application server process in a multi-profile
installation. The -profileName option is not required
for running in a single profile environment. The default for this
option is the default profile.
When the GenPluginCfg command is issued with the option -webserver.name webservrName, wsadmin generates a plug-in configuration file for the Web server. The settings in the generated configuration file are based on the list of applications that are deployed on the Web server. When this command is issued without the option -webserver.name webservrName, the plug-in configuration file is generated based on topology.
The following options are available for the GenPluginCfg command:
To generate a plug-in configuration for all of the clusters in a cell:
GenPluginCfg -cell.name NetworkDeploymentCell
GenPluginCfg.sh -cell.name NetworkDeploymentCell
To generate a plug-in configuration for a single server:
GenPluginCfg -cell.name BaseApplicationServerCell -node.name appServerNode -server.name appServerName
GenPluginCfg.sh -cell.name BaseApplicationServerCell -node.name appServerNode -server.name appServerName
To generate a plug-in configuration file for a Web server:
GenPluginCfg -cell.name BaseApplicationServerCell -node.name webserverNode -webserver.name webserverName
GenPluginCfg.sh -cell.name BaseApplicationServerCell -node.name webserverNode -webserver.name webserverName