Install > Installing WebSphere Commerce > Installing WebSphere Commerce using the custom installation > Create a WCS instance > Mandatory post-instance creation tasks
Remote Web server post-instance creation tasks
If the Web server is installed on a different node from WebSphere Commerce and WebSphere Commerce Payments, do the following on the Web server node after creating an instance.
- Install the WAS Web server plug-in.
- Enable SSL on the Web server node.
- Copy plugin-cfg.xml to Web server.
- Create the following directory on the Web server node...
WC_PROFILE/installedApps/cell_name
Set WC_PROFILE to be the same on both the Web and Commerce nodes.
- Copy the following directory from the WebSphere Commerce node to the Web server node:
WC_PROFILE/installedApps/cellinstance
- Verify that the full paths on the Web server node and the WebSphere Commerce node are the same.
- On Windows, remove any JSP and JAR files from the WC_instance.ear directory on the Web server.
Only static-content files should be in the WC_instance.ear directory on the Web server.
- On the Web server machine, verify that read and execute permissions are correct on all files and directories in...
WC_PROFILE/installedApps/
- Update the Web server machine with a new Stores.war file every time you perform an action that updates the static Web content inside the application, for example...
- Store Publishing
- Upload Logo
Stores.war is located in...
WC_PROFILE/installedApps/cell_name/WC_instance.ear/Stores.war
- Verify the path to this file is the same on the Web server node and the WebSphere Commerce node.
Remove any JSP and JAR files from the WC_instance.ear directory on the Web server. Only static-content files should be in this directory on the Web server.
- Verify the Web server read and execute permissions on all files and directories in the WC_PROFILE/installedApps/ directory on the Web server machine are correct.
If the permissions on the files and directories are incorrect, you might not be able to access WebSphere Commerce.
- Remove any JSP and JAR files from the WC_instance.ear directory on the Web server. Only static-content files should be in the WC_instance.ear directory on the Web server.
- For Microsoft IIS users:
- On the WebSphere Commerce node copy file:
WC_INSTALL/config/deployment/webserverconfig/IIS/addCommerceAliases.js
...to any directory on the remote IIS node. This directory is denoted by IISdir.
- On the remote IIS node, check the contents of file IISdir/addCommerceAliases.js.
Verify all aliases and paths are correct.
- On the remote IIS node, start a command prompt session and issue the following command:
cscript.exe IISdir/addCommerceAliases.js
This will add all the necessary aliases to the Microsoft IIS Web server configuration for WebSphere Commerce and WebSphere Commerce Payments.
If you receive message...
Input Error: There is no script engine for file extension ".JS"...refer to technote 1172559 to resolve the error. Attempt the cscript again.
- Edit
WC_PROFILE/properties/soap.client.props...and change com.ibm.SOAP.requestTimeout from the default value of 180 to 6000.
- Copy...
plugins/bin/configureweb_server_name.sh
plugins/bin/configureweb_server_name.bat...in the Web server install directory to...
WAS_HOME/bin...on the application server
If the Web server and WAS are on different platforms, then the configureweb_server_name script must be copied from...
plugins/bin/crossPlatformScripts...on the Web server rather than from the plugins/bin directory.
- Start the WebSphere Commerce server.
- Run the script file you copied:
WAS_HOME/bin/configureweb_server_name.sh -user configAdminUser -password configAdminPassword
- Stop and restart the Web server.