Troubleshoot: 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 CreateInstance


Several warnings are logged in the:

WC_installdir/instances/instance/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 PrepareDeployment
config_ant.bat -DinstanceName=
instance PreInstanceCreation
config_ant.bat -DinstanceName=
instance ConfigureDatabase
config_ant.bat -DinstanceName=
instance ConfigureCommerceServer
config_ant.bat -DinstanceName=
instance ConfigureCommerceServer_400QI
config_ant.bat -DinstanceName=
instance ConfigureWorkspaceComponent
config_ant.bat -DinstanceName=
instance RegisterInstance
config_ant.bat -DinstanceName=
instance ConfigureWebServer
config_ant.bat -DinstanceName=
instance ChangeIHSPermission
config_ant.bat -DinstanceName=
instance CreateHTTPService
config_ant.bat -DinstanceName=
instance PostInstanceCreation
config_ant.bat -DinstanceName=
instance StopWAS
config_ant.bat -DinstanceName=
instance 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.

 

Related Reference


Troubleshoot: WebSphere Commerce installation issues
Troubleshoot: WebSphere Commerce configuration issues
Troubleshoot: WebSphere Commerce general issues
Troubleshoot: WAS issues