Windows

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

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

Problem

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

config_ant.bat -DinstanceName=instance_name RemoveInstance

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 remove your instance:

config_ant.bat -DinstanceName=
instance_name RemoveCommerceServer
config_ant.bat -DinstanceName=
instance_name RemoveJaasAuthData
config_ant.bat -DinstanceName=
instance_name RemoveDataSourceV5
config_ant.bat -DinstanceName=
instance_name RemoveJDBCProvider
config_ant.bat -DinstanceName=
instance_name RemoveVirtualHosts
config_ant.bat -DinstanceName=
instance_name UninstallEAR
config_ant.bat -DinstanceName=
instance_name RegeneratePlugin
config_ant.bat -DinstanceName=
instance_name UndoWebServerConfig
config_ant.bat -DinstanceName=
instance_name RemoveHTTPService
config_ant.bat -DinstanceName=
instance_name UnregisterInstance
config_ant.bat -DinstanceName=
instance_name RemoveInstanceDir

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

Solution

Contact WebSphere Commerce support.