PDA

View Full Version : AI Carriers Java error solved(for me at least)



Roger
June 23rd, 2009, 02:08
A post in Avsim's FsX forum showed the way http://forums1.avsim.net/index.php?showtopic=252685

The folder hierarchy works for Vista but I'm not sure if this applies to XP?

C:\windows\system32\drivers\etc

To elaborate a little, having found the "hosts" file I copied it to desktop and opened it in notepad and added the line "127.0.0.1 localhost" (without speech marks of course) then offered it back up to the "etc" folder and overwrote the original.
Works a treat!

This is how the hosts file should look in notepad after editing:

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

::1 localhost
127.0.0.1 localhost

jimjones
June 23rd, 2009, 02:34
Great that you found a solution. You certainly have had to persevere. Fortunately I did not have the problem, and don't have to use what seems a mysterious solution. Enjoy the Nimitz!!:jump:

Roger
June 23rd, 2009, 02:42
Thanks Jim:engel016:
Seems that a Windows update may have removed the host address!

A visitor from a different age...

http://i6.photobucket.com/albums/y203/rogera/nim-1.jpg

http://i6.photobucket.com/albums/y203/rogera/nim-2.jpg

peter12213
June 23rd, 2009, 12:42
what exactly should the file contents look like ive just added
::1 localhost
127.0.0.1 localhost
to the file and i'm seeing if it works now!<!-- / message --><!-- sig -->

Roger
June 23rd, 2009, 12:50
Peter,
That line "::1 localhost" was already there in my hosts file. The line I highlighted in fuchsia was the only line I added.

peter12213
June 23rd, 2009, 13:04
this was all i had in my host file...
127.0.0.1 localhost still its not working for me !! thaks for the help tho!

peter12213
June 23rd, 2009, 13:13
i'm going to add
# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

::1 localhost
127.0.0.1 localhost<!-- / message --><!-- sig -->

to my hosts file and try again may i ask what other files you found in your ect file?

chicken2690
June 24th, 2009, 09:13
This problem has driven me crazy for three months. I tried everything that was suggested and a few of my own thoughts without success. This worked for me and I am back in business in time to enjoy the new carriers frm Javier. Thanks Roger for finding this solution.
I really enjoy learning so much from the site so thanks to all for what you do to keep me flying happy.

Roger
June 24th, 2009, 10:04
This problem has driven me crazy for three months. I tried everything that was suggested and a few of my own thoughts without success. This worked for me and I am back in business in time to enjoy the new carriers frm Javier. Thanks Roger for finding this solution.
I really enjoy learning so much from the site so thanks to all for what you do to keep me flying happy.

Glad it's helped someone the same way it helped me:ernae:
As a matter of interest are you using Vista or XP?

chicken2690
June 24th, 2009, 10:09
I have Vista Home Premium 32 bit. I am going to check my Windows update history to see what I upgraded around Mar. 10-20 when I lost AICarriers

Roger
June 24th, 2009, 10:11
Thanks, same as me. It may well be a Vista 32 problem as I've seen some Vista 64 users with no problem.

Cheers,

Roger.

Henry
June 24th, 2009, 12:58
I have vista 32 but did not get that problem
well i got that problem but fixed it differently,
Strange!
glad you got it working
worth it isnt it:applause:
H

Roger
June 24th, 2009, 13:57
Henry,
Do you allow windows updates?

Henry
June 24th, 2009, 15:40
Henry,
Do you allow windows updates?
only if they are over 18:173go1:
no i do them manually
that way i trust my judgment on what i need
i have been burnt before
H

Roger
June 24th, 2009, 15:45
only if they are over 18:173go1:
no i do them manually
that way i trust my judgment on what i need
i have been burnt before
H

It seems it may have been a windows update in March this year, that wiped the "hosts" file clean in a misdirected attempt to shore up a loop hole against a possible attack.

Henry
June 24th, 2009, 16:00
It seems it may have been a windows update in March this year, that wiped the "hosts" file clean in a misdirected attempt to shore up a loop hole against a possible attack.
often i do not update those ones
H

