Running the instance creation command
Create your WebSphere Commerce instance silently by using Ant targets.
Before you begin
You must start the Configuration Manager server, then restart it before you
continue. This prerequisite step is necessary because the Configuration Manager server prepares some files under
WAS_userdir/instances/ that are needed by the instance
creation process. You can skip this step if the Configuration Manager server has already been restarted.
Procedure
- Log in as a user in the Administrators group.
- Log in as the non-root user.
- Log on to your IBM i system as a user with SECOFR class authority.
- Open a Command window.
- Open a command shell.
- Start a QSH session.
- Navigate to the WC_installdir/bin directory.
-
Run the following command:
- config_ant.bat -DinstanceName=instance_name [-DpasswordFile=passwordFile]
- ./config_ant.sh -DinstanceName=instance_name [-DpasswordFile=passwordFile]
- instanceName
-
The name of the WebSphere Commerce instance with which you are working (for example, demo).
- passwordFile
- Optional: The full path to the password properties file. The properties file can contain encrypted passwords that might be required when running the utility. For example, you can store encrypted database administrator (dbaPassword) or database user (dbUserPassword) passwords. Passwords that are entered on the command line take precedence over the passwords that are in the password file. For more information, see Changing config_ant utility password properties file.
-
Consider changing the default WebSphere Application Server isolation level.
Important: By default most WebSphere Commerce code runs database queries at specified isolation levels that are within safe tolerances for those individual queries. You can ensure optimal performance of your site by setting the default isolation level for WebSphere Application Server to
Cursor Stability
. For more information about how to set the default level of isolation for WebSphere Application Server, see Changing the default isolation level for non-CMP applications and describing how to do so using a new custom property webSphereDefaultIsolationLevel.