java.rmi.ConnectException: Connection refused to host:
I have installed Borland Enterprise Server, Nokia Mobile Server Services SDK and the SDK library 1.0.1.
I am able to commence the Borland Enterprise Server but when I attempt to run http://<<computer_name>>/sadk/applet.html the applet begins to load and displays an error:
"Connection refused to host: <<computer_name>>; nested exception is..."
"java.rmi.ConnectException: Connection refused to host: <<computer_name>>; nested exception is: java.net.ConnectException: Connection refused: connect"
What is causing the exception????
I am running on Windows XP Professional and am running a LAN at home with my computer being the gateway to the Internet for the other computer.
I have installed C:\jdk1.3.1_07 and have set up my environment variables as follows:
JAVA_HOME=C:\jdk1.3.1_07
PATH=C:\jdk1.3.1_07\bin;<<SYSTEM_STUFF>>C:\BorlandEnterpriseServer\bin
I have no CLASSPATH currently set
Can anyone please tell me what is causing the exception above?
I had a similar problem when I first installed everything. You have to go with all of the BES and Nokia defaults except for the option to include the BES bin directory in your path - change this to yes, and then you should be fine. If you don't go with the default server name, then the link can't find the applet. Alternatively, you can do a search for applet.html and launch it yourself but you may encounter other problems later on - I found re-installing with all bar one (bin in path) of the defaults worked for me.
I have tried installing and re-installing Borland Enterprise Server, Nokia Mobile Server Services SDK and the SDK library 1.0.1 several times with and without defaults and have once again tried as you have stated to allow BES to include the BES bin directory in your path but it still does not work.
I am thinking that there may be a problem due to the LAN settings. My computer is using 2 NIC cards and is the gateway to the Internet for the other computer. Both computers are running Windows XP with recent clean installs and the second computer is a laptop. I'm not sure if this helps at all.
I'm using Windows XP, and it works fine. Perhaps the fact that your machine is the gateway to the Internet for another computer is causing the problems?
I have tried disconnecting the network by physically removing the connecting NIC card and removed all references that I know of to the connection and I still get the same error!!!!
A friend of mine has Windows XP and had NO problems installing and running the emulator. He has no network at home and also has cable Internet.
I am getting extremely frustrated and do not know what to try next.
I have the same problem!
I'm using Windows 2000 with J2SDK 1.4.2_01
When I run Emulator GUI, the server has some exception: SocketException : write to socket error.....
then the client(applet) will show Connection refuse....
How can I run Emulator GUI?