Henry
June 24th, 2009, 16:06
Thinking more! thats about the time
my thumbnail dealy stopped working
it was not in the add on selection any more
i deleted it and tried to re install
but i could not
thats when i found the EXE.xml
was corrupt
H

Henry
June 24th, 2009, 16:11
i just checked mine
and it is
127.0.0.1 localhost
::1 localhost
is that what it should be?
H

Roger
June 24th, 2009, 16:20
Yep:engel016:

harleyman
July 8th, 2009, 14:22
I have Vista Home Premium 32 bit. I am going to check my Windows update history to see what I upgraded around Mar. 10-20 when I lost AICarriers




Now you get to start all over Don....LOL


But thats half the fun....

chicken2690
July 9th, 2009, 13:16
Hey Harleyman, it took a bit of time but all the carriers are installed and AICarriers2 is up and running. Whoopee!

GR27
July 15th, 2009, 09:26
A post in Avsim's FsX forum showed the way http://forums1.avsim.net/index.php?showtopic=252685

The folder hierarchy works for Vista but I'm not sure if this applies to XP?

C:\windows\system32\drivers\etc

To elaborate a little, having found the "hosts" file I copied it to desktop and opened it in notepad and added the line "127.0.0.1 localhost" (without speech marks of course) then offered it back up to the "etc" folder and overwrote the original.
Works a treat!

This is how the hosts file should look in notepad after editing:

# Copyright (c) 1993-2006 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

::1 localhost
127.0.0.1 localhost

Roger, i want to tell you somthing, i hope you will not get this the wrong way, but i think that you are @$$$%*&76#%$, i am sorry, i am just too excited to speak, let me try again, you know what i have one thing to say to you and it is:

THANK YOU VERY MUCH!

:jump::applause::icon_lol::wavey::ernae:

I have Vista 64 and finally it is working, thank you.

napamule
August 2nd, 2009, 21:35
And Henry (et all) make sure there is a LEAST 1 space after ISP numbers and 'localhost' text or it's mox nix (lots of simmers like to jam text together as a matter of habit). My 2 cents. :kilroy:
Chuck B
Napamule

GR27
August 18th, 2009, 08:39
Hi, unfortunately AICarriers2 is "gone" again, it worked fine after i add "127.0.0.1 localhost" to C:\windows\system32\drivers\hosts, but yesterday after i had an automatic update to my Vista 64bit i no longer see the AICarrier in the add-on menu in FSX, i went back to C:\windows\system32\drivers\hosts to see maybe the "127.0.0.1 localhost" was erased, but no, it is still there, any idea?
Thank you.

majorv
August 18th, 2009, 09:45
Hi, unfortunately AICarriers2 is "gone" again, it worked fine after i add "127.0.0.1 localhost" to C:\windows\system32\drivers\hosts, but yesterday after i had an automatic update to my Vista 64bit i no longer see the AICarrier in the add-on menu in FSX, i went back to C:\windows\system32\drivers\hosts to see maybe the "127.0.0.1 localhost" was erased, but no, it is still there, any idea?
Thank you.

Same thing happened to me - you probably installed REX 2.0 or some other add on which wiped out your exe.xml file. Just run the AICarriers2 installer again and you should be good to go. Good luck.

Major V

GR27
August 21st, 2009, 00:22
Same thing happened to me - you probably installed REX 2.0 or some other add on which wiped out your exe.xml file. Just run the AICarriers2 installer again and you should be good to go. Good luck.

Major V
Yep, you are right, it was probably REX 2.0, thank you for your help.
:gameon:

3/7charlie
August 21st, 2009, 20:39
Well, tried that fix. Reloaded AI Carriers, and no error message. And nothing in the addon tab. No sign of it at all. Tried putting AI C in users, c drive, FSX main folder, C:program files. In short, nada. Been looking for earlier posts, and cant find the info I need. To the point, where in the heck should AI Carriers be installed?