Hi I ahve somehow installed WAS6.1 on fedora11 on the first steps when I am verifying my installation getting error
com.ibm.ws.exception.configurationError:javax.naming.ConfigurationException: Cannot get canonical host name for server.
Can some one please help me out in resolving this
Pinned topic javax.naming.ConfigurationException: Cannot get canonical host name for ser
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-12-10T19:16:48Z at 2010-12-10T19:16:48Z by DG39
SystemAdmin 110000D4XK37422 Posts
Re: javax.naming.ConfigurationException: Cannot get canonical host name for ser2009-07-13T10:42:33ZThis is the accepted answer. This is the accepted answer.hi the problem is resolved now need to change etc/hosts file for the host name.make sure below commands returning reasuls for you without any error to see if your host name is set correclty using the following commands:
then in your etc/hosts file go and amke chnages like below
127.0.0.1 <your_host_name> localhost
you can get the hostname by ruuning comaand hostname on your console