-
1. Re: JBOSS run Error
peterj Jul 15, 2008 12:44 PM (in response to honohsu)Please post the contents of your /etc/hosts file.
Also, which Linux distro, and version, are you using?
(You could also search the forums for the exception - I know this problem has been answered many times before.) -
2. Re: JBOSS run Error
honohsu Jul 16, 2008 1:49 AM (in response to honohsu)Thanks Peter.
My linux version is:
Linux version 2.6.17.14
And the contents of /etc/hosts is:
# Do not remove the following line, or various programs
# that require network functionality will fail.
168.2.4.28 vernon.wang
127.0.0.1 localhost
Now I wanna using my machine as 192.168.41.203
SO, the error occured
BTW, I am serching the forums now. -
3. Re: JBOSS run Error
honohsu Jul 16, 2008 4:32 AM (in response to honohsu)I find the answer in the forums, and fix it.
Fix it as follow:
monk2005
Joined: Wed Mar 22, 2006 07:58 AM
Posts: monk2005
Location:
Posted: Thu May 24, 2007 14:29 PM Post subject: Re: hostname
--------------------------------------------------------------------------------
Finally solved!
1)
Make sure that your server OS host file does the accurate transilation
eg.
127.0.0.1 localhost
<external IP address> <computer name> <computer name with fully qualified domain name>
2) Make sure that your server jndi.properties file uses the following instead of localhost:1099
java.naming.provider.url=jnp://<computer name with fully qualified domain name>:1099
this should do it - have fun!
Back to top
monk2005
Joined: Wed Mar 22, 2006 07:58 AM
Posts: monk2005
Location:
Posted: Fri May 25, 2007 09:15 AM Post subject: Re: hostname
--------------------------------------------------------------------------------
One more thing I forgot to mention.
3) Start the server with -b option (bind address)
eg.
run -c <server name [if not given default]> -b <computer name with fully qualified domain name>
Laterz
Thanks peter again,
and thanks monk2005.