Copying the plugin-cfg.xml file to Web server
If you are not using an IBM HTTP Server as your Web server, you must complete the following steps each time a change is made to the plugin-cfg.xml file to copy the plugin-cfg.xml file to the remote Web server.
Procedure
- Stop the Web server according the documentation that is provided with the Web server.
-
Copy the following file from the WebSphere Commerce node.
WebSphere Commerce in a clustered environment WAS_DM_profiledir/config/cells/cell_name/nodes/webserver_node/servers/webserver_name/plugin-cfg.xml WebSphere Commerce in a non- clustered environment WC_profiledir/config/cells/cell_name/nodes/
webserver_node/servers/webserver_name/
plugin-cfg.xmlTo determine where to paste the file, go to the Web servers section of WebSphere Application Server Administrative Console and click Propagate Plug-in. A message box displays with the location. For example:/usr/WebSphere/Plugins/config/webserver1
Overwrite any existing plugin-cfg.xml file on the Web server node.
Important: The plugin-cfg.xml file contains directory-specific information. If you do not copy the file to the exact same directory structure on the Web server node, the Web server does not function correctly and WebSphere Commerce becomes inaccessible. - Copy the following file on the WebSphere Commerce node
to the same location on the Web Server node:
WC_profiledir/config/cells/cell_name/nodes/node_name/servers/server_name/plugin-cfg.xml
Overwrite any existing plugin-cfg.xml file on the Web server node.
Important: The plugin-cfg.xml file contains directory-specific information. If you do not copy the file to the exact same directory structure on the Web server node, the Web server does not function correctly and WebSphere Commerce becomes inaccessible. -
Ensure that the path for the WebSphere Application Server
plug-in is shown correctly in the configuration files. The line in a configuration file for the
WebSphere Application Server plug-in resembles the following
text:
Init fn="as_init" bootstrap.properties="WAS_installdir/config/cells/plugin-cfg.xml"
Init fn="as_init" bootstrap.properties="WAS_installdir\config\cells\plugin-cfg.xml"
Note: For Microsoft Internet Information Services (IIS) users, the path for the WebSphere Application Server plug-in can be found in the plugin-cfg.loc file. For more information, see Configuring Microsoft Internet Information Services (IIS).If the path in the configuration files does not match the full path to the plugin-cfg.xml file on the Web server node, correct the path.
- Start the Web server according to the documentation that is provided with the Web server.