httpPluginManagement.py script
Use the httpPluginManagement.py script to generate a new plugin-cfg.xml file for an application.
The httpPluginManagement.py script cannot be used to generate a global plug-in configuration. To generate global plug-in configuration, use the GenPluginCfg command.
The httpPluginManagement.py script is in the app_server_root/bin directory. Before running this script, ensure that we configured the WAS_HOME environment variable to point to the WebSphere directory.
Operations
Perform the following operations with the httpPluginManagement.py script:
- generatePlugin <dmgrRoot> <cellName> nodeName <webServerName>
Generates a new plug-in based on the supplied arguments.
Argument Description <dmgrRoot> Absolute path to the deployment manager profile directory. (String, required) <cellName> Name of the cell containing the web server to be configured. (String, required) nodeName Name of the node containing the web server to be configured. (String, required) <webServerName> Name of the web server to be configured. Example:
./wsadmin.sh -user <userID> -password <password> -f httpPluginManagement.py -lang jython generatePlugin <dmgrRoot> <cellName> nodeName <webServerName>- propagatePlugin <dmgrRoot> <cellName> nodeName <webServerName>
Propagates the web server plug-in to the defined location.
Argument Description <dmgrRoot> The absolute path to the deployment manager profile directory. (String, required) <cellName> Name of the cell containing the web server to be configured. (String, required) nodeName Name of the node containing the web server to be configured. (String, required) <webServerName> Name of the web server to be configured. Example:
./wsadmin.sh -user <userID> -password <password> -f httpPluginManagement.py -lang jython propagatePlugin <dmgrRoot> <cellName> nodeName <webServerName>- setDmgrPluginTrace
Enables tracing for generating the plug-in.
Example:
./wsadmin.sh -user <userID> -password <password> -f httpPluginManagement.py -lang jython setDmgrPluginTrace- removeDmgrPluginTrace
Disables tracing for generating the plug-in.
Example:
./wsadmin.sh -user <userID> -password <password> -f httpPluginManagement.py -lang jython removeDmgrPluginTrace
GenPluginCfg command