Troubleshoot and support > Install > WebSphere Commerce configuration issues


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_INSTALL/instances/instance/logs/creatInstanceANT.log.

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

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

These warnings can also be issued if you use these commands to create the 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 the instance in a directory that does not contain spaces.


+

Search Tips   |   Advanced Search