+

Search Tips   |   Advanced Search

GenPluginCfg command

The GenPluginCfg command is used to regenerate the WebSphere web server plug-in configuration file, plugin-cfg.xml.

CAUTION: Regenerating the plug-in configuration can overwrite manual configuration changes that we might want to preserve. Before performing this task, review Implement a web server plug-in.

Topology-centric, or global, plug-in configuration is deprecated. Instead, use application-centric configuration as described in Implement a web server plug-in. For any existing topology-centric configuration, we can update the global plugin-cfg.xml file using the administrative console or running the GenPluginCfg command for all of the clusters in a cell.

Before updating, must delete the global plugin-cfg.xml file...

If we do not delete, only the new properties and their values are added to the global plugin-cfg.xml file. Any updates to existing plug-in property values are not added to the global plugin-cfg.xml file.

Because the GenPluginCfg command runs within its own Java virtual machine (JVM) instead of the WAS JVM, the command might not be able to access other class files. If we encounter this problem when running the GenPluginCfg command, we can instead run the httpPluginManagement.py script to generate application-centric plug-in configuration. This script uses wsadmin to initiate the plug-in generation. For more information, see httpPluginManagement.py script.


Syntax

To regenerate the plug-in configuration, use the following methods:

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 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.


Parameters

The following options are available for the GenPluginCfg command:


Usage scenario

To generate a plug-in configuration for all of the clusters in a cell:

(Dist)

(iSeries) (ZOS)

To generate a plug-in configuration for a single server:

(Dist)

(iSeries) (ZOS)

To generate a plug-in configuration file for a web server:

(Dist)

(iSeries) (ZOS)


  • Use command-line tools