Windows

Troubleshooting: Warnings issued when creating an instance with the config_ant.bat command

Warnings display when you create an instance in a WebSphere Commerce installation directory that contains spaces.

Problem

These warnings are issued when creating an instance using the following command:

config_ant.bat -DinstanceName=instance_name CreateInstance

Several warnings are logged in the following log file:

WC_installdir/instances/instance_name/logs/creatInstanceANT.log

For example, the warnings are similar to the following message:

WC_installdir\config\deployment\xml\filename.xml could not be found.

These warnings can also be issued if you use these commands to create your instance:

config_ant.bat -DinstanceName=
instance_name PrepareDeployment
config_ant.bat -DinstanceName=
instance_name PreInstanceCreation
config_ant.bat -DinstanceName=
instance_name ConfigureDatabase
config_ant.bat -DinstanceName=
instance_name ConfigureCommerceServer
config_ant.bat -DinstanceName=
instance_name ConfigureCommerceServer_400QI
config_ant.bat -DinstanceName=
instance_name ConfigureWorkspaceComponent
config_ant.bat -DinstanceName=
instance_name RegisterInstance
config_ant.bat -DinstanceName=
instance_name ConfigureWebServer
config_ant.bat -DinstanceName=
instance_name ChangeIHSPermission
config_ant.bat -DinstanceName=
instance_name CreateHTTPService
config_ant.bat -DinstanceName=
instance_name PostInstanceCreation
config_ant.bat -DinstanceName=
instance_name StopWAS
config_ant.bat -DinstanceName=
instance_name RunStats
 

If you are running these commands, the warning messages appear in the terminal window and are not logged in a log file.

Solution

Create your instance in a directory that does not contain spaces.