- 
        1. Re: *VERY* strange EJB client problem !!!guy_rouillier Feb 26, 2002 5:31 PM (in response to cezz)That message indicates that you are trying to connect to your local system, NOT to a computer over the internet. 127.0.0.1 is localhost. Check jndi.properties. 
- 
        2. Re: *VERY* strange EJB client problem !!!cezz Feb 27, 2002 3:09 AM (in response to cezz)I know that, but I set the context in the client application like that : 
 Properties props = new Properties();
 props.put(Context.INITIAL_CONTEXT_FACTORY,
 "org.jnp.interfaces.NamingContextFactory");
 props.put(Context.PROVIDER_URL, "212.387.2.2:1099");
 Context ctx = new InitialContext(props);
 FirstHome home = (FirstHome)ctx.lookup("ejb/First");
 So you see i'm not tryin' to connect to my localhost.
 Please can you help ? thx
- 
        3. Re: *VERY* strange EJB client problem !!!cezz Feb 27, 2002 5:12 AM (in response to cezz)I solved this problem ! 
 i modified jboss.properties and i set the property :
 java.rmi.server.hostname=ip-of-the-server
 and now works perfectly
- 
        4. Re: *VERY* strange EJB client problem !!!laz777 Feb 27, 2002 7:03 PM (in response to cezz)Thanks for posting the solution when you found it. :) 
 It's really annoying to be searching the forums for a solution, but only finding the question with a "oh, I fixed it" message.
 If everyone did this there would be much less repeated posting of questions.
 -Todd
 
     
    