When you make changes to an application server, you must regenerate the Web server plugin configuration file to ensure that the correct set of requests are forwarded to the WebSphere Application Server - Express runtime. To regenerate the plugin configuration, follow these steps:
Use the administrative console to regenerate the Web server plugin configuration
Note: If you make manual updates to the plugin configuration file, those updates may be overwritten when you regenerate the file. To avoid overwriting your manual updates, make a backup copy of the plugin configuration file before your regenerate the file, then use its contents to manually update the configuration file after you regenerate it.
Use wsadmin to regenerate the Web server plugin configuration file
On the CL command line, run the STRQSH (Start Qshell) command.
Run the cd command to change to the directory that contains the wsadmin tool:
cd /QIBM/ProdData/WebASE/ASE5/bin
At the wsadmin prompt, run this command to identify the web server plugin configuraiton file generator MBean and assign it to the pluginGen variable:
set pluginGen [$AdminControl completeObjectName type=PluginCfgGenerator,*]
Run this command to generate the updated plugin configuration file:
$AdminControl invoke $pluginGen generate "/QIBM/UserData/WebASE/ASE5/instance/ /QIBM/UserData/WebASE/ASE5/instance/config myCell null null null"
where instance is the name of your application server instance and myCell is the name of the cell that contains your application server.
Note: This command has been wrapped for display purposes.
This example command invokes the generate operation on the MBean passing the instance directory, the configuration root directory, and the cell name.
Run this command to save your changes:
$AdminConfig save