This content has been marked as final.
Show 1 reply
-
1. Re: Swing Client ERROR :javax.naming.CommunicationException
mjreged Nov 16, 2005 9:40 AM (in response to mjreged)OK i found something about that in another forum,
Running Linux distros can create the problem
This problem will mainly happen on redhar based linux distros (not suse etc thou, only those directly based on RH like centos etc)
You need to update your hosts file. By default you will have an entry for 127.0.0.1 with your hostnames next to it like follows:
127.0.0.1 myserver.server.com myserver localhost localhost.localdomain
you need to add a line for your local ip address also and then move your hostnames to it, leaving the localhost entries on 127.0.0.1 like such:
127.0.0.1 localhost localhost.localdomain
192.168.100.1 myserver.server.com myserver
Then restart jboss. It will now bind to both 127.0.0.1 and the 192 (or other) address allowing you to access it from remote machines.
I don't know yet myself if that's the cause of the problem for me
I am Running Ubuntu Linux 5.10 on 2.6.14 kernel
JBoss 4.0.3 sp1
i will look into this next