[jboss-user] [Beginners Corner] - Re: JBOSS run Error

HonoHsu do-not-reply at jboss.com
Wed Jul 16 04:32:13 EDT 2008


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.


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4164677#4164677

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4164677



More information about the jboss-user mailing list