Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleContents

Table of Contents

Setting the hostname 

Frequently one encounters the following types of errors when the correct hostname is not set on the machine.

Code Block
titleError 1:
Failed to lookup manageable properties. Cannot load environment specific properties. Reason Lookup failed for
object named :: PLAYERTRACKING2__1_0__OASISDB__MANAGEABLEPROPERTIES.
Reason : fiorano.jms.common.ConnectionFailedException: Kernel I/O error occurred
:: Failed to establish connection with URL:http://localhost:1867;http://10.160.128.73:1867;http://127.0.0.1:1867 and
underlying cause:KERNEL_IO_ERROR

12/07/2015 03:00:47 : SEVERE : Error doing lookup for configuration
Code Block
titleThe above error is caused by:
java.net.UnknownHostException: GEJUM-SOAServer02: GEJUM-SOAServer02
Code Block
titleError 2:
Trying to connect to JMS Provider [Name: FES - Primary URL: http://localhost:1847]

The above kind of error occurs when the correct hostname is not set in the FES machine and FPS is started.

...

 

The hosts file is used by the operating system to map hostnames to IP addresses. To set the hostname, one needs to modify the hosts file. The hosts file contains lines of text consisting of an IP address in the first text field followed by one or more host names.

For Linux

To edit the hosts file present in the etc folder, perform the following actions:

  1. To open the /etc/hosts file, open the terminal, switch to superuser and use the command:

    Code Block
    gedit /etc/hosts
  2. In the hosts file that gets opened, locate your old hostname, which resembles one of the below lines:
    1. <ip_address> <your-old-hostname> <your-old-hostname>.<domain>
    2. <ip_address> <your-old-hostname>
       
  3. Replace the old hostname with the correct hostname and save the hosts file.

  4. In the terminal, type the following:

    Code Block
    hostname <new hostname>
  5. To see if the hostname has been set properly, use the following command:

    Code Block
    hostname -a

For windows

The hosts file is present in C:\Windows\System32\Drivers\etc\hosts. To modify this, perform the following actions:

  1. Do any of the following to execute Run command:
    1. Go to Start > Run
    2. Press Windows key + R
  2. Open the hosts file present at C:\Windows\System32\Drivers\etc in a notepad using the command:

    Code Block
    notepad c:\windows\system32\drivers\etc\hosts
    Note

    User should have administrative rights to edit the hosts file.

  3. In the hosts file that gets opened, locate your old hostname which resembles one of the below lines:
    1. <ip_address> <your-old-hostname> <your-old-hostname>.<domain>
    2. <ip_address> <your-old-hostname>
    Code Block
    titleExample
    127.0.0.1 localhost
  4. Replace the old hostname with your correct hostname.
  5. Now that hosts have been edited, save the file.

To change the computer name, if required, perform the following actions:

  1. Click on the Start button, right-click Computer, and then select Properties option.
  2. Under the Computer name tab click Change settings button.
  3. In the Computer description text field,  type the correct hostname, and then click OK. If the computer is part of a domain,  provide the name and password of an account that has permission to rename the computer in the domain.
  4. Restart the system once it prompts to do so.
  5. After it restarts, to check the hostname,

    1. open command prompt by going to Start > Run and Enter "cmd".

    2. check the hostname by executing the following command:

      Code Block
      hostname

Anchor
_Toc364086625
_Toc364086625
Anchor
_Toc372741807
_Toc372741807
Hostname Resolution Issue

If the user gets the following exceptions while adding Breakpoint from eStudio:

...

Adaptavist ThemeBuilder EngineAtlassian Confluence