Ant target: SetServerProperties

SetServerProperties sets the application server properties such as JVM properties, custom properties, and dynamic cache properties for the WebSphere Commerce instance. You might use SetServerProperties to reset or recover the application server properties.

Important: This Ant target is to be used only as a part of WebSphere Commerce instance creation.

Called by

ConfigureCommerceServer

Prerequisites

  • The Administrative server must be running to run the ConfigureCommerceServer target and any subtargets.
  • The createInstance.properties file must exist for this Ant target to work. For information about generating the properties file, see Ant targets.

Required parameters

instance_name
The name of the WebSphere Commerce instance with which you are working (for example, demo).

Example

  • LinuxAIXFor IBM i OS operating systemWC_installdir/bin/config_ant.sh -DinstanceName=instance_name SetServerProperties
  • WindowsWC_installdir/bin/config_ant.bat -DinstanceName=instance_name SetServerProperties