...
Frequently one encounters the following types of errors when the correct hostname is not set on the machine.
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
java.net.UnknownHostException: GEJUM-SOAServer02: GEJUM-SOAServer02 | ||
Code Block | ||
| ||
Trying to connect to JMS Provider [Name: FES - Primary URL: http://localhost:1847] |
The above kind of error occurs While the error above can be seen on the console, if the user checks the esberr.log file of the peer server in runtime data, the following error can be seen:
Code Block | ||
---|---|---|
| ||
fiorano. |
...
tifosi.common.TifosiException: GET_TOPIC_CONNECTION_FACTORY_ERROR :: URL = http://localhost:1847 ::
at fiorano.tifosi.provider.fioranoMQ.FioranoProvider.getTopicConnectionFactory(FioranoProvider.java:113)
at fiorano.tifosi.tr.JMSConnection.createTopicConnection(JMSConnection.java:315)
at fiorano.tifosi.tr.JMSConnectionManager.createTopicConnection(JMSConnectionManager.java:298)
Caused by: javax.naming.NamingException: Lookup failed for TCF named :: SERVICEPROVIDERPEERTCF. Reason : fiorano.jms.common.ConnectionFailedException: Kernel I/O error occurred :: Failed to establish connection with URL:http://localhost:1847;http://localhost:1848 and underlying cause:KERNEL_IO_ERROR [Root exception is fiorano.jms.common.ConnectionFailedException: Kernel I/O error occurred :: Failed to establish connection with URL:http://localhost:1847;http://localhost:1848 and underlying cause:KERNEL_IO_ERROR]
Caused by: fiorano.jms.common.ConnectionFailedException: Kernel I/O error occurred :: Failed to establish connection with URL:http://localhost:1847;http://localhost:1848 and underlying cause:KERNEL_IO_ERROR
at fiorano.jms.runtime.krpc.tcp.FioranoTCPConnectionHelper.a(FioranoTCPConnectionHelper.java:787)
at fiorano.jms.runtime.krpc.tcp.FioranoTCPConnectionHelper.a(FioranoTCPConnectionHelper.java:276)
Caused by: java.net.UnknownHostException: santosh: santosh: Name or service not known
at java.net.InetAddress.getLocalHost(InetAddress.java:1466)
at fiorano.jms.runtime.krpc.tcp.FioranoTCPConnectionHelper.a(FioranoTCPConnectionHelper.java:485)
Caused by: java.net.UnknownHostException: santosh: Name or service not known
at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
at java.net.InetAddress$1.lookupAllHostAddr(InetAddress.java:894) |
Code Block | ||
---|---|---|
| ||
javax.naming.NamingException: Lookup failed for object named :: PRIMARYQCF. Reason : fiorano.jms.common.ConnectionFailedException: Kernel I/O error occurred :: Failed_to_establish_connection_with_cause::_ {http://localhost.localdomain:1848;http://192.168.xxx.xxx:1847\}; |
Tip | ||
---|---|---|
| ||
Check whether 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 |
...
which contains lines of text consisting of an IP address in the first text field followed by one or |
...
more host names. Follow the steps below to modify the file. |
For Linux
To edit the hosts file present in the etc folder, perform the following actions:
To open the /etc/hosts file, open the terminal, switch to superuser and use the command:
Code Block gedit /etc/hosts
- In the hosts file that gets opened, locate your old hostname, which resembles one of the below lines:
- <ip_address> <your-old-hostname> <your-old-hostname>.<domain>
- <ip_address> <your-old-hostname>
- Replace the old hostname with the correct hostname and save the hosts file.
In the terminal, type the following:
Code Block hostname <new hostname>
To see if the hostname has been set properly, use the following command:
Code Block hostname -a
...
- Click on the Start button, right-click Computer, and then select Properties option.
- Under the Computer name tab click Change settings button.
- 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.
- Restart the system once it prompts to do so.
After it restarts, to check the hostname,
open command prompt by going to Start > Run and Enter "cmd".
check the hostname by executing the following command:
Code Block hostname
Anchor | ||
---|---|---|
|
...
If the user gets the following exceptions while adding Breakpoint from eStudio:
Code Block |
---|
javax.naming.NamingException: Lookup failed for object named :: PRIMARYQCF. Reason : fiorano.jms.common.ConnectionFailedException: Kernel I/O error occurred :: Failed_to_establish_connection_with_cause::_ {http://localhost.localdomain:1848;http://192.168.xxx.xxx:1847\}; |
Check whether 'hostname -i' gives the correct in-use IP address of the host, if it does not, modify /etc/hosts file to correct it.
Anchor | |||
---|---|---|---|
|
Anchor | ||||
---|---|---|---|---|
|
...