Topic
  • 2 replies
  • Latest Post - ‏2010-12-10T19:16:48Z by DG39
SystemAdmin
SystemAdmin
37422 Posts

Pinned topic javax.naming.ConfigurationException: Cannot get canonical host name for ser

‏2009-07-10T15:29:28Z |
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
Updated on 2010-12-10T19:16:48Z at 2010-12-10T19:16:48Z by DG39
  • SystemAdmin
    SystemAdmin
    37422 Posts

    Re: javax.naming.ConfigurationException: Cannot get canonical host name for ser

    ‏2009-07-13T10:42:33Z  
    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:
    uname -n
    hostname -a
    hostname -s
    hostname -d
    hostname -f
    hostname

    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
    cheers Vasant
  • DG39
    DG39
    13 Posts

    Re: javax.naming.ConfigurationException: Cannot get canonical host name for ser

    ‏2010-12-10T19:16:48Z  
    Ustedes muy bien!!!

    You are greate with this issue....

    Thank u

    DG