httpPluginManagement.py script
Use the httpPluginManagement.py script to generate a new plugin-cfg.xml file for an application.
Note: The httpPluginManagement.py script cannot be used to generate a global
plug-in configuration. To generate global plug-in configuration, use the GenPluginCfg command.
Location
The httpPluginManagement.py script is in the app_server_root/bin directory. Before you run this script, ensure that you configured the WAS_HOME environment variable to point to your 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.
Table 1. Arguments Argument Description <dmgrRoot> Specifies the absolute path to the deployment manager profile directory. (String, required) <cellName> Specifies the name of the cell that contains the web server to be configured. (String, required) <nodeName> Specifies the name of the node that contains the web server to be configured. (String, required) <webServerName> Specifies the 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.
Table 2. Arguments Argument Description <dmgrRoot> Specifies the absolute path to the deployment manager profile directory. (String, required) <cellName> Specifies the name of the cell that contains the web server to be configured. (String, required) <nodeName> Specifies the name of the node that contains the web server to be configured. (String, required) <webServerName> Specifies the 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