Ensure you enable the WebSphere® Commerce
Server feature pack before you create a WebSphere Commerce Server instance.
Procedure
- Ensure that WebSphere Commerce
Server is already started. You can do this by running the serverStatus.sh
server1 command from the WebSphere Commerce Server bin directory,
for example, /opt/IBM/WebSphere/AppServer70/profiles/AppSrv01/bin.
If it is not started, you can start it by running the startServer.sh
server1 command.
- Run the following command to enable the feature pack:
config_ant.sh -buildfile WC_installdir/components/common/xml/enableFeature.xml
-DinstanceName=instance_name
-DfeatureName=foundation
-DdbUserPassword=db_password [-DdbaPassword=dba_password]
[-DSolrWASAdminUser = solr_wasadminuser]
[-DSolrWASAdminPassword = solr_wasadminpassword]
[-Dscchost=HostForScheduledJobs]
[search_server_config] [-DsearchPort=searchPort]
Example
For example, the command will look similar to the following:
config_ant.sh -buildfile /opt/IBM/WebSphere/CommerceServer70/components/common/xml/enableFeature.xml -
DinstanceName=mdmce_acm -DfeatureName=foundation -DdbUserPassword=<your_password>