Troubleshoot: Error message - No such file or directory

When enabling a feature on your WebSphere Commerce instance, an error indicating a missing file or directory, is displayed.

 

Problem

You receive the following error when enabling a feature:

----
Buildfile:
/opt/IBM/WebSphere/CommerceServer60/components/common/xml/enableFeature.xml

EnableFeature:
CheckPrereqInst:
[CheckFeaturePrerequisite] checking file system ...
[CheckFeaturePrerequisite] java.io.FileNotFoundException:
 /opt/IBM/WebSphere/CommerceServer60/components/${featureName}/xml/prereq.xml
(No such file or directory)




 

Solution

This error is caused by a typo in parameter -DfeatureName of the config_ant command. For example, -Dfeaturename might have been entered instead of -DfeatureName. Enable the feature again specifying the correct -DfeatureName information.

This error message can also occur if you enter the wrong feature name. Ensure you enter the correct feature name.

 

Related Concepts


WebSphere Commerce feature packs

 

Related tasks


Enabling features
Disable features

 

Related Reference


Troubleshoot: WebSphere Commerce feature pack issues
Troubleshoot: WebSphere Commerce feature enablement issues