Pages

Wednesday, November 9, 2011

Ensure that the host name is a fully qualified host name


Problem:

Installation of a Websphere Commerce fix pack or enabling / disabling features in a feature pack throws an error similar to the following

Ensure that the host name is a fully qualified host name.

Example below shows an error that I encountered while applying Fix pack 4 on Websphere Commerce v 7.0

PropCheck:

ApplyDBFixpack:

GenerateANTProperties:

BUILD FAILED
E:\IBM\WEBSPH~1\COMMER~1\components\Fixpack\xml\configureDatabaseFixpack.xml:66: The following error occurred while executing this line:
E:\IBM\WEBSPH~1\COMMER~1\components\Fixpack\xml\configureDatabaseFixpack.xml:389: Ensure that the host name is a fully qualified host name.

TO rectify this, first ensure that the system on which commerce is installed has a fully qualified hostname. To check this, follow the instructions in the link below


Step 2 is to check your instance xml file <<WC_InstallDir>>/instances/<<instancename>>/xml/<<instance>>.xml and search for “Webserver” section in the file and change the hostname to the fully qualified hostname rather than localhost (e.g. hostname.domain.com)

Reference


No comments:

Post a Comment